RussellSpitzer opened a new pull request #1525:
URL: https://github.com/apache/iceberg/pull/1525


   Previously the SparkUtil class provided an importSparkTable command but
   this command suffered from a few shortcomings. It had a difficult api and
   did not work directly with DSV2 Iceberg Catalogs. To provide a simpler 
interface
   that shares a similar pattern to currently available Spark Actions we 
introduce
   CreateActions and MigrateAction.
   
   Through this command we can both migrate a Table as well as make a snapshot
   of an existing table.
   
   General usage:
   
     CreateActions
       .createIcebergTable(spark, dest)
       .fromSourceTable(source)
       .withNewTableLocation(location)
       .execute()


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to