cshuo commented on issue #17658:
URL: https://github.com/apache/hudi/issues/17658#issuecomment-3688588278

   @bithw1 yes, I submit the job in sql-client.
   1. submit write sql, write some data into the hudi table. 
   `./bin/sql-client.sh -f examples/write.sql`
   2. submit read sql without savepoint.
   `./bin/sql-client.sh -f examples/read.sql`
   
   3. stop read job with savepoint.
   `./bin/sql-client.sh embedded`
   `STOP JOB '4c98d3fbc7c706424032f87c4424db27' WITH SAVEPOINT;`
   
   4. submit read sql with savepoint by adding `SET 'execution.savepoint.path' 
= 'file:/tmp/flink-savepoints/savepoint-xxx';`
   `./bin/sql-client.sh -f examples/read.sql`
   
   The content of `read.sql` was attached in above comment.


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