This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/flink-connector-elasticsearch.git


The following commit(s) were added to refs/heads/main by this push:
     new 617bd96  [FLINK-27757][Connector][Elasticsearch] Elasticsearch 
connector should not use `flink-table-planner` but 
`flink-table-planner-loader`. We also need to add `flink-table-runtime` to 
avoid ClassNotFoundException on 
`org.apache.flink.table.shaded.com.jayway.jsonpath.spi.mapper.MappingProvider`
617bd96 is described below

commit 617bd96696443f6e0cd1adf773de346d24680e41
Author: MartijnVisser <[email protected]>
AuthorDate: Tue May 24 20:22:54 2022 +0200

    [FLINK-27757][Connector][Elasticsearch] Elasticsearch connector should not 
use `flink-table-planner` but `flink-table-planner-loader`. We also need to add 
`flink-table-runtime` to avoid ClassNotFoundException on 
`org.apache.flink.table.shaded.com.jayway.jsonpath.spi.mapper.MappingProvider`
---
 flink-connector-elasticsearch6/pom.xml | 9 ++++++++-
 flink-connector-elasticsearch7/pom.xml | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/flink-connector-elasticsearch6/pom.xml 
b/flink-connector-elasticsearch6/pom.xml
index a119e20..de6c864 100644
--- a/flink-connector-elasticsearch6/pom.xml
+++ b/flink-connector-elasticsearch6/pom.xml
@@ -146,7 +146,14 @@ under the License.
                <!-- Table API integration tests -->
                <dependency>
                        <groupId>org.apache.flink</groupId>
-                       
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
+                       <artifactId>flink-table-planner-loader</artifactId>
+                       <version>${flink.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-table-runtime</artifactId>
                        <version>${flink.version}</version>
                        <scope>test</scope>
                </dependency>
diff --git a/flink-connector-elasticsearch7/pom.xml 
b/flink-connector-elasticsearch7/pom.xml
index 9e33e32..1ae39e2 100644
--- a/flink-connector-elasticsearch7/pom.xml
+++ b/flink-connector-elasticsearch7/pom.xml
@@ -143,7 +143,14 @@ under the License.
                <!-- Table API integration tests -->
                <dependency>
                        <groupId>org.apache.flink</groupId>
-                       
<artifactId>flink-table-planner_${scala.binary.version}</artifactId>
+                       <artifactId>flink-table-planner-loader</artifactId>
+                       <version>${flink.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.flink</groupId>
+                       <artifactId>flink-table-runtime</artifactId>
                        <version>${flink.version}</version>
                        <scope>test</scope>
                </dependency>

Reply via email to