You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/05/26 01:32:55 UTC

[GitHub] [hudi] sunke38 commented on issue #5673: [SUPPORT]scala.MatchError for rename colum

sunke38 commented on issue #5673:
URL: https://github.com/apache/hudi/issues/5673#issuecomment-1138047204

   
   @xushiyan  I did this in spark shell ,so only code is 
   '''
   spark.sql("ALTER TABLE hudi_cow_pt_tbl RENAME COLUMN ts TO tts")
   '''
   here is the command for spark shell
   '''
   spark-shell
   --jars /home/kadm/module/hudi-0.11/packaging/hudi-spark-bundle/target/hudi-spark3.2-bundle_2.12-0.11.0.jar
   --packages org.apache.spark:spark-avro_2.12:3.2.1  --conf 'spark.serializer=org.apache.spark.serializer.KryoSerializer'
   --conf 'spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension'
   --conf 'spark.sql.catalog.spark_catalog=org.apache.spark.sql.hudi.catalog.HoodieCatalog'
   '''


-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org