This documentation is for an unreleased version of Apache Paimon. We recommend you use the latest stable version.
Clone From Hive
Clone Hive Table #
Clone Hive Table supports cloning hive tables with parquet, orc and avro formats. The cloned table will be append table.
Clone Hive Table #
<FLINK_HOME>/flink run ./paimon-flink-action-1.2-SNAPSHOT.jar \
clone_hive \
--database default
--table hivetable
--catalog_conf metastore=hive
--catalog_conf uri=thrift://localhost:9088
--target_database test
--target_table test_table
--target_catalog_conf warehouse=my_warehouse
Clone Hive Database #
<FLINK_HOME>/flink run ./paimon-flink-action-1.2-SNAPSHOT.jar \
clone_hive \
--database default
--catalog_conf metastore=hive
--catalog_conf uri=thrift://localhost:9088
--target_database test
--target_catalog_conf warehouse=my_warehouse