monkeyboy123 commented on PR #44333:
URL: https://github.com/apache/spark/pull/44333#issuecomment-1855267099

   > Could you update your example with a working reproduction? This create 
table statement is invalid. It partitions on two columns `dt` and `hour` that 
do not exist in the column declaration. And the subsequent `select` is also 
invalid.; it's missing a table name.
    
   create table statement:
   ```CREATE TABLE `tableA`(
     `user_id` string COMMENT 'from deserializer')
   PARTITIONED BY ( 
     `dt` string COMMENT '日期, yyyyMMdd', 
     `hour` string COMMENT '小时, HH')
   ROW FORMAT SERDE 
     'org.apache.paimon.hive.PaimonSerDe' 
   STORED BY 
     'org.apache.paimon.hive.PaimonStorageHandler' 
   WITH SERDEPROPERTIES ( 
     'serialization.format'='1')
   LOCATION
     'xxxx'
   TBLPROPERTIES (
     'bucket'='50', 
     'bucketing_version'='2', 
     'bukect-key'='user_id', 
     'file.format'='parquet', 
     'merge-engine'='partial-update', 
     'partial-update.ignore-delete'='true', 
     'primary-key'='user_id', 
     'transient_lastDdlTime'='1701679855', 
     'write-only'='false')
   ```
   It is a Paimon table, but it does not matter.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to