Skip to content

[KYUUBI #7398] SERDEPROPERTIES are missing when KSHC create table#7399

Closed
maomaodev wants to merge 7 commits intoapache:masterfrom
maomaodev:kyuubi-7398
Closed

[KYUUBI #7398] SERDEPROPERTIES are missing when KSHC create table#7399
maomaodev wants to merge 7 commits intoapache:masterfrom
maomaodev:kyuubi-7398

Conversation

@maomaodev
Copy link
Copy Markdown
Contributor

@maomaodev maomaodev commented Apr 11, 2026

Why are the changes needed?

  1. Execute the following SQL to create table and insert.
CREATE TABLE test_table (name STRING, age INT)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
WITH SERDEPROPERTIES ('field.delim' = ',')
STORED AS TEXTFILE;

INSERT INTO TABLE test_table VALUES ('alice', 30);
  1. Check the underlying HDFS data. Output is alice30, Expected is alice,30
hdfs dfs -cat /usr/hive/warehouse/test_table/part-00000-08cdc3f0-15af-413a-a709-46e24f1ace91-c000
  1. Cause: SERDEPROPERTIES are missing when KSHC create table, it did not strip the option. prefix. See: [SPARK-31257][SPARK-33561][SQL] Unify create table syntax spark#28026

How was this patch tested?

UT

Was this patch authored or co-authored using generative AI tooling?

No

@maomaodev
Copy link
Copy Markdown
Contributor Author

Gentle ping @pan3793 . Could you please review it again?
One of the checks failed, but it seems unrelated to this PR.

@pan3793 pan3793 added this to the v1.12.0 milestone Apr 13, 2026
@pan3793 pan3793 closed this in db2c291 Apr 13, 2026
@pan3793
Copy link
Copy Markdown
Member

pan3793 commented Apr 13, 2026

thanks, merged to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants