LuPan2015 commented on issue #4474:
URL: https://github.com/apache/hudi/issues/4474#issuecomment-1002882980


   I tried it, but the following exception was still thrown。
   ```
   spark/bin/spark-sql --packages 
org.apache.hadoop:hadoop-aws:3.2.0,com.amazonaws:aws-java-sdk:1.12.22 --jars 
hudi-spark3-bundle_2.12-0.11.0-SNAPSHOT.jar \
      --conf 'spark.serializer=org.apache.spark.serializer.KryoSerializer' \
      --conf 
'spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension'
   ```
   ```
   spark-sql> create table default.hudi_mor_s32 (
            >   id bigint,
            >   name string,
            >   dt string
            > ) using hudi
            > tblproperties (
            >   type = 'mor',
            >   primaryKey = 'id'
            >  )
            > partitioned by (dt)
            > location 's3a://iceberg-bucket/hudi-warehouse/';
   ANTLR Tool version 4.7 used for code generation does not match the current 
runtime version 4.8ANTLR Tool version 4.7 used for code generation does not 
match the current runtime version 4.821/12/30 13:46:45 WARN MetricsConfig: 
Cannot locate configuration: tried 
hadoop-metrics2-s3a-file-system.properties,hadoop-metrics2.properties
   Error in query: Specified schema in create table statement is not equal to 
the table schema.You should not specify the schema for an exist table: 
`default`.`hudi_mor_s32`
   ```


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