This is an automated email from the ASF dual-hosted git repository. lzljs3620320 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git
commit 268a4f28f881f049cd4ddf7010e3e977b89af014 Author: JingsongLi <[email protected]> AuthorDate: Fri Mar 17 19:38:38 2023 +0800 [core] Rename paimon from flink-table-store --- NOTICE | 2 +- README.md | 6 +- docs/content/engines/flink.md | 10 +-- docs/content/engines/hive.md | 20 +++--- docs/content/engines/spark2.md | 8 +-- docs/content/engines/spark3.md | 14 ++-- docs/content/engines/trino.md | 4 +- docs/content/filesystems/oss.md | 12 ++-- docs/content/filesystems/s3.md | 12 ++-- docs/content/how-to/creating-catalogs.md | 6 +- docs/content/how-to/writing-tables.md | 20 +++--- docs/content/maintenance/write-performance.md | 4 +- .../partials/docs/inject/content-before.html | 4 +- .../paimon-cluster-benchmark/README.md | 16 ++--- paimon-benchmark/paimon-cluster-benchmark/pom.xml | 10 +-- .../src/main/assemblies/bin.xml | 4 +- paimon-benchmark/paimon-micro-benchmarks/pom.xml | 12 ++-- paimon-benchmark/pom.xml | 8 +-- paimon-codegen-loader/pom.xml | 30 ++++---- .../org/apache/paimon/codegen/CodeGenLoader.java | 2 +- paimon-codegen/pom.xml | 12 ++-- paimon-common/pom.xml | 12 ++-- .../org/apache/paimon/plugin/PluginLoader.java | 3 +- paimon-core/pom.xml | 24 +++---- paimon-docs/pom.xml | 16 ++--- .../configuration/ConfigOptionsDocGenerator.java | 10 ++- .../ConfigOptionsDocsCompletenessITCase.java | 2 +- paimon-e2e-tests/pom.xml | 60 ++++++++-------- .../tests/FileStoreBuiltInFormatE2eTest.java | 2 +- .../apache/paimon/tests/FlinkActionsE2eTest.java | 8 +-- .../java/org/apache/paimon/tests/HiveE2eTest.java | 3 +- .../test/resources-filtered/docker-compose.yaml | 18 ++--- paimon-filesystems/paimon-hadoop-shaded/pom.xml | 8 +-- .../src/main/resources/META-INF/NOTICE | 2 +- paimon-filesystems/paimon-oss-impl/pom.xml | 16 ++--- .../src/main/resources/META-INF/NOTICE | 2 +- paimon-filesystems/paimon-oss/pom.xml | 22 +++--- .../main/java/org/apache/paimon/oss/OSSLoader.java | 2 +- paimon-filesystems/paimon-s3-impl/pom.xml | 12 ++-- .../src/main/resources/META-INF/NOTICE | 2 +- paimon-filesystems/paimon-s3/pom.xml | 22 +++--- .../main/java/org/apache/paimon/s3/S3Loader.java | 2 +- paimon-filesystems/pom.xml | 8 +-- paimon-flink/paimon-flink-1.14/pom.xml | 14 ++-- paimon-flink/paimon-flink-1.15/pom.xml | 14 ++-- paimon-flink/paimon-flink-1.16/pom.xml | 14 ++-- paimon-flink/paimon-flink-common/pom.xml | 20 +++--- paimon-flink/pom.xml | 28 ++++---- paimon-format/pom.xml | 16 ++--- paimon-format/src/main/resources/META-INF/NOTICE | 2 +- paimon-hive/paimon-hive-catalog/pom.xml | 28 ++++---- .../java/org/apache/paimon/hive/HiveCatalog.java | 2 +- .../src/main/resources-filtered/META-INF/NOTICE | 2 +- paimon-hive/paimon-hive-common/pom.xml | 12 ++-- .../paimon-hive-connector-2.1-cdh-6.3/pom.xml | 14 ++-- paimon-hive/paimon-hive-connector-2.1/pom.xml | 14 ++-- paimon-hive/paimon-hive-connector-2.2/pom.xml | 14 ++-- paimon-hive/paimon-hive-connector-2.3/pom.xml | 14 ++-- paimon-hive/paimon-hive-connector-3.1/pom.xml | 14 ++-- paimon-hive/paimon-hive-connector-common/pom.xml | 26 +++---- paimon-hive/pom.xml | 8 +-- paimon-shade/pom.xml | 32 ++++----- paimon-spark/paimon-spark-2/pom.xml | 14 ++-- paimon-spark/paimon-spark-3.1/pom.xml | 14 ++-- paimon-spark/paimon-spark-3.2/pom.xml | 14 ++-- paimon-spark/paimon-spark-3.3/pom.xml | 14 ++-- paimon-spark/paimon-spark-common/pom.xml | 10 +-- paimon-spark/pom.xml | 20 +++--- paimon-test-utils/pom.xml | 8 +-- pom.xml | 18 ++--- tools/releasing/create_binary_release.sh | 80 +++++++++++----------- tools/releasing/create_source_release.sh | 10 +-- 72 files changed, 479 insertions(+), 483 deletions(-) diff --git a/NOTICE b/NOTICE index 2178d8888..714c0f854 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ -Apache Flink Table Store (flink-table-store) +Apache Paimon (incubating) Copyright 2014-2022 The Apache Software Foundation This product includes software developed at diff --git a/README.md b/README.md index 273d75997..d281cba99 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,16 @@ Flink Table Store is developed under the umbrella of [Apache Flink](https://flin ## Documentation & Getting Started -Please check out the full [documentation](https://nightlies.apache.org/flink/flink-table-store-docs-master/), hosted by the +Please check out the full [documentation](https://nightlies.apache.org/flink/paimon-docs-master/), hosted by the [ASF](https://www.apache.org/), for detailed information and user guides. -Check our [quick-start](https://nightlies.apache.org/flink/flink-table-store-docs-master/docs/try-table-store/quick-start/) guide for simple setup instructions to get you started with the table store. +Check our [quick-start](https://nightlies.apache.org/flink/paimon-docs-master/docs/try-table-store/quick-start/) guide for simple setup instructions to get you started with the table store. ## Building Run the `mvn clean package -DskipTests` command to build the project. -Then you will find a JAR file for Flink engine with all shaded dependencies: `flink-table-store-flink/flink-table-store-flink-**/target/flink-table-store-flink-**-<version>.jar`. +Then you will find a JAR file for Flink engine with all shaded dependencies: `paimon-flink/paimon-flink-**/target/paimon-flink-**-<version>.jar`. ## Contributing diff --git a/docs/content/engines/flink.md b/docs/content/engines/flink.md index 4e839a56c..5d603ce3c 100644 --- a/docs/content/engines/flink.md +++ b/docs/content/engines/flink.md @@ -38,9 +38,9 @@ Download the jar file with corresponding version. | Version | Jar | |---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Flink 1.16 | [flink-table-store-flink-1.16-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-flink-1.16-{{< version >}}.jar) | -| Flink 1.15 | [flink-table-store-flink-1.15-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-flink-1.15-{{< version >}}.jar) | -| Flink 1.14 | [flink-table-store-flink-1.14-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-flink-1.14-{{< version >}}.jar) | +| Flink 1.16 | [paimon-flink-1.16-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-flink-1.16-{{< version >}}.jar) | +| Flink 1.15 | [paimon-flink-1.15-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-flink-1.15-{{< version >}}.jar) | +| Flink 1.14 | [paimon-flink-1.14-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-flink-1.14-{{< version >}}.jar) | You can also manually build bundled jar from the source code. @@ -57,7 +57,7 @@ To build from source code, either [download the source of a release](https://fli Build bundled jar with the following command. - `mvn clean install -DskipTests` -You can find the bundled jar in `./flink-table-store-flink/flink-table-store-flink-<flink-version>/target/flink-table-store-flink-<flink-version>-{{< version >}}.jar`. +You can find the bundled jar in `./paimon-flink/paimon-flink-<flink-version>/target/paimon-flink-<flink-version>-{{< version >}}.jar`. ## Quick Start @@ -74,7 +74,7 @@ tar -xzf flink-*.tgz Copy table store bundled jar to the `lib` directory of your Flink home. ```bash -cp flink-table-store-flink-*.jar <FLINK_HOME>/lib/ +cp paimon-flink-*.jar <FLINK_HOME>/lib/ ``` **Step 3: Copy Hadoop Bundled Jar** diff --git a/docs/content/engines/hive.md b/docs/content/engines/hive.md index a960c2b1c..933b5b9bd 100644 --- a/docs/content/engines/hive.md +++ b/docs/content/engines/hive.md @@ -44,11 +44,11 @@ Download the jar file with corresponding version. | | Jar | |------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Hive 3.1 | [flink-table-store-hive-connector-3.1-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-hive-connector-3.1-{{< version >}}.jar) | -| Hive 2.3 | [flink-table-store-hive-connector-2.3-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-hive-connector-2.3-{{< version >}}.jar) | -| Hive 2.2 | [flink-table-store-hive-connector-2.2-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-hive-connector-2.2-{{< version >}}.jar) | -| Hive 2.1 | [flink-table-store-hive-connector-2.1-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-hive-connector-2.1-{{< version >}}.jar) | -| Hive 2.1-cdh-6.3 | [flink-table-store-hive-connector-2.1-cdh-6.3-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-hive-connector-2.1-cdh-6.3-{{< version >}}.jar) | +| Hive 3.1 | [paimon-hive-connector-3.1-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-hive-connector-3.1-{{< version >}}.jar) | +| Hive 2.3 | [paimon-hive-connector-2.3-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-hive-connector-2.3-{{< version >}}.jar) | +| Hive 2.2 | [paimon-hive-connector-2.2-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-hive-connector-2.2-{{< version >}}.jar) | +| Hive 2.1 | [paimon-hive-connector-2.1-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-hive-connector-2.1-{{< version >}}.jar) | +| Hive 2.1-cdh-6.3 | [paimon-hive-connector-2.1-cdh-6.3-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-hive-connector-2.1-cdh-6.3-{{< version >}}.jar) | You can also manually build bundled jar from the source code. @@ -65,12 +65,12 @@ To build from source code, either [download the source of a release](https://fli Build bundled jar with the following command. `mvn clean install -Dmaven.test.skip=true` -You can find Hive connector jar in `./flink-table-store-hive/flink-table-store-hive-connector-<hive-version>/target/flink-table-store-hive-connector-<hive-version>-{{< version >}}.jar`. +You can find Hive connector jar in `./paimon-hive/paimon-hive-connector-<hive-version>/target/paimon-hive-connector-<hive-version>-{{< version >}}.jar`. There are several ways to add this jar to Hive. -* You can create an `auxlib` folder under the root directory of Hive, and copy `flink-table-store-hive-connector-{{< version >}}.jar` into `auxlib`. -* You can also copy this jar to a path accessible by Hive, then use `add jar /path/to/flink-table-store-hive-connector-{{< version >}}.jar` to enable table store support in Hive. Note that this method is not recommended. If you're using the MR execution engine and running a join statement, you may be faced with the exception `org.apache.hive.com.esotericsoftware.kryo.kryoexception: unable to find class`. +* You can create an `auxlib` folder under the root directory of Hive, and copy `paimon-hive-connector-{{< version >}}.jar` into `auxlib`. +* You can also copy this jar to a path accessible by Hive, then use `add jar /path/to/paimon-hive-connector-{{< version >}}.jar` to enable table store support in Hive. Note that this method is not recommended. If you're using the MR execution engine and running a join statement, you may be faced with the exception `org.apache.hive.com.esotericsoftware.kryo.kryoexception: unable to find class`. NOTE: If you are using HDFS, make sure that the environment variable `HADOOP_HOME` or `HADOOP_CONF_DIR` is set. @@ -131,7 +131,7 @@ SELECT * FROM test_table; Run the following Hive SQL in Hive CLI to access the created table. ```sql --- Assume that flink-table-store-hive-connector-<hive-version>-{{< version >}}.jar is already in auxlib directory. +-- Assume that paimon-hive-connector-<hive-version>-{{< version >}}.jar is already in auxlib directory. -- List tables in Hive -- (you might need to switch to "default" database if you're not there by default) @@ -158,7 +158,7 @@ OK To access existing table store table, you can also register them as external tables in Hive. Run the following Hive SQL in Hive CLI. ```sql --- Assume that flink-table-store-hive-connector-{{< version >}}.jar is already in auxlib directory. +-- Assume that paimon-hive-connector-{{< version >}}.jar is already in auxlib directory. -- Let's use the test_table created in the above section. -- To create an external table, you don't need to specify any column or table properties. -- Pointing the location to the path of table is enough. diff --git a/docs/content/engines/spark2.md b/docs/content/engines/spark2.md index 4ab5a739f..2d99e1fdf 100644 --- a/docs/content/engines/spark2.md +++ b/docs/content/engines/spark2.md @@ -36,7 +36,7 @@ Table Store supports Spark 2.4+. It is highly recommended to use Spark 2.4+ vers {{< stable >}} -Download [flink-table-store-spark-2-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-spark-2-{{< version >}}.jar). +Download [paimon-spark-2-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-spark-2-{{< version >}}.jar). You can also manually build bundled jar from the source code. @@ -56,7 +56,7 @@ Build bundled jar with the following command. mvn clean install -DskipTests ``` -You can find the bundled jar in `./flink-table-store-spark/flink-table-store-spark-2/target/flink-table-store-spark-2-{{< version >}}.jar`. +You can find the bundled jar in `./paimon-spark/paimon-spark-2/target/paimon-spark-2-{{< version >}}.jar`. ## Quick Start @@ -77,10 +77,10 @@ After the guide, all table files should be stored under the path `/tmp/table_sto You can append path to table store jar file to the `--jars` argument when starting `spark-shell`. ```bash -spark-shell ... --jars /path/to/flink-table-store-spark-2-{{< version >}}.jar +spark-shell ... --jars /path/to/paimon-spark-2-{{< version >}}.jar ``` -Alternatively, you can copy `flink-table-store-spark-2-{{< version >}}.jar` under `spark/jars` in your Spark installation directory. +Alternatively, you can copy `paimon-spark-2-{{< version >}}.jar` under `spark/jars` in your Spark installation directory. **Step 3: Query Table** diff --git a/docs/content/engines/spark3.md b/docs/content/engines/spark3.md index 323ba8db7..df2111f70 100644 --- a/docs/content/engines/spark3.md +++ b/docs/content/engines/spark3.md @@ -38,9 +38,9 @@ Download the jar file with corresponding version. | Version | Jar | |-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Spark 3.3 | [flink-table-store-spark-3.3-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-spark-3.3-{{< version >}}.jar) | -| Spark 3.2 | [flink-table-store-spark-3.2-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-spark-3.2-{{< version >}}.jar) | -| Spark 3.1 | [flink-table-store-spark-3.1-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-spark-3.1-{{< version >}}.jar) | +| Spark 3.3 | [paimon-spark-3.3-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-spark-3.3-{{< version >}}.jar) | +| Spark 3.2 | [paimon-spark-3.2-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-spark-3.2-{{< version >}}.jar) | +| Spark 3.1 | [paimon-spark-3.1-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-spark-3.1-{{< version >}}.jar) | You can also manually build bundled jar from the source code. @@ -60,7 +60,7 @@ Build bundled jar with the following command. mvn clean install -DskipTests ``` -For Spark 3.3, you can find the bundled jar in `./flink-table-store-spark/flink-table-store-spark-3.3/target/flink-table-store-spark-3.3-{{< version >}}.jar`. +For Spark 3.3, you can find the bundled jar in `./paimon-spark/paimon-spark-3.3/target/paimon-spark-3.3-{{< version >}}.jar`. ## Quick Start @@ -75,10 +75,10 @@ If you are using HDFS, make sure that the environment variable `HADOOP_HOME` or Append path to table store jar file to the `--jars` argument when starting `spark-sql`. ```bash -spark-sql ... --jars /path/to/flink-table-store-spark-3.3-{{< version >}}.jar +spark-sql ... --jars /path/to/paimon-spark-3.3-{{< version >}}.jar ``` -Alternatively, you can copy `flink-table-store-spark-3.3-{{< version >}}.jar` under `spark/jars` in your Spark installation directory. +Alternatively, you can copy `paimon-spark-3.3-{{< version >}}.jar` under `spark/jars` in your Spark installation directory. **Step 2: Specify Table Store Catalog** @@ -138,7 +138,7 @@ SELECT * FROM my_table; If you don't want to use Table Store catalog, you can also run `spark-shell` and query the table with Scala API. ```bash -spark-shell ... --jars /path/to/flink-table-store-spark-3.3-{{< version >}}.jar +spark-shell ... --jars /path/to/paimon-spark-3.3-{{< version >}}.jar ``` ```scala diff --git a/docs/content/engines/trino.md b/docs/content/engines/trino.md index 6f17861ef..37cb93a86 100644 --- a/docs/content/engines/trino.md +++ b/docs/content/engines/trino.md @@ -26,6 +26,6 @@ under the License. # Trino -Because Trino's dependency is JDK 11, it is not possible to include the trino connector in [flink-table-store](https://github.com/apache/flink-table-store). +Because Trino's dependency is JDK 11, it is not possible to include the trino connector in [paimon](https://github.com/apache/incubator-paimon). -See [flink-table-store-trino](https://github.com/JingsongLi/flink-table-store-trino). +See [paimon-trino](https://github.com/JingsongLi/paimon-trino). diff --git a/docs/content/filesystems/oss.md b/docs/content/filesystems/oss.md index 9de958a9c..a4224f275 100644 --- a/docs/content/filesystems/oss.md +++ b/docs/content/filesystems/oss.md @@ -30,7 +30,7 @@ under the License. ## Download -[Download](https://repo.maven.apache.org/maven2/org/apache/flink/flink-table-store-oss/{{< version >}}/flink-table-store-oss-{{< version >}}.jar) +[Download](https://repo.maven.apache.org/maven2/org/apache/flink/paimon-oss/{{< version >}}/paimon-oss-{{< version >}}.jar) flink table store shaded jar. {{< /stable >}} @@ -48,7 +48,7 @@ mvn clean install -DskipTests ``` You can find the shaded jars under -`./flink-table-store-filesystems/flink-table-store-oss/target/flink-table-store-oss-{{< version >}}.jar`. +`./paimon-filesystems/paimon-oss/target/paimon-oss-{{< version >}}.jar`. {{< /unstable >}} @@ -58,7 +58,7 @@ You can find the shaded jars under {{< tab "Flink" >}} -Put `flink-table-store-oss-{{< version >}}.jar` into `lib` directory of your Flink home, and create catalog: +Put `paimon-oss-{{< version >}}.jar` into `lib` directory of your Flink home, and create catalog: ```sql CREATE CATALOG my_catalog WITH ( @@ -74,7 +74,7 @@ CREATE CATALOG my_catalog WITH ( {{< tab "Spark" >}} -Place `flink-table-store-oss-{{< version >}}.jar` together with `flink-table-store-spark-{{< version >}}.jar` under Spark's jars directory, and start like +Place `paimon-oss-{{< version >}}.jar` together with `paimon-spark-{{< version >}}.jar` under Spark's jars directory, and start like ```shell spark-sql \ @@ -91,7 +91,7 @@ spark-sql \ NOTE: You need to ensure that Hive metastore can access `oss`. -Place `flink-table-store-oss-{{< version >}}.jar` together with `flink-table-store-hive-connector-{{< version >}}.jar` under Hive's auxlib directory, and start like +Place `paimon-oss-{{< version >}}.jar` together with `paimon-hive-connector-{{< version >}}.jar` under Hive's auxlib directory, and start like ```sql SET tablestore.fs.oss.endpoint=oss-cn-hangzhou.aliyuncs.com; @@ -109,7 +109,7 @@ SELECT COUNT(1) FROM test_table; {{< tab "Trino" >}} -Place `flink-table-store-oss-{{< version >}}.jar` together with `flink-table-store-trino-{{< version >}}.jar` under `plugin/tablestore` directory. +Place `paimon-oss-{{< version >}}.jar` together with `paimon-trino-{{< version >}}.jar` under `plugin/tablestore` directory. Add options in `etc/catalog/tablestore.properties`. ```shell diff --git a/docs/content/filesystems/s3.md b/docs/content/filesystems/s3.md index a0ed85508..b32ab814e 100644 --- a/docs/content/filesystems/s3.md +++ b/docs/content/filesystems/s3.md @@ -30,7 +30,7 @@ under the License. ## Download -[Download](https://repo.maven.apache.org/maven2/org/apache/flink/flink-table-store-s3/{{< version >}}/flink-table-store-s3-{{< version >}}.jar) +[Download](https://repo.maven.apache.org/maven2/org/apache/flink/paimon-s3/{{< version >}}/paimon-s3-{{< version >}}.jar) flink table store shaded jar. {{< /stable >}} @@ -48,7 +48,7 @@ mvn clean install -DskipTests ``` You can find the shaded jars under -`./flink-table-store-filesystems/flink-table-store-s3/target/flink-table-store-s3-{{< version >}}.jar`. +`./paimon-filesystems/paimon-s3/target/paimon-s3-{{< version >}}.jar`. {{< /unstable >}} @@ -58,7 +58,7 @@ You can find the shaded jars under {{< tab "Flink" >}} -Put `flink-table-store-s3-{{< version >}}.jar` into `lib` directory of your Flink home, and create catalog: +Put `paimon-s3-{{< version >}}.jar` into `lib` directory of your Flink home, and create catalog: ```sql CREATE CATALOG my_catalog WITH ( @@ -74,7 +74,7 @@ CREATE CATALOG my_catalog WITH ( {{< tab "Spark" >}} -Place `flink-table-store-s3-{{< version >}}.jar` together with `flink-table-store-spark-{{< version >}}.jar` under Spark's jars directory, and start like +Place `paimon-s3-{{< version >}}.jar` together with `paimon-spark-{{< version >}}.jar` under Spark's jars directory, and start like ```shell spark-sql \ @@ -91,7 +91,7 @@ spark-sql \ NOTE: You need to ensure that Hive metastore can access `s3`. -Place `flink-table-store-s3-{{< version >}}.jar` together with `flink-table-store-hive-connector-{{< version >}}.jar` under Hive's auxlib directory, and start like +Place `paimon-s3-{{< version >}}.jar` together with `paimon-hive-connector-{{< version >}}.jar` under Hive's auxlib directory, and start like ```sql SET tablestore.s3.endpoint=your-endpoint-hostname; @@ -109,7 +109,7 @@ SELECT COUNT(1) FROM test_table; {{< tab "Trino" >}} -Place `flink-table-store-s3-{{< version >}}.jar` together with `flink-table-store-trino-{{< version >}}.jar` under `plugin/tablestore` directory. +Place `paimon-s3-{{< version >}}.jar` together with `paimon-trino-{{< version >}}.jar` under `plugin/tablestore` directory. Add options in `etc/catalog/tablestore.properties`. ```shell diff --git a/docs/content/how-to/creating-catalogs.md b/docs/content/how-to/creating-catalogs.md index df89481fe..3c4915c06 100644 --- a/docs/content/how-to/creating-catalogs.md +++ b/docs/content/how-to/creating-catalogs.md @@ -84,7 +84,7 @@ Download the jar file with corresponding version. | Version | Jar | |------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Hive 2 & 3 | [flink-table-store-hive-catalog-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/flink-table-store-{{< version >}}/flink-table-store-hive-catalog-{{< version >}}.jar) | +| Hive 2 & 3 | [paimon-hive-catalog-{{< version >}}.jar](https://www.apache.org/dyn/closer.lua/flink/paimon-{{< version >}}/paimon-hive-catalog-{{< version >}}.jar) | You can also manually build bundled jar from the source code. @@ -101,7 +101,7 @@ To build from source code, either [download the source of a release](https://fli Build bundled jar with the following command. `mvn clean install -Dmaven.test.skip=true` -You can find Hive catalog jar in `./flink-table-store-hive/flink-table-store-hive-catalog/target/flink-table-store-hive-catalog-{{< version >}}.jar`. +You can find Hive catalog jar in `./paimon-hive/paimon-hive-catalog/target/paimon-hive-catalog-{{< version >}}.jar`. ### Registering Hive Catalog @@ -112,7 +112,7 @@ You can find Hive catalog jar in `./flink-table-store-hive/flink-table-store-hiv To enable Table Store Hive catalog support in Flink, you can pick one of the following two methods. * Copy Table Store Hive catalog jar file into the `lib` directory of your Flink installation directory. Note that this must be done before starting your Flink cluster. -* If you're using Flink's SQL client, append `--jar /path/to/flink-table-store-hive-catalog-{{< version >}}.jar` to the starting command of SQL client. +* If you're using Flink's SQL client, append `--jar /path/to/paimon-hive-catalog-{{< version >}}.jar` to the starting command of SQL client. The following Flink SQL registers and uses a Table Store Hive catalog named `my_hive`. Metadata and table files are stored under `hdfs://path/to/warehouse`. In addition, metadata is also stored in Hive metastore. diff --git a/docs/content/how-to/writing-tables.md b/docs/content/how-to/writing-tables.md index eb90f7a8a..5a3c72c74 100644 --- a/docs/content/how-to/writing-tables.md +++ b/docs/content/how-to/writing-tables.md @@ -206,7 +206,7 @@ Run the following command to submit a drop-partition job for the table. <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ drop-partition \ --warehouse <warehouse-path> \ --database <database-name> \ @@ -224,7 +224,7 @@ For more information of drop-partition, see <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ drop-partition --help ``` @@ -246,7 +246,7 @@ Run the following command to submit a 'delete' job for the table. <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ delete \ --warehouse <warehouse-path> \ --database <database-name> \ @@ -265,7 +265,7 @@ For more information of 'delete', see <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ delete --help ``` @@ -314,7 +314,7 @@ Run the following command to submit a 'merge-into' job for the table. <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ merge-into \ --warehouse <warehouse-path> \ --database <database-name> \ @@ -341,7 +341,7 @@ Alternatively, you can use '--source-sql <sql> [, --source-sql <sql> ...]' to cr ./flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ merge-into \ --warehouse <warehouse-path> \ --database <database-name> \ @@ -359,7 +359,7 @@ Alternatively, you can use '--source-sql <sql> [, --source-sql <sql> ...]' to cr ./flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ merge-into \ --warehouse <warehouse-path> \ --database <database-name> \ @@ -376,7 +376,7 @@ Alternatively, you can use '--source-sql <sql> [, --source-sql <sql> ...]' to cr ./flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ merge-into \ --warehouse <warehouse-path> \ --database <database-name> \ @@ -394,7 +394,7 @@ Alternatively, you can use '--source-sql <sql> [, --source-sql <sql> ...]' to cr ./flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ merge-into \ --warehouse <warehouse-path> \ --database <database-name> \ @@ -453,7 +453,7 @@ For more information of 'merge-into', see <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.connector.action.FlinkActions \ -Dclassloader.resolve-order=parent-first \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ merge-into --help ``` {{< /tab >}} diff --git a/docs/content/maintenance/write-performance.md b/docs/content/maintenance/write-performance.md index 81300661f..587a2ddee 100644 --- a/docs/content/maintenance/write-performance.md +++ b/docs/content/maintenance/write-performance.md @@ -156,7 +156,7 @@ Run the following command to submit a compaction job for the table. ```bash <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.connector.action.FlinkActions \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ compact \ --warehouse <warehouse-path> \ --database <database-name> \ @@ -176,7 +176,7 @@ For more usage of the compact action, see ```bash <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.connector.action.FlinkActions \ - /path/to/flink-table-store-flink-**-{{< version >}}.jar \ + /path/to/paimon-flink-**-{{< version >}}.jar \ compact --help ``` diff --git a/docs/layouts/partials/docs/inject/content-before.html b/docs/layouts/partials/docs/inject/content-before.html index 9e96a2185..f4096b2a0 100644 --- a/docs/layouts/partials/docs/inject/content-before.html +++ b/docs/layouts/partials/docs/inject/content-before.html @@ -23,14 +23,14 @@ under the License. {{ if $.Site.Params.ShowOutDatedWarning }} <article class="markdown"> <blockquote style="border-color:#f66"> - {{ markdownify "This documentation is for an out-of-date version of Apache Flink Table Store. We recommend you use the latest [stable version](https://ci.apache.org/projects/flink/flink-table-store-docs-stable/)."}} + {{ markdownify "This documentation is for an out-of-date version of Apache Flink Table Store. We recommend you use the latest [stable version](https://ci.apache.org/projects/flink/paimon-docs-stable/)."}} </blockquote> </article> {{ end }} {{ if (not $.Site.Params.IsStable) }} <article class="markdown"> <blockquote style="border-color:#f66"> - {{ markdownify "This documentation is for an unreleased version of Apache Flink Table Store. We recommend you use the latest [stable version](https://ci.apache.org/projects/flink/flink-table-store-docs-stable/)."}} + {{ markdownify "This documentation is for an unreleased version of Apache Flink Table Store. We recommend you use the latest [stable version](https://ci.apache.org/projects/flink/paimon-docs-stable/)."}} </blockquote> </article> {{ end }} diff --git a/paimon-benchmark/paimon-cluster-benchmark/README.md b/paimon-benchmark/paimon-cluster-benchmark/README.md index e2fd9e462..5d15b3a61 100644 --- a/paimon-benchmark/paimon-cluster-benchmark/README.md +++ b/paimon-benchmark/paimon-cluster-benchmark/README.md @@ -22,15 +22,15 @@ This is the cluster benchmark module for Flink Table Store. Inspired by [Nexmark ### Setup Benchmark * Build this module with command `mvn clean package`. -* Copy `target/flink-table-store-benchmark-bin/flink-table-store-benchmark` to the master node of your EMR cluster. -* Modify `flink-table-store-benchmark/conf/benchmark.yaml` on the master node. You must change these config options: +* Copy `target/paimon-benchmark-bin/paimon-benchmark` to the master node of your EMR cluster. +* Modify `paimon-benchmark/conf/benchmark.yaml` on the master node. You must change these config options: * `benchmark.metric.reporter.host` and `flink.rest.address`: set these to the address of master node of your EMR cluster. * `benchmark.sink.path` is the path to which queries insert records. This should point to a non-existing path. Contents of this path will be removed before each test. -* Copy `flink-table-store-benchmark` to every worker node of your EMR cluster. -* Run `flink-table-store-benchmark/bin/setup_cluster.sh` in master node. This activates the CPU metrics collector in worker nodes. Note that if you restart your Flink cluster, you must also restart the CPU metrics collectors. To stop CPU metrics collectors, run `flink-table-store-benchmark/bin/shutdown_cluster.sh` in master node. +* Copy `paimon-benchmark` to every worker node of your EMR cluster. +* Run `paimon-benchmark/bin/setup_cluster.sh` in master node. This activates the CPU metrics collector in worker nodes. Note that if you restart your Flink cluster, you must also restart the CPU metrics collectors. To stop CPU metrics collectors, run `paimon-benchmark/bin/shutdown_cluster.sh` in master node. ### Run Benchmark -* Run `flink-table-store-benchmark/bin/run_benchmark.sh <query> <sink>` to run `<query>` for `<sink>`. Currently `<query>` can be `q1` or `all`, and sink can only be `table_store`. +* Run `paimon-benchmark/bin/run_benchmark.sh <query> <sink>` to run `<query>` for `<sink>`. Currently `<query>` can be `q1` or `all`, and sink can only be `table_store`. * By default, each query writes for 30 minutes and then reads all records back from the sink to measure read throughput. ## Queries @@ -50,15 +50,15 @@ Results of each query consist of the following aspects: * Max Data Freshness: Max time elapsed from the starting point of the last successful checkpoint. ## How to Add New Queries -1. Add your query to `flink-table-store-benchmark/queries` as a SQL script. -2. Modify `flink-table-store-benchmark/queries/queries.yaml` to set the properties of this test. Supported properties are: +1. Add your query to `paimon-benchmark/queries` as a SQL script. +2. Modify `paimon-benchmark/queries/queries.yaml` to set the properties of this test. Supported properties are: * `sql`: An array of SQL scripts. These SQL scripts will run in the given order. Each SQL script will stop only after it produces enough number of rows. * `row-num`: Number of rows produced from the source for each SQL scripts. Note that each query must contain a `-- __SINK_DDL_BEGIN__` and `-- __SINK_DDL_END__` so that this DDL can be used for both write and read tests. See existing queries for detail. ## How to Add New Sinks -Just add your sink to `flink-table-store-benchmark/sinks` as a yaml file, which supports the following properties: +Just add your sink to `paimon-benchmark/sinks` as a yaml file, which supports the following properties: * `before`: A SQL script which is appended before each test. This property is useful if your sink needs initialization (for example if your sink needs a special catalog). * `sink-name`: Name of the sink table. This property will replace the `${SINK_NAME}` in each query. * `sink-properties`: The `WITH` option of the sink. This property will replace the `${DDL_TEMPLATE}` in each query. diff --git a/paimon-benchmark/paimon-cluster-benchmark/pom.xml b/paimon-benchmark/paimon-cluster-benchmark/pom.xml index 79a0e93bc..f2cf6f620 100644 --- a/paimon-benchmark/paimon-cluster-benchmark/pom.xml +++ b/paimon-benchmark/paimon-cluster-benchmark/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-benchmark</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-benchmark</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-cluster-benchmark</artifactId> - <name>Flink Table Store : Benchmark : Cluster</name> + <artifactId>paimon-cluster-benchmark</artifactId> + <name>Paimon : Benchmark : Cluster</name> <dependencies> <dependency> @@ -116,7 +116,7 @@ under the License. <descriptors> <descriptor>src/main/assemblies/bin.xml</descriptor> </descriptors> - <finalName>flink-table-store-benchmark-bin</finalName> + <finalName>paimon-benchmark-bin</finalName> <appendAssemblyId>false</appendAssemblyId> </configuration> </execution> diff --git a/paimon-benchmark/paimon-cluster-benchmark/src/main/assemblies/bin.xml b/paimon-benchmark/paimon-cluster-benchmark/src/main/assemblies/bin.xml index 900e63c78..d21d121c0 100644 --- a/paimon-benchmark/paimon-cluster-benchmark/src/main/assemblies/bin.xml +++ b/paimon-benchmark/paimon-cluster-benchmark/src/main/assemblies/bin.xml @@ -26,12 +26,12 @@ under the License. </formats> <includeBaseDirectory>true</includeBaseDirectory> - <baseDirectory>flink-table-store-benchmark</baseDirectory> + <baseDirectory>paimon-benchmark</baseDirectory> <files> <!-- copy jars --> <file> - <source>target/flink-table-store-cluster-benchmark-${project.version}-jar-with-dependencies.jar</source> + <source>target/paimon-cluster-benchmark-${project.version}-jar-with-dependencies.jar</source> <outputDirectory>lib/</outputDirectory> <fileMode>0644</fileMode> </file> diff --git a/paimon-benchmark/paimon-micro-benchmarks/pom.xml b/paimon-benchmark/paimon-micro-benchmarks/pom.xml index 473dff714..a242d1c49 100644 --- a/paimon-benchmark/paimon-micro-benchmarks/pom.xml +++ b/paimon-benchmark/paimon-micro-benchmarks/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-benchmark</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-benchmark</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-micro-benchmarks</artifactId> - <name>Flink Table Store : Benchmark : Micro</name> + <artifactId>paimon-micro-benchmarks</artifactId> + <name>Paimon : Benchmark : Micro</name> <dependencies> @@ -119,8 +119,8 @@ under the License. <!-- Flink Table Store dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-shade</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-shade</artifactId> <version>${project.version}</version> </dependency> </dependencies> diff --git a/paimon-benchmark/pom.xml b/paimon-benchmark/pom.xml index c5d6cdaab..156d7d1cc 100644 --- a/paimon-benchmark/pom.xml +++ b/paimon-benchmark/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-benchmark</artifactId> - <name>Flink Table Store : Benchmark</name> + <artifactId>paimon-benchmark</artifactId> + <name>Paimon : Benchmark</name> <packaging>pom</packaging> diff --git a/paimon-codegen-loader/pom.xml b/paimon-codegen-loader/pom.xml index 44b281681..98584f7a5 100644 --- a/paimon-codegen-loader/pom.xml +++ b/paimon-codegen-loader/pom.xml @@ -23,33 +23,33 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-codegen-loader</artifactId> - <name>Flink Table Store : Code Gen Loader</name> + <artifactId>paimon-codegen-loader</artifactId> + <name>Paimon : Code Gen Loader</name> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> - <!-- Ensures that flink-table-store-codegen is built beforehand, in order to bundle the jar --> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-codegen</artifactId> + <!-- Ensures that paimon-codegen is built beforehand, in order to bundle the jar --> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-codegen</artifactId> <version>${project.version}</version> - <!-- We don't want any production code from flink-table-store-core to reference flink-table-store-codegen directly --> + <!-- We don't want any production code from paimon-core to reference paimon-codegen directly --> <scope>runtime</scope> - <!-- Prevent dependency from being accessible to modules depending on flink-table-store-core --> + <!-- Prevent dependency from being accessible to modules depending on paimon-core --> <optional>true</optional> <exclusions> - <!-- Prevent akka and scala from being visible to other modules depending on flink-table-store-core --> + <!-- Prevent akka and scala from being visible to other modules depending on paimon-core --> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> @@ -73,12 +73,12 @@ under the License. <configuration> <artifactItems> <artifactItem> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-codegen</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-codegen</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>true</overWrite> - <destFileName>flink-table-store-codegen.jar</destFileName> + <destFileName>paimon-codegen.jar</destFileName> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/classes</outputDirectory> diff --git a/paimon-codegen-loader/src/main/java/org/apache/paimon/codegen/CodeGenLoader.java b/paimon-codegen-loader/src/main/java/org/apache/paimon/codegen/CodeGenLoader.java index 9a1310a40..50f8ecd4f 100644 --- a/paimon-codegen-loader/src/main/java/org/apache/paimon/codegen/CodeGenLoader.java +++ b/paimon-codegen-loader/src/main/java/org/apache/paimon/codegen/CodeGenLoader.java @@ -23,7 +23,7 @@ import org.apache.paimon.plugin.PluginLoader; /** Copied and modified from the flink-table-planner-loader module. */ public class CodeGenLoader { - private static final String FLINK_TABLE_STORE_CODEGEN_FAT_JAR = "flink-table-store-codegen.jar"; + private static final String FLINK_TABLE_STORE_CODEGEN_FAT_JAR = "paimon-codegen.jar"; // Singleton lazy initialization diff --git a/paimon-codegen/pom.xml b/paimon-codegen/pom.xml index 5940493cb..efc70f6b1 100644 --- a/paimon-codegen/pom.xml +++ b/paimon-codegen/pom.xml @@ -23,18 +23,18 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-codegen</artifactId> - <name>Flink Table Store : Code Gen</name> + <artifactId>paimon-codegen</artifactId> + <name>Paimon : Code Gen</name> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> </dependency> diff --git a/paimon-common/pom.xml b/paimon-common/pom.xml index 8741523bf..81ee71868 100644 --- a/paimon-common/pom.xml +++ b/paimon-common/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-common</artifactId> - <name>Flink Table Store : Common</name> + <artifactId>paimon-common</artifactId> + <name>Paimon : Common</name> <properties> <antlr4.version>4.7</antlr4.version> @@ -112,8 +112,8 @@ under the License. <!-- Test --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-test-utils</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-test-utils</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> diff --git a/paimon-common/src/main/java/org/apache/paimon/plugin/PluginLoader.java b/paimon-common/src/main/java/org/apache/paimon/plugin/PluginLoader.java index 4e6c5cf54..43199c452 100644 --- a/paimon-common/src/main/java/org/apache/paimon/plugin/PluginLoader.java +++ b/paimon-common/src/main/java/org/apache/paimon/plugin/PluginLoader.java @@ -85,8 +85,7 @@ public class PluginLoader { OWNER_CLASSPATH, COMPONENT_CLASSPATH); } catch (IOException e) { - throw new RuntimeException( - "Could not initialize the flink-table-store-codegen loader.", e); + throw new RuntimeException("Could not initialize the paimon-codegen loader.", e); } } diff --git a/paimon-core/pom.xml b/paimon-core/pom.xml index 15ccd5cc8..02496caef 100644 --- a/paimon-core/pom.xml +++ b/paimon-core/pom.xml @@ -23,24 +23,24 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-core</artifactId> - <name>Flink Table Store : Core</name> + <artifactId>paimon-core</artifactId> + <name>Paimon : Core</name> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-codegen-loader</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-codegen-loader</artifactId> <version>${project.version}</version> </dependency> @@ -61,16 +61,16 @@ under the License. <!-- test dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-format</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-format</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> diff --git a/paimon-docs/pom.xml b/paimon-docs/pom.xml index 4d40e50e8..e2093622e 100644 --- a/paimon-docs/pom.xml +++ b/paimon-docs/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-docs</artifactId> - <name>Flink Table Store : Docs</name> + <artifactId>paimon-docs</artifactId> + <name>Paimon : Docs</name> <properties> <generated.docs.dir>./docs/layouts/shortcodes/generated</generated.docs.dir> @@ -39,15 +39,15 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-core</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-core</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-flink-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-flink-common</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> diff --git a/paimon-docs/src/main/java/org/apache/paimon/docs/configuration/ConfigOptionsDocGenerator.java b/paimon-docs/src/main/java/org/apache/paimon/docs/configuration/ConfigOptionsDocGenerator.java index 6c0f6dffd..eb49797b0 100644 --- a/paimon-docs/src/main/java/org/apache/paimon/docs/configuration/ConfigOptionsDocGenerator.java +++ b/paimon-docs/src/main/java/org/apache/paimon/docs/configuration/ConfigOptionsDocGenerator.java @@ -70,14 +70,12 @@ public class ConfigOptionsDocGenerator { static final OptionsClassLocation[] LOCATIONS = new OptionsClassLocation[] { - new OptionsClassLocation("flink-table-store-common", "org.apache.paimon.options"), - new OptionsClassLocation("flink-table-store-core", "org.apache.flink.table.store"), + new OptionsClassLocation("paimon-common", "org.apache.paimon.options"), + new OptionsClassLocation("paimon-core", "org.apache.flink.table.store"), new OptionsClassLocation( - "flink-table-store-flink/flink-table-store-flink-common", - "org.apache.paimon.connector"), + "paimon-flink/paimon-flink-common", "org.apache.paimon.connector"), new OptionsClassLocation( - "flink-table-store-flink/flink-table-store-flink-common", - "org.apache.paimon.connector.kafka") + "paimon-flink/paimon-flink-common", "org.apache.paimon.connector.kafka") }; static final String DEFAULT_PATH_PREFIX = "src/main/java"; diff --git a/paimon-docs/src/test/java/org/apache/paimon/docs/configuration/ConfigOptionsDocsCompletenessITCase.java b/paimon-docs/src/test/java/org/apache/paimon/docs/configuration/ConfigOptionsDocsCompletenessITCase.java index 0135878c7..bfc042232 100644 --- a/paimon-docs/src/test/java/org/apache/paimon/docs/configuration/ConfigOptionsDocsCompletenessITCase.java +++ b/paimon-docs/src/test/java/org/apache/paimon/docs/configuration/ConfigOptionsDocsCompletenessITCase.java @@ -197,7 +197,7 @@ public class ConfigOptionsDocsCompletenessITCase { StringBuilder stringBuilder = new StringBuilder( "Documentation is outdated, please regenerate it according to the" - + " instructions in flink-table-store-docs/README.md."); + + " instructions in paimon-docs/README.md."); stringBuilder.append(System.lineSeparator()); stringBuilder.append("\tProblems:"); for (String problem : problems) { diff --git a/paimon-e2e-tests/pom.xml b/paimon-e2e-tests/pom.xml index 298362c44..6833e4195 100644 --- a/paimon-e2e-tests/pom.xml +++ b/paimon-e2e-tests/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-e2e-tests</artifactId> - <name>Flink Table Store : End to End Tests</name> + <artifactId>paimon-e2e-tests</artifactId> + <name>Paimon : End to End Tests</name> <properties> <flink.shaded.hadoop.version>2.8.3-10.0</flink.shaded.hadoop.version> @@ -40,29 +40,29 @@ under the License. <!-- Add dependencies to affect the order of mvn build --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-flink-${test.flink.main.version}</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-flink-${test.flink.main.version}</artifactId> <version>${project.version}</version> <scope>runtime</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-catalog</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-catalog</artifactId> <version>${project.version}</version> <scope>runtime</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-connector-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-connector-common</artifactId> <version>${project.version}</version> <scope>runtime</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark-3.2</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark-3.2</artifactId> <version>${project.version}</version> <scope>runtime</scope> </dependency> @@ -101,43 +101,43 @@ under the License. <configuration> <artifactItems> <artifactItem> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-flink-${test.flink.main.version}</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-flink-${test.flink.main.version}</artifactId> <version>${project.version}</version> - <destFileName>flink-table-store.jar</destFileName> + <destFileName>paimon-flink.jar</destFileName> <type>jar</type> <overWrite>true</overWrite> - <outputDirectory>/tmp/flink-table-store-e2e-tests-jars + <outputDirectory>/tmp/paimon-e2e-tests-jars </outputDirectory> </artifactItem> <artifactItem> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-catalog</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-catalog</artifactId> <version>${project.version}</version> - <destFileName>flink-table-store-hive-catalog.jar</destFileName> + <destFileName>paimon-hive-catalog.jar</destFileName> <type>jar</type> <overWrite>true</overWrite> - <outputDirectory>/tmp/flink-table-store-e2e-tests-jars + <outputDirectory>/tmp/paimon-e2e-tests-jars </outputDirectory> </artifactItem> <artifactItem> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-connector-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-connector-common</artifactId> <version>${project.version}</version> - <destFileName>flink-table-store-hive-connector.jar</destFileName> + <destFileName>paimon-hive-connector.jar</destFileName> <type>jar</type> <overWrite>true</overWrite> - <outputDirectory>/tmp/flink-table-store-e2e-tests-jars + <outputDirectory>/tmp/paimon-e2e-tests-jars </outputDirectory> </artifactItem> <artifactItem> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark-3.2</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark-3.2</artifactId> <version>${project.version}</version> - <destFileName>flink-table-store-spark.jar</destFileName> + <destFileName>paimon-spark.jar</destFileName> <type>jar</type> <overWrite>true</overWrite> - <outputDirectory>/tmp/flink-table-store-e2e-tests-jars + <outputDirectory>/tmp/paimon-e2e-tests-jars </outputDirectory> </artifactItem> <artifactItem> @@ -147,7 +147,7 @@ under the License. <destFileName>bundled-hadoop.jar</destFileName> <type>jar</type> <overWrite>true</overWrite> - <outputDirectory>/tmp/flink-table-store-e2e-tests-jars + <outputDirectory>/tmp/paimon-e2e-tests-jars </outputDirectory> </artifactItem> <!-- test table store with kafka sql jar --> @@ -158,7 +158,7 @@ under the License. <destFileName>flink-sql-connector-kafka.jar</destFileName> <type>jar</type> <overWrite>true</overWrite> - <outputDirectory>/tmp/flink-table-store-e2e-tests-jars + <outputDirectory>/tmp/paimon-e2e-tests-jars </outputDirectory> </artifactItem> </artifactItems> diff --git a/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/FileStoreBuiltInFormatE2eTest.java b/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/FileStoreBuiltInFormatE2eTest.java index e481acb69..0c2424290 100644 --- a/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/FileStoreBuiltInFormatE2eTest.java +++ b/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/FileStoreBuiltInFormatE2eTest.java @@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test; import java.util.UUID; -/** Test that file store supports format included in flink-table-store-format. */ +/** Test that file store supports format included in paimon-format. */ public class FileStoreBuiltInFormatE2eTest extends E2eTestBase { @Test diff --git a/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/FlinkActionsE2eTest.java b/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/FlinkActionsE2eTest.java index 91dc2f6ab..98ebd66ad 100644 --- a/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/FlinkActionsE2eTest.java +++ b/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/FlinkActionsE2eTest.java @@ -108,7 +108,7 @@ public class FlinkActionsE2eTest extends E2eTestBase { "execution.checkpointing.interval=1s", "-Dclassloader.resolve-order=parent-first", "--detached", - "lib/flink-table-store.jar", + "lib/paimon-flink.jar", "compact", "--warehouse", warehousePath, @@ -170,7 +170,7 @@ public class FlinkActionsE2eTest extends E2eTestBase { "-c", "org.apache.paimon.connector.action.FlinkActions", "-Dclassloader.resolve-order=parent-first", - "lib/flink-table-store.jar", + "lib/paimon-flink.jar", "drop-partition", "--warehouse", warehousePath, @@ -230,7 +230,7 @@ public class FlinkActionsE2eTest extends E2eTestBase { "-c", "org.apache.paimon.connector.action.FlinkActions", "-Dclassloader.resolve-order=parent-first", - "lib/flink-table-store.jar", + "lib/paimon-flink.jar", "delete", "--warehouse", warehousePath, @@ -298,7 +298,7 @@ public class FlinkActionsE2eTest extends E2eTestBase { "-c", "org.apache.paimon.connector.action.FlinkActions", "-Dclassloader.resolve-order=parent-first", - "lib/flink-table-store.jar", + "lib/paimon-flink.jar", "merge-into", "--warehouse", warehousePath, diff --git a/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/HiveE2eTest.java b/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/HiveE2eTest.java index c3d9ff1a0..1a8215ac9 100644 --- a/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/HiveE2eTest.java +++ b/paimon-e2e-tests/src/test/java/org/apache/paimon/tests/HiveE2eTest.java @@ -35,8 +35,7 @@ import java.util.UUID; @DisabledIfSystemProperty(named = "test.flink.version", matches = "1.14.*") public class HiveE2eTest extends E2eReaderTestBase { - private static final String TABLE_STORE_HIVE_CONNECTOR_JAR_NAME = - "flink-table-store-hive-connector.jar"; + private static final String TABLE_STORE_HIVE_CONNECTOR_JAR_NAME = "paimon-hive-connector.jar"; public HiveE2eTest() { super(false, true, false); diff --git a/paimon-e2e-tests/src/test/resources-filtered/docker-compose.yaml b/paimon-e2e-tests/src/test/resources-filtered/docker-compose.yaml index 50a6956cb..536882a61 100644 --- a/paimon-e2e-tests/src/test/resources-filtered/docker-compose.yaml +++ b/paimon-e2e-tests/src/test/resources-filtered/docker-compose.yaml @@ -28,8 +28,8 @@ services: image: apache/flink:${test.flink.version}-java8 volumes: - testdata:/test-data - - /tmp/flink-table-store-e2e-tests-jars:/jars - entrypoint: /bin/bash -c "cp /jars/flink-table-store.jar /jars/bundled-hadoop.jar /jars/flink-table-store-hive-catalog.jar /jars/flink-sql-connector-kafka.jar /opt/flink/lib && /docker-entrypoint.sh jobmanager" + - /tmp/paimon-e2e-tests-jars:/jars + entrypoint: /bin/bash -c "cp /jars/paimon-flink.jar /jars/bundled-hadoop.jar /jars/paimon-hive-catalog.jar /jars/flink-sql-connector-kafka.jar /opt/flink/lib && /docker-entrypoint.sh jobmanager" env_file: - ./flink.env networks: @@ -43,8 +43,8 @@ services: image: apache/flink:${test.flink.version}-java8 volumes: - testdata:/test-data - - /tmp/flink-table-store-e2e-tests-jars:/jars - entrypoint: /bin/bash -c "cp /jars/flink-table-store.jar /jars/bundled-hadoop.jar /jars/flink-table-store-hive-catalog.jar /jars/flink-sql-connector-kafka.jar /opt/flink/lib && /docker-entrypoint.sh taskmanager" + - /tmp/paimon-e2e-tests-jars:/jars + entrypoint: /bin/bash -c "cp /jars/paimon-flink.jar /jars/bundled-hadoop.jar /jars/paimon-hive-catalog.jar /jars/flink-sql-connector-kafka.jar /opt/flink/lib && /docker-entrypoint.sh taskmanager" env_file: - ./flink.env networks: @@ -132,7 +132,7 @@ services: image: bde2020/hive:2.3.2-postgresql-metastore volumes: - testdata:/test-data - - /tmp/flink-table-store-e2e-tests-jars:/jars + - /tmp/paimon-e2e-tests-jars:/jars networks: testnetwork: aliases: @@ -178,11 +178,11 @@ services: image: bde2020/spark-master:3.3.0-hadoop3.3 volumes: - testdata:/test-data - - /tmp/flink-table-store-e2e-tests-jars:/jars + - /tmp/paimon-e2e-tests-jars:/jars ports: - "8080:8080" - "7077:7077" - entrypoint: /bin/bash -c "cp /jars/flink-table-store.jar /jars/flink-table-store-spark.jar /spark/jars/ && sh /master.sh" + entrypoint: /bin/bash -c "cp /jars/paimon-flink.jar /jars/paimon-spark.jar /spark/jars/ && sh /master.sh" environment: - INIT_DAEMON_STEP=setup_spark @@ -192,10 +192,10 @@ services: - spark-master volumes: - testdata:/test-data - - /tmp/flink-table-store-e2e-tests-jars:/jars + - /tmp/paimon-e2e-tests-jars:/jars ports: - "8081:8081" - entrypoint: /bin/bash -c "cp /jars/flink-table-store.jar /jars/flink-table-store-spark.jar /spark/jars/ && sh /worker.sh" + entrypoint: /bin/bash -c "cp /jars/paimon-flink.jar /jars/paimon-spark.jar /spark/jars/ && sh /worker.sh" environment: - "SPARK_MASTER=spark://spark-master:7077" diff --git a/paimon-filesystems/paimon-hadoop-shaded/pom.xml b/paimon-filesystems/paimon-hadoop-shaded/pom.xml index 522f28044..ea0aa34f5 100644 --- a/paimon-filesystems/paimon-hadoop-shaded/pom.xml +++ b/paimon-filesystems/paimon-hadoop-shaded/pom.xml @@ -22,13 +22,13 @@ <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-filesystems</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-filesystems</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hadoop-shaded</artifactId> - <name>Flink Table Store : FileSystems : Hadoop Shaded</name> + <artifactId>paimon-hadoop-shaded</artifactId> + <name>Paimon : FileSystems : Hadoop Shaded</name> <packaging>jar</packaging> diff --git a/paimon-filesystems/paimon-hadoop-shaded/src/main/resources/META-INF/NOTICE b/paimon-filesystems/paimon-hadoop-shaded/src/main/resources/META-INF/NOTICE index 523ea82f1..1208f5609 100644 --- a/paimon-filesystems/paimon-hadoop-shaded/src/main/resources/META-INF/NOTICE +++ b/paimon-filesystems/paimon-hadoop-shaded/src/main/resources/META-INF/NOTICE @@ -1,4 +1,4 @@ -flink-table-store-hadoop-shaded +paimon-hadoop-shaded Copyright 2014-2022 The Apache Software Foundation This project includes software developed at diff --git a/paimon-filesystems/paimon-oss-impl/pom.xml b/paimon-filesystems/paimon-oss-impl/pom.xml index 8ba60cb84..0eeefee00 100644 --- a/paimon-filesystems/paimon-oss-impl/pom.xml +++ b/paimon-filesystems/paimon-oss-impl/pom.xml @@ -22,13 +22,13 @@ <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-filesystems</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-filesystems</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-oss-impl</artifactId> - <name>Flink Table Store : FileSystems : OSS : Impl</name> + <artifactId>paimon-oss-impl</artifactId> + <name>Paimon : FileSystems : OSS : Impl</name> <packaging>jar</packaging> <properties> @@ -37,15 +37,15 @@ <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hadoop-shaded</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hadoop-shaded</artifactId> <version>${project.version}</version> </dependency> diff --git a/paimon-filesystems/paimon-oss-impl/src/main/resources/META-INF/NOTICE b/paimon-filesystems/paimon-oss-impl/src/main/resources/META-INF/NOTICE index 1ecf7177d..8ca5b15c4 100644 --- a/paimon-filesystems/paimon-oss-impl/src/main/resources/META-INF/NOTICE +++ b/paimon-filesystems/paimon-oss-impl/src/main/resources/META-INF/NOTICE @@ -1,4 +1,4 @@ -flink-table-store-oss-impl +paimon-oss-impl Copyright 2014-2022 The Apache Software Foundation This project includes software developed at diff --git a/paimon-filesystems/paimon-oss/pom.xml b/paimon-filesystems/paimon-oss/pom.xml index 9d70a94ef..349336ab1 100644 --- a/paimon-filesystems/paimon-oss/pom.xml +++ b/paimon-filesystems/paimon-oss/pom.xml @@ -22,26 +22,26 @@ <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-filesystems</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-filesystems</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-oss</artifactId> - <name>Flink Table Store : FileSystems : OSS</name> + <artifactId>paimon-oss</artifactId> + <name>Paimon : FileSystems : OSS</name> <packaging>jar</packaging> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-oss-impl</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-oss-impl</artifactId> <version>${project.version}</version> <scope>runtime</scope> <optional>true</optional> @@ -69,12 +69,12 @@ <configuration> <artifactItems> <artifactItem> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-oss-impl</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-oss-impl</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>true</overWrite> - <destFileName>flink-table-store-plugin-oss.jar</destFileName> + <destFileName>paimon-plugin-oss.jar</destFileName> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/classes</outputDirectory> diff --git a/paimon-filesystems/paimon-oss/src/main/java/org/apache/paimon/oss/OSSLoader.java b/paimon-filesystems/paimon-oss/src/main/java/org/apache/paimon/oss/OSSLoader.java index c7353a739..9a5c4cdd4 100644 --- a/paimon-filesystems/paimon-oss/src/main/java/org/apache/paimon/oss/OSSLoader.java +++ b/paimon-filesystems/paimon-oss/src/main/java/org/apache/paimon/oss/OSSLoader.java @@ -29,7 +29,7 @@ import org.apache.paimon.plugin.PluginLoader; /** A {@link PluginLoader} to load oss. */ public class OSSLoader implements FileIOLoader { - private static final String OSS_JAR = "flink-table-store-plugin-oss.jar"; + private static final String OSS_JAR = "paimon-plugin-oss.jar"; private static final String OSS_CLASS = "org.apache.paimon.oss.OSSFileIO"; diff --git a/paimon-filesystems/paimon-s3-impl/pom.xml b/paimon-filesystems/paimon-s3-impl/pom.xml index 518904346..5fbdf29c5 100644 --- a/paimon-filesystems/paimon-s3-impl/pom.xml +++ b/paimon-filesystems/paimon-s3-impl/pom.xml @@ -22,13 +22,13 @@ <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-filesystems</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-filesystems</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-s3-impl</artifactId> - <name>Flink Table Store : FileSystems : S3 : Impl</name> + <artifactId>paimon-s3-impl</artifactId> + <name>Paimon : FileSystems : S3 : Impl</name> <packaging>jar</packaging> <properties> @@ -67,8 +67,8 @@ <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> diff --git a/paimon-filesystems/paimon-s3-impl/src/main/resources/META-INF/NOTICE b/paimon-filesystems/paimon-s3-impl/src/main/resources/META-INF/NOTICE index c4a782ce6..7248ce2f6 100644 --- a/paimon-filesystems/paimon-s3-impl/src/main/resources/META-INF/NOTICE +++ b/paimon-filesystems/paimon-s3-impl/src/main/resources/META-INF/NOTICE @@ -1,4 +1,4 @@ -flink-table-store-s3-impl +paimon-s3-impl Copyright 2014-2022 The Apache Software Foundation This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) diff --git a/paimon-filesystems/paimon-s3/pom.xml b/paimon-filesystems/paimon-s3/pom.xml index e37ee0321..2a779d9f2 100644 --- a/paimon-filesystems/paimon-s3/pom.xml +++ b/paimon-filesystems/paimon-s3/pom.xml @@ -22,26 +22,26 @@ <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-filesystems</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-filesystems</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-s3</artifactId> - <name>Flink Table Store : FileSystems : S3</name> + <artifactId>paimon-s3</artifactId> + <name>Paimon : FileSystems : S3</name> <packaging>jar</packaging> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-s3-impl</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-s3-impl</artifactId> <version>${project.version}</version> <scope>runtime</scope> <optional>true</optional> @@ -69,12 +69,12 @@ <configuration> <artifactItems> <artifactItem> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-s3-impl</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-s3-impl</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>true</overWrite> - <destFileName>flink-table-store-plugin-s3.jar</destFileName> + <destFileName>paimon-plugin-s3.jar</destFileName> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/classes</outputDirectory> diff --git a/paimon-filesystems/paimon-s3/src/main/java/org/apache/paimon/s3/S3Loader.java b/paimon-filesystems/paimon-s3/src/main/java/org/apache/paimon/s3/S3Loader.java index 56b053e33..a82367373 100644 --- a/paimon-filesystems/paimon-s3/src/main/java/org/apache/paimon/s3/S3Loader.java +++ b/paimon-filesystems/paimon-s3/src/main/java/org/apache/paimon/s3/S3Loader.java @@ -29,7 +29,7 @@ import org.apache.paimon.plugin.PluginLoader; /** A {@link PluginLoader} to load oss. */ public class S3Loader implements FileIOLoader { - private static final String S3_JAR = "flink-table-store-plugin-s3.jar"; + private static final String S3_JAR = "paimon-plugin-s3.jar"; private static final String S3_CLASS = "org.apache.paimon.s3.S3FileIO"; diff --git a/paimon-filesystems/pom.xml b/paimon-filesystems/pom.xml index 08d3cbb4a..8710839aa 100644 --- a/paimon-filesystems/pom.xml +++ b/paimon-filesystems/pom.xml @@ -22,13 +22,13 @@ <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-filesystems</artifactId> - <name>Flink Table Store : FileSystems : </name> + <artifactId>paimon-filesystems</artifactId> + <name>Paimon : FileSystems : </name> <packaging>pom</packaging> <modules> diff --git a/paimon-flink/paimon-flink-1.14/pom.xml b/paimon-flink/paimon-flink-1.14/pom.xml index 7a4d97bec..e6dec3289 100644 --- a/paimon-flink/paimon-flink-1.14/pom.xml +++ b/paimon-flink/paimon-flink-1.14/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-flink</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-flink</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-flink-1.14</artifactId> - <name>Flink Table Store : Flink : 1.14</name> + <artifactId>paimon-flink-1.14</artifactId> + <name>Paimon : Flink : 1.14</name> <properties> <flink.version>1.14.6</flink.version> @@ -38,8 +38,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-flink-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-flink-common</artifactId> <version>${project.version}</version> <exclusions> <exclusion> @@ -146,7 +146,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-flink-common</include> + <include>org.apache.flink:paimon-flink-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-flink/paimon-flink-1.15/pom.xml b/paimon-flink/paimon-flink-1.15/pom.xml index 13917113f..11b6c9808 100644 --- a/paimon-flink/paimon-flink-1.15/pom.xml +++ b/paimon-flink/paimon-flink-1.15/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-flink</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-flink</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-flink-1.15</artifactId> - <name>Flink Table Store : Flink : 1.15</name> + <artifactId>paimon-flink-1.15</artifactId> + <name>Paimon : Flink : 1.15</name> <properties> <flink.version>1.15.3</flink.version> @@ -38,8 +38,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-flink-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-flink-common</artifactId> <version>${project.version}</version> <exclusions> <exclusion> @@ -153,7 +153,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-flink-common</include> + <include>org.apache.flink:paimon-flink-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-flink/paimon-flink-1.16/pom.xml b/paimon-flink/paimon-flink-1.16/pom.xml index 944c4bf5f..e091ea14d 100644 --- a/paimon-flink/paimon-flink-1.16/pom.xml +++ b/paimon-flink/paimon-flink-1.16/pom.xml @@ -23,15 +23,15 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-flink</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-flink</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> <packaging>jar</packaging> - <artifactId>flink-table-store-flink-1.16</artifactId> - <name>Flink Table Store : Flink : 1.16</name> + <artifactId>paimon-flink-1.16</artifactId> + <name>Paimon : Flink : 1.16</name> <properties> <flink.version>1.16.1</flink.version> @@ -39,8 +39,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-flink-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-flink-common</artifactId> <version>${project.version}</version> </dependency> </dependencies> @@ -60,7 +60,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-flink-common</include> + <include>org.apache.flink:paimon-flink-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-flink/paimon-flink-common/pom.xml b/paimon-flink/paimon-flink-common/pom.xml index b911fbe64..e0d7380fa 100644 --- a/paimon-flink/paimon-flink-common/pom.xml +++ b/paimon-flink/paimon-flink-common/pom.xml @@ -23,15 +23,15 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-flink</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-flink</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> <packaging>jar</packaging> - <artifactId>flink-table-store-flink-common</artifactId> - <name>Flink Table Store : Flink : Common</name> + <artifactId>paimon-flink-common</artifactId> + <name>Paimon : Flink : Common</name> <properties> <flink.version>1.16.1</flink.version> @@ -125,8 +125,8 @@ under the License. <!-- test dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> @@ -256,10 +256,10 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-common</include> - <include>org.apache.flink:flink-table-store-core</include> - <include>org.apache.flink:flink-table-store-format</include> - <include>org.apache.flink:flink-table-store-codegen-loader</include> + <include>org.apache.flink:paimon-common</include> + <include>org.apache.flink:paimon-core</include> + <include>org.apache.flink:paimon-format</include> + <include>org.apache.flink:paimon-codegen-loader</include> </includes> </artifactSet> <relocations> diff --git a/paimon-flink/pom.xml b/paimon-flink/pom.xml index f3cc62853..98d502f17 100644 --- a/paimon-flink/pom.xml +++ b/paimon-flink/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-flink</artifactId> - <name>Flink Table Store : Flink</name> + <artifactId>paimon-flink</artifactId> + <name>Paimon : Flink</name> <packaging>pom</packaging> @@ -42,32 +42,32 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-codegen-loader</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-codegen-loader</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-core</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-core</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-format</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-format</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-core</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-core</artifactId> <version>${project.version}</version> <scope>test</scope> <type>test-jar</type> diff --git a/paimon-format/pom.xml b/paimon-format/pom.xml index 532c2c672..eb8f140b2 100644 --- a/paimon-format/pom.xml +++ b/paimon-format/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-format</artifactId> - <name>Flink Table Store : Format</name> + <artifactId>paimon-format</artifactId> + <name>Paimon : Format</name> <properties> <parquet.version>1.12.3</parquet.version> @@ -41,8 +41,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> @@ -181,8 +181,8 @@ under the License. <!-- test dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> diff --git a/paimon-format/src/main/resources/META-INF/NOTICE b/paimon-format/src/main/resources/META-INF/NOTICE index d98fe55d1..40698b483 100644 --- a/paimon-format/src/main/resources/META-INF/NOTICE +++ b/paimon-format/src/main/resources/META-INF/NOTICE @@ -1,4 +1,4 @@ -flink-table-store-format +paimon-format Copyright 2014-2022 The Apache Software Foundation This product includes software developed at diff --git a/paimon-hive/paimon-hive-catalog/pom.xml b/paimon-hive/paimon-hive-catalog/pom.xml index f0cb93ebc..8413984d8 100644 --- a/paimon-hive/paimon-hive-catalog/pom.xml +++ b/paimon-hive/paimon-hive-catalog/pom.xml @@ -23,27 +23,27 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-hive</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-hive</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive-catalog</artifactId> - <name>Flink Table Store : Hive Catalog</name> + <artifactId>paimon-hive-catalog</artifactId> + <name>Paimon : Hive Catalog</name> <packaging>jar</packaging> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-core</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-core</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-common</artifactId> <version>${project.version}</version> </dependency> @@ -124,15 +124,15 @@ under the License. <!-- test dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-flink-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-flink-common</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-connector-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-connector-common</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> @@ -489,7 +489,7 @@ under the License. <!-- Why we need this test dependency: IDEA reads classes from the same project from target/classes of that module, - so even though we've packaged and shaded avro classes into flink-table-store-format.jar + so even though we've packaged and shaded avro classes into paimon-format.jar we still have to include this test dependency here. Why do we put this test dependency before the provided hive-exec: @@ -577,7 +577,7 @@ under the License. <configuration> <artifactSet> <includes> - <include>org.apache.flink:flink-table-store-hive-common</include> + <include>org.apache.flink:paimon-hive-common</include> <include>org.apache.thrift:libthrift</include> <include>org.apache.thrift:libfb303</include> <include>com.google.guava:guava</include> diff --git a/paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java b/paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java index a07d870d3..43340e0ee 100644 --- a/paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java +++ b/paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/HiveCatalog.java @@ -69,7 +69,7 @@ import static org.apache.paimon.utils.Preconditions.checkState; public class HiveCatalog extends AbstractCatalog { private static final Logger LOG = LoggerFactory.getLogger(HiveCatalog.class); - // we don't include flink-table-store-hive-connector as dependencies because it depends on + // we don't include paimon-hive-connector as dependencies because it depends on // hive-exec private static final String INPUT_FORMAT_CLASS_NAME = "org.apache.paimon.hive.mapred.TableStoreInputFormat"; diff --git a/paimon-hive/paimon-hive-catalog/src/main/resources-filtered/META-INF/NOTICE b/paimon-hive/paimon-hive-catalog/src/main/resources-filtered/META-INF/NOTICE index 465ec1979..b011e413e 100644 --- a/paimon-hive/paimon-hive-catalog/src/main/resources-filtered/META-INF/NOTICE +++ b/paimon-hive/paimon-hive-catalog/src/main/resources-filtered/META-INF/NOTICE @@ -1,4 +1,4 @@ -flink-table-store-hive-catalog +paimon-hive-catalog Copyright 2014-2022 The Apache Software Foundation This product includes software developed at diff --git a/paimon-hive/paimon-hive-common/pom.xml b/paimon-hive/paimon-hive-common/pom.xml index d6eb92e31..b8d1ff638 100644 --- a/paimon-hive/paimon-hive-common/pom.xml +++ b/paimon-hive/paimon-hive-common/pom.xml @@ -23,20 +23,20 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-hive</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-hive</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive-common</artifactId> - <name>Flink Table Store : Hive Common</name> + <artifactId>paimon-hive-common</artifactId> + <name>Paimon : Hive Common</name> <packaging>jar</packaging> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> diff --git a/paimon-hive/paimon-hive-connector-2.1-cdh-6.3/pom.xml b/paimon-hive/paimon-hive-connector-2.1-cdh-6.3/pom.xml index 90c7e5ca7..5bd77abad 100644 --- a/paimon-hive/paimon-hive-connector-2.1-cdh-6.3/pom.xml +++ b/paimon-hive/paimon-hive-connector-2.1-cdh-6.3/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-hive</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-hive</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive-connector-2.1-cdh-6.3</artifactId> - <name>Flink Table Store : Hive Connector : 2.1-cdh-6.3</name> + <artifactId>paimon-hive-connector-2.1-cdh-6.3</artifactId> + <name>Paimon : Hive Connector : 2.1-cdh-6.3</name> <packaging>jar</packaging> @@ -39,8 +39,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-connector-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-connector-common</artifactId> <version>${project.version}</version> </dependency> </dependencies> @@ -60,7 +60,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-hive-connector-common</include> + <include>org.apache.flink:paimon-hive-connector-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-hive/paimon-hive-connector-2.1/pom.xml b/paimon-hive/paimon-hive-connector-2.1/pom.xml index f23434d15..05dde38d5 100644 --- a/paimon-hive/paimon-hive-connector-2.1/pom.xml +++ b/paimon-hive/paimon-hive-connector-2.1/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-hive</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-hive</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive-connector-2.1</artifactId> - <name>Flink Table Store : Hive Connector : 2.1</name> + <artifactId>paimon-hive-connector-2.1</artifactId> + <name>Paimon : Hive Connector : 2.1</name> <packaging>jar</packaging> @@ -39,8 +39,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-connector-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-connector-common</artifactId> <version>${project.version}</version> </dependency> </dependencies> @@ -60,7 +60,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-hive-connector-common</include> + <include>org.apache.flink:paimon-hive-connector-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-hive/paimon-hive-connector-2.2/pom.xml b/paimon-hive/paimon-hive-connector-2.2/pom.xml index b4236ee56..71ad5496c 100644 --- a/paimon-hive/paimon-hive-connector-2.2/pom.xml +++ b/paimon-hive/paimon-hive-connector-2.2/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-hive</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-hive</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive-connector-2.2</artifactId> - <name>Flink Table Store : Hive Connector : 2.2</name> + <artifactId>paimon-hive-connector-2.2</artifactId> + <name>Paimon : Hive Connector : 2.2</name> <packaging>jar</packaging> @@ -39,8 +39,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-connector-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-connector-common</artifactId> <version>${project.version}</version> </dependency> </dependencies> @@ -60,7 +60,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-hive-connector-common</include> + <include>org.apache.flink:paimon-hive-connector-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-hive/paimon-hive-connector-2.3/pom.xml b/paimon-hive/paimon-hive-connector-2.3/pom.xml index 23cf733b5..aa2f41611 100644 --- a/paimon-hive/paimon-hive-connector-2.3/pom.xml +++ b/paimon-hive/paimon-hive-connector-2.3/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-hive</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-hive</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive-connector-2.3</artifactId> - <name>Flink Table Store : Hive Connector : 2.3</name> + <artifactId>paimon-hive-connector-2.3</artifactId> + <name>Paimon : Hive Connector : 2.3</name> <packaging>jar</packaging> @@ -39,8 +39,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-connector-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-connector-common</artifactId> <version>${project.version}</version> </dependency> </dependencies> @@ -60,7 +60,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-hive-connector-common</include> + <include>org.apache.flink:paimon-hive-connector-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-hive/paimon-hive-connector-3.1/pom.xml b/paimon-hive/paimon-hive-connector-3.1/pom.xml index b5b95d453..af9578398 100644 --- a/paimon-hive/paimon-hive-connector-3.1/pom.xml +++ b/paimon-hive/paimon-hive-connector-3.1/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-hive</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-hive</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive-connector-3.1</artifactId> - <name>Flink Table Store : Hive Connector : 3.1</name> + <artifactId>paimon-hive-connector-3.1</artifactId> + <name>Paimon : Hive Connector : 3.1</name> <packaging>jar</packaging> @@ -39,8 +39,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-connector-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-connector-common</artifactId> <version>${project.version}</version> </dependency> @@ -98,7 +98,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-hive-connector-common</include> + <include>org.apache.flink:paimon-hive-connector-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-hive/paimon-hive-connector-common/pom.xml b/paimon-hive/paimon-hive-connector-common/pom.xml index 3e8a7900a..199262020 100644 --- a/paimon-hive/paimon-hive-connector-common/pom.xml +++ b/paimon-hive/paimon-hive-connector-common/pom.xml @@ -23,27 +23,27 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-hive</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-hive</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive-connector-common</artifactId> - <name>Flink Table Store : Hive Connector Common</name> + <artifactId>paimon-hive-connector-common</artifactId> + <name>Paimon : Hive Connector Common</name> <packaging>jar</packaging> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-hive-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-hive-common</artifactId> <version>${project.version}</version> </dependency> <!-- Flink All dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-shade</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-shade</artifactId> <version>${project.version}</version> </dependency> @@ -84,7 +84,7 @@ under the License. <!-- Why we need this test dependency: IDEA reads classes from the same project from target/classes of that module, - so even though we've packaged and shaded avro classes into flink-table-store-format.jar + so even though we've packaged and shaded avro classes into paimon-format.jar we still have to include this test dependency here. Why do we put this test dependency before the provided hive-exec: @@ -139,8 +139,8 @@ under the License. <!-- test dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-core</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-core</artifactId> <version>${project.version}</version> <scope>test</scope> <type>test-jar</type> @@ -520,8 +520,8 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-hive-common</include> - <include>org.apache.flink:flink-table-store-shade</include> + <include>org.apache.flink:paimon-hive-common</include> + <include>org.apache.flink:paimon-shade</include> </includes> </artifactSet> </configuration> diff --git a/paimon-hive/pom.xml b/paimon-hive/pom.xml index c39f101d6..fc888bbb2 100644 --- a/paimon-hive/pom.xml +++ b/paimon-hive/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-hive</artifactId> - <name>Flink Table Store : Hive</name> + <artifactId>paimon-hive</artifactId> + <name>Paimon : Hive</name> <packaging>pom</packaging> diff --git a/paimon-shade/pom.xml b/paimon-shade/pom.xml index 67292623d..67451b585 100644 --- a/paimon-shade/pom.xml +++ b/paimon-shade/pom.xml @@ -23,43 +23,43 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-shade</artifactId> - <name>Flink Table Store : Shade</name> + <artifactId>paimon-shade</artifactId> + <name>Paimon : Shade</name> <packaging>jar</packaging> <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-common</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-core</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-core</artifactId> <version>${project.version}</version> </dependency> <!-- codegen runtime dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-codegen-loader</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-codegen-loader</artifactId> <version>${project.version}</version> </dependency> <!-- format runtime dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-format</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-format</artifactId> <version>${project.version}</version> </dependency> @@ -117,10 +117,10 @@ under the License. <include>org.apache.flink:flink-shaded-asm-9</include> <!-- Flink Table Store --> - <include>org.apache.flink:flink-table-store-common</include> - <include>org.apache.flink:flink-table-store-core</include> - <include>org.apache.flink:flink-table-store-format</include> - <include>org.apache.flink:flink-table-store-codegen-loader</include> + <include>org.apache.flink:paimon-common</include> + <include>org.apache.flink:paimon-core</include> + <include>org.apache.flink:paimon-format</include> + <include>org.apache.flink:paimon-codegen-loader</include> <!-- Others, not shade to reduce conflicting --> <!-- <include>org.xerial.snappy:snappy-java</include> --> diff --git a/paimon-spark/paimon-spark-2/pom.xml b/paimon-spark/paimon-spark-2/pom.xml index 7207d74fd..34dd7dc1c 100644 --- a/paimon-spark/paimon-spark-2/pom.xml +++ b/paimon-spark/paimon-spark-2/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark</artifactId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-spark-2</artifactId> - <name>Flink Table Store : Spark : 2</name> + <artifactId>paimon-spark-2</artifactId> + <name>Paimon : Spark : 2</name> <properties> <spark2.version>2.4.8</spark2.version> @@ -38,8 +38,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark-common</artifactId> <version>${project.version}</version> <exclusions> <exclusion> @@ -101,7 +101,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-spark-common</include> + <include>org.apache.flink:paimon-spark-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-spark/paimon-spark-3.1/pom.xml b/paimon-spark/paimon-spark-3.1/pom.xml index 45fe23bf1..6ed901dc2 100644 --- a/paimon-spark/paimon-spark-3.1/pom.xml +++ b/paimon-spark/paimon-spark-3.1/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark</artifactId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-spark-3.1</artifactId> - <name>Flink Table Store : Spark : 3.1</name> + <artifactId>paimon-spark-3.1</artifactId> + <name>Paimon : Spark : 3.1</name> <properties> <spark.version>3.1.3</spark.version> @@ -37,8 +37,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark-common</artifactId> <version>${project.version}</version> </dependency> @@ -74,7 +74,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-spark-common</include> + <include>org.apache.flink:paimon-spark-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-spark/paimon-spark-3.2/pom.xml b/paimon-spark/paimon-spark-3.2/pom.xml index 4f2610c1c..ee7c85f78 100644 --- a/paimon-spark/paimon-spark-3.2/pom.xml +++ b/paimon-spark/paimon-spark-3.2/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark</artifactId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-spark-3.2</artifactId> - <name>Flink Table Store : Spark : 3.2</name> + <artifactId>paimon-spark-3.2</artifactId> + <name>Paimon : Spark : 3.2</name> <properties> <spark.version>3.2.2</spark.version> @@ -37,8 +37,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark-common</artifactId> <version>${project.version}</version> </dependency> @@ -74,7 +74,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-spark-common</include> + <include>org.apache.flink:paimon-spark-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-spark/paimon-spark-3.3/pom.xml b/paimon-spark/paimon-spark-3.3/pom.xml index a03ebd1d3..a0bc22fb2 100644 --- a/paimon-spark/paimon-spark-3.3/pom.xml +++ b/paimon-spark/paimon-spark-3.3/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark</artifactId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-spark-3.3</artifactId> - <name>Flink Table Store : Spark : 3.3</name> + <artifactId>paimon-spark-3.3</artifactId> + <name>Paimon : Spark : 3.3</name> <properties> <spark.version>3.3.0</spark.version> @@ -37,8 +37,8 @@ under the License. <dependencies> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-spark-common</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-spark-common</artifactId> <version>${project.version}</version> </dependency> @@ -74,7 +74,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-spark-common</include> + <include>org.apache.flink:paimon-spark-common</include> </includes> </artifactSet> </configuration> diff --git a/paimon-spark/paimon-spark-common/pom.xml b/paimon-spark/paimon-spark-common/pom.xml index 1303a81c7..c898a8f9a 100644 --- a/paimon-spark/paimon-spark-common/pom.xml +++ b/paimon-spark/paimon-spark-common/pom.xml @@ -23,15 +23,15 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-spark</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-spark</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> <packaging>jar</packaging> - <artifactId>flink-table-store-spark-common</artifactId> - <name>Flink Table Store : Spark : Common</name> + <artifactId>paimon-spark-common</artifactId> + <name>Paimon : Spark : Common</name> <properties> <spark.version>3.2.2</spark.version> @@ -74,7 +74,7 @@ under the License. <configuration> <artifactSet> <includes combine.children="append"> - <include>org.apache.flink:flink-table-store-shade</include> + <include>org.apache.flink:paimon-shade</include> </includes> </artifactSet> </configuration> diff --git a/paimon-spark/pom.xml b/paimon-spark/pom.xml index 1283cab61..a618cbfce 100644 --- a/paimon-spark/pom.xml +++ b/paimon-spark/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-spark</artifactId> - <name>Flink Table Store : Spark</name> + <artifactId>paimon-spark</artifactId> + <name>Paimon : Spark</name> <packaging>pom</packaging> @@ -49,23 +49,23 @@ under the License. <!-- Flink All dependencies --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-shade</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-shade</artifactId> <version>${project.version}</version> </dependency> <!-- Test --> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-test-utils</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-test-utils</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-s3</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-s3</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> diff --git a/paimon-test-utils/pom.xml b/paimon-test-utils/pom.xml index 3b3261d83..d77fe4c89 100644 --- a/paimon-test-utils/pom.xml +++ b/paimon-test-utils/pom.xml @@ -23,13 +23,13 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> <version>0.4-SNAPSHOT</version> </parent> - <artifactId>flink-table-store-test-utils</artifactId> - <name>Flink Table Store : Test utils</name> + <artifactId>paimon-test-utils</artifactId> + <name>Paimon : Test utils</name> <dependencies> <dependency> diff --git a/pom.xml b/pom.xml index d0876bed6..9c3cf4d05 100644 --- a/pom.xml +++ b/pom.xml @@ -28,9 +28,9 @@ under the License. <version>23</version> </parent> - <artifactId>flink-table-store-parent</artifactId> - <groupId>org.apache.flink</groupId> - <name>Flink Table Store</name> + <artifactId>paimon-parent</artifactId> + <groupId>org.apache.paimon</groupId> + <name>Paimon : </name> <version>0.4-SNAPSHOT</version> <packaging>pom</packaging> @@ -46,9 +46,9 @@ under the License. </licenses> <scm> - <url>https://github.com/apache/flink-table-store</url> - <connection>[email protected]:apache/flink-table-store.git</connection> - <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/flink-table-store.git</developerConnection> + <url>https://github.com/apache/incubator-paimon</url> + <connection>[email protected]:apache/incubator-paimon.git</connection> + <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/incubator-paimon.git</developerConnection> </scm> <modules> @@ -552,7 +552,7 @@ under the License. </includes> <message> Direct dependencies on flink-table-planner are not allowed. - You should depend on either Table API modules, flink-table-planner-loader or flink-table-store-codegen-loader. + You should depend on either Table API modules, flink-table-planner-loader or paimon-codegen-loader. </message> </bannedDependencies> </rules> @@ -659,8 +659,8 @@ under the License. <configuration> <property>rootDir</property> <project> - <groupId>org.apache.flink</groupId> - <artifactId>flink-table-store-parent</artifactId> + <groupId>org.apache.paimon</groupId> + <artifactId>paimon-parent</artifactId> </project> </configuration> </execution> diff --git a/tools/releasing/create_binary_release.sh b/tools/releasing/create_binary_release.sh index d3dd43746..305d65966 100755 --- a/tools/releasing/create_binary_release.sh +++ b/tools/releasing/create_binary_release.sh @@ -56,48 +56,48 @@ mkdir ${RELEASE_DIR} ########################### mvn clean install -Dcheckstyle.skip=true -Dgpg.skip -DskipTests -cp flink-table-store-flink/flink-table-store-flink-1.16/target/flink-table-store-flink-1.16-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-flink/flink-table-store-flink-1.15/target/flink-table-store-flink-1.15-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-flink/flink-table-store-flink-1.14/target/flink-table-store-flink-1.14-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-flink/paimon-flink-1.16/target/paimon-flink-1.16-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-flink/paimon-flink-1.15/target/paimon-flink-1.15-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-flink/paimon-flink-1.14/target/paimon-flink-1.14-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-hive/flink-table-store-hive-catalog/target/flink-table-store-hive-catalog-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-hive/paimon-hive-catalog/target/paimon-hive-catalog-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-hive/flink-table-store-hive-connector-3.1/target/flink-table-store-hive-connector-3.1-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-hive/flink-table-store-hive-connector-2.3/target/flink-table-store-hive-connector-2.3-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-hive/flink-table-store-hive-connector-2.2/target/flink-table-store-hive-connector-2.2-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-hive/flink-table-store-hive-connector-2.1/target/flink-table-store-hive-connector-2.1-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-hive/flink-table-store-hive-connector-2.1-cdh-6.3/target/flink-table-store-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-hive/paimon-hive-connector-3.1/target/paimon-hive-connector-3.1-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-hive/paimon-hive-connector-2.3/target/paimon-hive-connector-2.3-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-hive/paimon-hive-connector-2.2/target/paimon-hive-connector-2.2-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-hive/paimon-hive-connector-2.1/target/paimon-hive-connector-2.1-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-hive/paimon-hive-connector-2.1-cdh-6.3/target/paimon-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-spark/flink-table-store-spark-3.3/target/flink-table-store-spark-3.3-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-spark/flink-table-store-spark-3.2/target/flink-table-store-spark-3.2-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-spark/flink-table-store-spark-3.1/target/flink-table-store-spark-3.1-${RELEASE_VERSION}.jar ${RELEASE_DIR} -cp flink-table-store-spark/flink-table-store-spark-2/target/flink-table-store-spark-2-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-spark/paimon-spark-3.3/target/paimon-spark-3.3-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-spark/paimon-spark-3.2/target/paimon-spark-3.2-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-spark/paimon-spark-3.1/target/paimon-spark-3.1-${RELEASE_VERSION}.jar ${RELEASE_DIR} +cp paimon-spark/paimon-spark-2/target/paimon-spark-2-${RELEASE_VERSION}.jar ${RELEASE_DIR} cd ${RELEASE_DIR} -gpg --armor --detach-sig "flink-table-store-flink-1.16-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-flink-1.15-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-flink-1.14-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-hive-catalog-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-hive-connector-3.1-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-hive-connector-2.3-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-hive-connector-2.2-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-hive-connector-2.1-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-spark-3.3-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-spark-3.2-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-spark-3.1-${RELEASE_VERSION}.jar" -gpg --armor --detach-sig "flink-table-store-spark-2-${RELEASE_VERSION}.jar" - -$SHASUM "flink-table-store-flink-1.16-${RELEASE_VERSION}.jar" > "flink-table-store-flink-1.16-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-flink-1.15-${RELEASE_VERSION}.jar" > "flink-table-store-flink-1.15-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-flink-1.14-${RELEASE_VERSION}.jar" > "flink-table-store-flink-1.14-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-hive-catalog-${RELEASE_VERSION}.jar" > "flink-table-store-hive-catalog-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-hive-connector-3.1-${RELEASE_VERSION}.jar" > "flink-table-store-hive-connector-3.1-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-hive-connector-2.3-${RELEASE_VERSION}.jar" > "flink-table-store-hive-connector-2.3-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-hive-connector-2.2-${RELEASE_VERSION}.jar" > "flink-table-store-hive-connector-2.2-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-hive-connector-2.1-${RELEASE_VERSION}.jar" > "flink-table-store-hive-connector-2.1-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar" > "flink-table-store-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-spark-3.3-${RELEASE_VERSION}.jar" > "flink-table-store-spark-3.3-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-spark-3.2-${RELEASE_VERSION}.jar" > "flink-table-store-spark-3.2-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-spark-3.1-${RELEASE_VERSION}.jar" > "flink-table-store-spark-3.1-${RELEASE_VERSION}.jar.sha512" -$SHASUM "flink-table-store-spark-2-${RELEASE_VERSION}.jar" > "flink-table-store-spark-2-${RELEASE_VERSION}.jar.sha512" +gpg --armor --detach-sig "paimon-flink-1.16-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-flink-1.15-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-flink-1.14-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-hive-catalog-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-hive-connector-3.1-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-hive-connector-2.3-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-hive-connector-2.2-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-hive-connector-2.1-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-spark-3.3-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-spark-3.2-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-spark-3.1-${RELEASE_VERSION}.jar" +gpg --armor --detach-sig "paimon-spark-2-${RELEASE_VERSION}.jar" + +$SHASUM "paimon-flink-1.16-${RELEASE_VERSION}.jar" > "paimon-flink-1.16-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-flink-1.15-${RELEASE_VERSION}.jar" > "paimon-flink-1.15-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-flink-1.14-${RELEASE_VERSION}.jar" > "paimon-flink-1.14-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-hive-catalog-${RELEASE_VERSION}.jar" > "paimon-hive-catalog-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-hive-connector-3.1-${RELEASE_VERSION}.jar" > "paimon-hive-connector-3.1-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-hive-connector-2.3-${RELEASE_VERSION}.jar" > "paimon-hive-connector-2.3-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-hive-connector-2.2-${RELEASE_VERSION}.jar" > "paimon-hive-connector-2.2-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-hive-connector-2.1-${RELEASE_VERSION}.jar" > "paimon-hive-connector-2.1-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar" > "paimon-hive-connector-2.1-cdh-6.3-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-spark-3.3-${RELEASE_VERSION}.jar" > "paimon-spark-3.3-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-spark-3.2-${RELEASE_VERSION}.jar" > "paimon-spark-3.2-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-spark-3.1-${RELEASE_VERSION}.jar" > "paimon-spark-3.1-${RELEASE_VERSION}.jar.sha512" +$SHASUM "paimon-spark-2-${RELEASE_VERSION}.jar" > "paimon-spark-2-${RELEASE_VERSION}.jar.sha512" diff --git a/tools/releasing/create_source_release.sh b/tools/releasing/create_source_release.sh index 17318515b..99b27a062 100755 --- a/tools/releasing/create_source_release.sh +++ b/tools/releasing/create_source_release.sh @@ -55,7 +55,7 @@ fi ########################### RELEASE_DIR=${PROJECT_ROOT}/release -CLONE_DIR=${RELEASE_DIR}/flink-table-store-tmp-clone +CLONE_DIR=${RELEASE_DIR}/paimon-tmp-clone rm -rf ${RELEASE_DIR} mkdir ${RELEASE_DIR} @@ -75,12 +75,12 @@ rsync -a \ --exclude "target" \ --exclude ".idea" --exclude "*.iml" \ --exclude ".travis.yml" \ - . flink-table-store-${RELEASE_VERSION} + . paimon-${RELEASE_VERSION} -tar czf ${RELEASE_DIR}/flink-table-store-${RELEASE_VERSION}-src.tgz flink-table-store-${RELEASE_VERSION} -gpg --armor --detach-sig ${RELEASE_DIR}/flink-table-store-${RELEASE_VERSION}-src.tgz +tar czf ${RELEASE_DIR}/paimon-${RELEASE_VERSION}-src.tgz paimon-${RELEASE_VERSION} +gpg --armor --detach-sig ${RELEASE_DIR}/paimon-${RELEASE_VERSION}-src.tgz cd ${RELEASE_DIR} -${SHASUM} flink-table-store-${RELEASE_VERSION}-src.tgz > flink-table-store-${RELEASE_VERSION}-src.tgz.sha512 +${SHASUM} paimon-${RELEASE_VERSION}-src.tgz > paimon-${RELEASE_VERSION}-src.tgz.sha512 rm -rf ${CLONE_DIR}
