Skip to content

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

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

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

Conversation

@maomaodev

@maomaodevmaomaodev commented Apr 11, 2026

Copy link
Copy Markdown
Contributor

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
ContributorAuthor

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

@pan3793pan3793 added this to the v1.12.0 milestone Apr 13, 2026
@pan3793

Copy link
Copy Markdown
Member

thanks, merged to master

Sign up for freeto 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

@maomaodev@pan3793