Skip to content

Commit 490009d

Browse files
committed
SERDEPROPERTIES are missing when KSHC create table
1 parent 3d2060c commit 490009d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive

extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTableCatalog.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ class HiveTableCatalog(sparkSession: SparkSession)
450450
val (serdeProps, optionsProps) = properties
451451
.filterKeys(_.startsWith(TableCatalog.OPTION_PREFIX))
452452
.map { case (key, value) => key.drop(TableCatalog.OPTION_PREFIX.length) -> value }
453+
.toMap
453454
.partition { case (strippedKey, _) => properties.contains(strippedKey) }
454455
(optionsProps, serdeProps)
455456
}

0 commit comments

Comments
 (0)