File tree Expand file tree Collapse file tree
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -809,9 +809,9 @@ object HoodieSparkSqlWriter {
809809 }
810810
811811 private def extractConfigsRelatedToTimestampBasedKeyGenerator (keyGenerator : String ,
812- params : Map [String , String ]): Map [String , String ] = {
813- if (keyGenerator.equals( classOf [TimestampBasedKeyGenerator ].getCanonicalName) ||
814- keyGenerator.equals( classOf [TimestampBasedAvroKeyGenerator ].getCanonicalName)) {
812+ params : Map [String , String ]): Map [String , String ] = {
813+ if (classOf [TimestampBasedKeyGenerator ].getCanonicalName.equals(keyGenerator ) ||
814+ classOf [TimestampBasedAvroKeyGenerator ].getCanonicalName.equals(keyGenerator )) {
815815 params.filterKeys(HoodieTableConfig .PERSISTED_CONFIG_LIST .contains)
816816 } else {
817817 Map .empty
You can’t perform that action at this time.
0 commit comments