yihua commented on PR #6374:
URL: https://github.com/apache/hudi/pull/6374#issuecomment-1593436215

   > @fengjian428 @yihua I also encountered this problem. Is there a way to 
perform the upgrade normally without modifying the code? The following two 
methods can not work. hudi-cli set --conf hoodie.table.name=ods_api_test_case 
upgrade table --toVersion FOUR --sparkProperties /tmp/spark.cfg --sparkMaster 
local
   > 
   > spark-sql with hudi set hoodie.table.name=ods_api_test_case; call 
upgrade_table(table=>"bi_ods_real.ods_api_test_case_rt", to_version=>"FOUR");
   > 
   > 
![image](https://user-images.githubusercontent.com/15028279/246085549-c672c06b-160a-4ce2-817d-5cabab0832e6.png)
   
   Hi @zyclove if you rely on automatic table upgrade in Spark datasoure write 
or Deltastreamer, you should not encounter this problem.  Without changing the 
code, I think there's no way to make manual upgrade in CLI work.


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