njalan opened a new issue, #10154:
URL: https://github.com/apache/hudi/issues/10154

   I got below error message:
   
   Caused by: org.apache.hudi.hive.HoodieHiveSyncException: Failed in executing 
SQL ALTER TABLE `ods_xxx`.`xx` ADD IF NOT EXISTS   PARTITION 
(`xx`='__HIVE_DEFAULT_PARTITION__') LOCATION 'xxxx/__HIVE_DEFAULT_PARTITION__'
           at org.apache.hudi.hive.ddl.JDBCExecutor.runSQL(JDBCExecutor.java:70)
           at 
org.apache.hudi.hive.ddl.QueryBasedDDLExecutor.lambda$addPartitionsToTable$0(QueryBasedDDLExecutor.java:124)
           at 
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
           at 
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
           at 
org.apache.hudi.hive.ddl.QueryBasedDDLExecutor.addPartitionsToTable(QueryBasedDDLExecutor.java:124)
           at 
org.apache.hudi.hive.HoodieHiveSyncClient.addPartitionsToTable(HoodieHiveSyncClient.java:109)
           at 
org.apache.hudi.hive.HiveSyncTool.syncPartitions(HiveSyncTool.java:445)
           at 
org.apache.hudi.hive.HiveSyncTool.syncAllPartitions(HiveSyncTool.java:399)
           ... 69 more
   Caused by: org.apache.hive.service.cli.HiveSQLException: Error while 
compiling statement: FAILED: SemanticException [Error 10111]: Partition value 
contains a reserved substring (User value: __HIVE_DEFAULT_PARTITION__ Reserved 
substring: __HIVE_DEFAULT_PARTITION__)
   
   
   Environment Description
   
   Hudi version : 0.13.1
   
   Spark version : 3.0.1
   
   Hive version : 3.1
   
   Hadoop version : 3.2.2
   
   Storage (HDFS/S3/GCS..) :
   
   Running on Docker? no :


-- 
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]

Reply via email to