You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/12/20 13:13:23 UTC
[GitHub] [flink] MartijnVisser opened a new pull request, #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
MartijnVisser opened a new pull request, #21536:
URL: https://github.com/apache/flink/pull/21536
## What is the purpose of the change
The JDBC connector has been externalized to https://github.com/apache/flink-connector-jdbc/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dianfu commented on a diff in pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
dianfu commented on code in PR #21536:
URL: https://github.com/apache/flink/pull/21536#discussion_r1064534792
##########
flink-python/pom.xml:
##########
@@ -322,7 +322,7 @@ under the License.
<!-- Indirectly accessed in pyflink_gateway_server -->
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-jdbc</artifactId>
- <version>${project.version}</version>
+ <version>3.0.0-1.16</version>
Review Comment:
I think the versions of external connectors could be updated asynchronously. The dependencies are introduced to ensure that the Python connector API works well. If there are some backward-compatibility issues in Flink 1.16 for newly released version, e.g. 3.0.0-1.16 where we forgot to test, we can address that in a minor version, e.g. Flink 1.16.1.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] XComp commented on a diff in pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
XComp commented on code in PR #21536:
URL: https://github.com/apache/flink/pull/21536#discussion_r1056276909
##########
flink-python/pom.xml:
##########
@@ -322,7 +322,7 @@ under the License.
<!-- Indirectly accessed in pyflink_gateway_server -->
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-jdbc</artifactId>
- <version>${project.version}</version>
+ <version>3.0.0-1.16</version>
Review Comment:
@dianfu how shall we deal with external connector versions in PyFlink? Are there any suggestions from your side?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] MartijnVisser commented on a diff in pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
MartijnVisser commented on code in PR #21536:
URL: https://github.com/apache/flink/pull/21536#discussion_r1055404692
##########
flink-python/pom.xml:
##########
@@ -322,7 +322,7 @@ under the License.
<!-- Indirectly accessed in pyflink_gateway_server -->
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-jdbc</artifactId>
- <version>${project.version}</version>
+ <version>3.0.0-1.16</version>
Review Comment:
I don't know to be honest, because I don't know the type of tests that PyFlink is running with them. We'll need to sync on this with the PyFlink maintainers
##########
docs/data/sql_connectors.yml:
##########
@@ -148,7 +148,7 @@ jdbc:
name: JDBC
category: connector
maven: flink-connector-jdbc
- sql_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-connector-jdbc/$version/flink-connector-jdbc-$version.jar
+ sql_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-connector-jdbc/1.16.0/flink-connector-jdbc-1.16.0.jar
Review Comment:
Good catch, that's a mistake
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] XComp commented on a diff in pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
XComp commented on code in PR #21536:
URL: https://github.com/apache/flink/pull/21536#discussion_r1055342467
##########
flink-architecture-tests/flink-architecture-tests-production/archunit-violations/5b9eed8a-5fb6-4373-98ac-3be2a71941b8:
##########
@@ -384,4 +377,4 @@ org.apache.flink.streaming.runtime.operators.windowing.TimestampedValue.getStrea
org.apache.flink.streaming.runtime.streamrecord.LatencyMarker.getOperatorId(): Returned leaf type org.apache.flink.runtime.jobgraph.OperatorID does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
org.apache.flink.streaming.runtime.tasks.ProcessingTimeServiceAware.setProcessingTimeService(org.apache.flink.streaming.runtime.tasks.ProcessingTimeService): Argument leaf type org.apache.flink.streaming.runtime.tasks.ProcessingTimeService does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
org.apache.flink.table.operations.QueryOperation.accept(org.apache.flink.table.operations.QueryOperationVisitor): Argument leaf type org.apache.flink.table.operations.QueryOperationVisitor does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
-org.apache.flink.types.parser.FieldParser.getErrorState(): Returned leaf type org.apache.flink.types.parser.FieldParser$ParseErrorState does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
\ No newline at end of file
+org.apache.flink.types.parser.FieldParser.getErrorState(): Returned leaf type org.apache.flink.types.parser.FieldParser$ParseErrorState does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
Review Comment:
nit: newline added. But the [Flink code conventions](https://flink.apache.org/contributing/code-style-and-quality-formatting.html#files) actually are in favor of that ¯\_(ツ)_/¯
##########
flink-python/pom.xml:
##########
@@ -322,7 +322,7 @@ under the License.
<!-- Indirectly accessed in pyflink_gateway_server -->
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-jdbc</artifactId>
- <version>${project.version}</version>
+ <version>3.0.0-1.16</version>
Review Comment:
Is this required to be updated everytime we release a new version of `flink-connector-jdbc`? I'm wondering whether we should add some comment on the update procedure if we want this to stay update to date with the most-recently published connector verison. WDYT?
##########
docs/data/sql_connectors.yml:
##########
@@ -148,7 +148,7 @@ jdbc:
name: JDBC
category: connector
maven: flink-connector-jdbc
- sql_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-connector-jdbc/$version/flink-connector-jdbc-$version.jar
+ sql_url: https://repo.maven.apache.org/maven2/org/apache/flink/flink-connector-jdbc/1.16.0/flink-connector-jdbc-1.16.0.jar
Review Comment:
Why don't we use the newly released 3.0.0 version here? :thinking:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] MartijnVisser merged pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
MartijnVisser merged PR #21536:
URL: https://github.com/apache/flink/pull/21536
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
flinkbot commented on PR #21536:
URL: https://github.com/apache/flink/pull/21536#issuecomment-1359338262
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "d8b0eafeab622cfa34a8a95a8d524fa28a520512",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "d8b0eafeab622cfa34a8a95a8d524fa28a520512",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* d8b0eafeab622cfa34a8a95a8d524fa28a520512 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dianfu commented on a diff in pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
dianfu commented on code in PR #21536:
URL: https://github.com/apache/flink/pull/21536#discussion_r1064557918
##########
flink-python/pom.xml:
##########
@@ -322,7 +322,7 @@ under the License.
<!-- Indirectly accessed in pyflink_gateway_server -->
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-jdbc</artifactId>
- <version>${project.version}</version>
+ <version>3.0.0-1.16</version>
Review Comment:
And also very sorry for the late response.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] MartijnVisser commented on a diff in pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
MartijnVisser commented on code in PR #21536:
URL: https://github.com/apache/flink/pull/21536#discussion_r1055403814
##########
flink-architecture-tests/flink-architecture-tests-production/archunit-violations/5b9eed8a-5fb6-4373-98ac-3be2a71941b8:
##########
@@ -384,4 +377,4 @@ org.apache.flink.streaming.runtime.operators.windowing.TimestampedValue.getStrea
org.apache.flink.streaming.runtime.streamrecord.LatencyMarker.getOperatorId(): Returned leaf type org.apache.flink.runtime.jobgraph.OperatorID does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
org.apache.flink.streaming.runtime.tasks.ProcessingTimeServiceAware.setProcessingTimeService(org.apache.flink.streaming.runtime.tasks.ProcessingTimeService): Argument leaf type org.apache.flink.streaming.runtime.tasks.ProcessingTimeService does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
org.apache.flink.table.operations.QueryOperation.accept(org.apache.flink.table.operations.QueryOperationVisitor): Argument leaf type org.apache.flink.table.operations.QueryOperationVisitor does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
-org.apache.flink.types.parser.FieldParser.getErrorState(): Returned leaf type org.apache.flink.types.parser.FieldParser$ParseErrorState does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
\ No newline at end of file
+org.apache.flink.types.parser.FieldParser.getErrorState(): Returned leaf type org.apache.flink.types.parser.FieldParser$ParseErrorState does not satisfy: reside outside of package 'org.apache.flink..' or reside in any package ['..shaded..'] or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated
Review Comment:
Interestingly IntelliJ shows an empty line 389 for me :D
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] MartijnVisser commented on pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
MartijnVisser commented on PR #21536:
URL: https://github.com/apache/flink/pull/21536#issuecomment-1362772403
> There are some rules in [flink-architecture-tests/flink-architecture-tests-production/archunit-violations/b8900323-6aab-4e7e-9b17-f53b3c3dca46:53-94](https://github.com/apache/flink/blob/ba6c0c7da89746511c567bb12ff62b9315ecfd9b/flink-architecture-tests/flink-architecture-tests-production/archunit-violations/b8900323-6aab-4e7e-9b17-f53b3c3dca46#L53-L94). Are these still required?
Good catch, they didn't appear when I searched for `jdbc` though 😕
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] MartijnVisser commented on a diff in pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
MartijnVisser commented on code in PR #21536:
URL: https://github.com/apache/flink/pull/21536#discussion_r1064611134
##########
flink-python/pom.xml:
##########
@@ -322,7 +322,7 @@ under the License.
<!-- Indirectly accessed in pyflink_gateway_server -->
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-jdbc</artifactId>
- <version>${project.version}</version>
+ <version>3.0.0-1.16</version>
Review Comment:
> Although update the connector versions once published would be great, but I prefer to consider it as nice-to-have instead of must-to-have.
Sounds good, thanks for the clarification!
> And also very sorry for the late response.
No problem!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] MartijnVisser commented on pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
MartijnVisser commented on PR #21536:
URL: https://github.com/apache/flink/pull/21536#issuecomment-1375910713
@flinkbot run azure
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] dianfu commented on a diff in pull request #21536: [FLINK-30465][Connector/JDBC] Remove JDBC connector and refer to externalized docs
Posted by GitBox <gi...@apache.org>.
dianfu commented on code in PR #21536:
URL: https://github.com/apache/flink/pull/21536#discussion_r1064536478
##########
flink-python/pom.xml:
##########
@@ -322,7 +322,7 @@ under the License.
<!-- Indirectly accessed in pyflink_gateway_server -->
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-jdbc</artifactId>
- <version>${project.version}</version>
+ <version>3.0.0-1.16</version>
Review Comment:
Although update the connector versions once published would be great, but I prefer to consider it as nice-to-have instead of must-to-have.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org