[ https://issues.apache.org/jira/browse/SPARK-28054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865006#comment-16865006 ]
Liang-Chi Hsieh commented on SPARK-28054: ----------------------------------------- I tested on Hive, the query works. Btw, the issue is also reproducible on current master. > Unable to insert partitioned table dynamically when partition name is upper > case > -------------------------------------------------------------------------------- > > Key: SPARK-28054 > URL: https://issues.apache.org/jira/browse/SPARK-28054 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.4.3 > Reporter: ChenKai > Priority: Major > > {code:java} > -- create sql and column name is upper case > CREATE TABLE src (KEY STRING, VALUE STRING) PARTITIONED BY (DS STRING) > -- insert sql > INSERT INTO TABLE src PARTITION(ds) SELECT 'k' key, 'v' value, '1' ds > {code} > The error is: > {code:java} > Error in query: > org.apache.hadoop.hive.ql.metadata.Table.ValidationFailureSemanticException: > Partition spec {ds=, DS=1} contains non-partition columns; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org