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/01/05 15:32:15 UTC
[GitHub] [flink] slinkydeveloper opened a new pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
slinkydeveloper opened a new pull request #18272:
URL: https://github.com/apache/flink/pull/18272
## What is the purpose of the change
This PR contains a couple of fixes and leftovers from the planner-loader PR.
## Brief change log
* Fix FLINK-25525
* Fix FLINK-25487
* Fix bad shading path for com.jayway
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
--
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] slinkydeveloper commented on a change in pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
slinkydeveloper commented on a change in pull request #18272:
URL: https://github.com/apache/flink/pull/18272#discussion_r778991231
##########
File path: flink-table/flink-table-planner/pom.xml
##########
@@ -196,14 +189,15 @@ under the License.
<!-- For legacy string expressions in Table API -->
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<!-- Utility to scan classpaths -->
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.10</version>
- <scope>compile</scope>
+ <scope>provided</scope>
Review comment:
Check `ReflectionsUtil`. We can get rid of this dep while working on the FLIP-190 related tasks.
--
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 #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005829867
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "10baa62725e518e677456ff3d77d0349b916ece6",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "10baa62725e518e677456ff3d77d0349b916ece6",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 10baa62725e518e677456ff3d77d0349b916ece6 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] flinkbot edited a comment on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005829867
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "10baa62725e518e677456ff3d77d0349b916ece6",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983",
"triggerID" : "10baa62725e518e677456ff3d77d0349b916ece6",
"triggerType" : "PUSH"
}, {
"hash" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987",
"triggerID" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 10baa62725e518e677456ff3d77d0349b916ece6 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983)
* 41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987)
<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] slinkydeveloper commented on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
slinkydeveloper commented on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1006399411
@twalthr I removed all provided, as I misunderstood their interaction with the shade plugin. please check again the first commit
--
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 edited a comment on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005829867
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "10baa62725e518e677456ff3d77d0349b916ece6",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983",
"triggerID" : "10baa62725e518e677456ff3d77d0349b916ece6",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 10baa62725e518e677456ff3d77d0349b916ece6 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983)
<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] flinkbot edited a comment on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005829867
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "10baa62725e518e677456ff3d77d0349b916ece6",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983",
"triggerID" : "10baa62725e518e677456ff3d77d0349b916ece6",
"triggerType" : "PUSH"
}, {
"hash" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987",
"triggerID" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"triggerType" : "PUSH"
}, {
"hash" : "4c67f70e6c5043889840982d98de7a01c8322b1d",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29022",
"triggerID" : "4c67f70e6c5043889840982d98de7a01c8322b1d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 4c67f70e6c5043889840982d98de7a01c8322b1d Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29022)
<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] twalthr commented on a change in pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
twalthr commented on a change in pull request #18272:
URL: https://github.com/apache/flink/pull/18272#discussion_r778936206
##########
File path: flink-core/src/main/java/org/apache/flink/core/classloading/ComponentClassLoader.java
##########
@@ -86,22 +93,40 @@ public ComponentClassLoader(
protected Class<?> loadClass(final String name, final boolean resolve)
throws ClassNotFoundException {
synchronized (getClassLoadingLock(name)) {
- final Class<?> loadedClass = findLoadedClass(name);
- if (loadedClass != null) {
- return resolveIfNeeded(resolve, loadedClass);
- }
-
- if (isComponentFirstClass(name)) {
- return loadClassFromComponentFirst(name, resolve);
+ try {
+ final Class<?> loadedClass = findLoadedClass(name);
+ if (loadedClass != null) {
+ return resolveIfNeeded(resolve, loadedClass);
+ }
+
+ if (isComponentFirstClass(name)) {
+ return loadClassFromComponentFirst(name, resolve);
+ }
+ if (isOwnerFirstClass(name)) {
+ return loadClassFromOwnerFirst(name, resolve);
+ }
+
+ // making this behavior configurable (component-only/component-first/owner-first)
+ // would
+ // allow this class to subsume the FlinkUserCodeClassLoader (with an added exception
+ // handler)
+ return loadClassFromComponentOnly(name, resolve);
+ } catch (ClassNotFoundException e) {
+ // If we know the package of this class
+ Optional<String> foundAssociatedModule =
+ knownPackagePrefixesModuleAssociation.entrySet().stream()
+ .filter(entry -> name.startsWith(entry.getKey()))
+ .map(Map.Entry::getValue)
+ .findFirst();
+ if (foundAssociatedModule.isPresent()) {
+ throw new ClassNotFoundException(
+ String.format(
+ "Class '%s' not found. Perhaps you forgot to add the module '%s' in the classpath?",
Review comment:
`in the classpath` -> `to the classpath`?
##########
File path: flink-core/src/main/java/org/apache/flink/core/classloading/ComponentClassLoader.java
##########
@@ -86,22 +93,40 @@ public ComponentClassLoader(
protected Class<?> loadClass(final String name, final boolean resolve)
throws ClassNotFoundException {
synchronized (getClassLoadingLock(name)) {
- final Class<?> loadedClass = findLoadedClass(name);
- if (loadedClass != null) {
- return resolveIfNeeded(resolve, loadedClass);
- }
-
- if (isComponentFirstClass(name)) {
- return loadClassFromComponentFirst(name, resolve);
+ try {
+ final Class<?> loadedClass = findLoadedClass(name);
+ if (loadedClass != null) {
+ return resolveIfNeeded(resolve, loadedClass);
+ }
+
+ if (isComponentFirstClass(name)) {
+ return loadClassFromComponentFirst(name, resolve);
+ }
+ if (isOwnerFirstClass(name)) {
+ return loadClassFromOwnerFirst(name, resolve);
+ }
+
+ // making this behavior configurable (component-only/component-first/owner-first)
+ // would
Review comment:
fix comment formatting
##########
File path: flink-examples/flink-examples-table/pom.xml
##########
@@ -53,34 +53,42 @@ under the License.
<version>${project.version}</version>
</dependency>
- <!-- Table connectors and formats -->
+ <!-- The following two dependencies are not required to define a SQL job pipeline,
+ but only to execute it.
+
+ In particular, here we're forced to use flink-table-planner_${scala.binary.version} instead of
+ flink-table-planner-loader, because otherwise you hit this bug https://youtrack.jetbrains.com/issue/IDEA-93855
+ when trying to run the examples from within Intellij IDEA.
+
+ In a real environment, you need these dependencies only at test scope, to execute the SQL job pipelines test.
+ -->
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-connector-files</artifactId>
+ <artifactId>flink-table-runtime</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-csv</artifactId>
+ <artifactId>flink-table-planner_${scala.binary.version}</artifactId>
Review comment:
Provided? Or is it somehow excluded from the JAR files we generate for the dist.
##########
File path: flink-examples/flink-examples-table/pom.xml
##########
@@ -53,34 +53,42 @@ under the License.
<version>${project.version}</version>
</dependency>
Review comment:
remove empty line
##########
File path: flink-examples/flink-examples-table/pom.xml
##########
@@ -53,34 +53,42 @@ under the License.
<version>${project.version}</version>
</dependency>
- <!-- Table connectors and formats -->
+ <!-- The following two dependencies are not required to define a SQL job pipeline,
+ but only to execute it.
+
+ In particular, here we're forced to use flink-table-planner_${scala.binary.version} instead of
+ flink-table-planner-loader, because otherwise you hit this bug https://youtrack.jetbrains.com/issue/IDEA-93855
+ when trying to run the examples from within Intellij IDEA.
+
+ In a real environment, you need these dependencies only at test scope, to execute the SQL job pipelines test.
Review comment:
`at test or provided scope (for tests or running it in an IDE).`
##########
File path: flink-table/flink-table-planner/pom.xml
##########
@@ -196,14 +189,15 @@ under the License.
<!-- For legacy string expressions in Table API -->
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
+ <scope>provided</scope>
Review comment:
Not sure if this is provided. It is not contained in Scala 2.12 by default.
##########
File path: flink-table/flink-table-planner/pom.xml
##########
@@ -196,14 +189,15 @@ under the License.
<!-- For legacy string expressions in Table API -->
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<!-- Utility to scan classpaths -->
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.10</version>
- <scope>compile</scope>
+ <scope>provided</scope>
Review comment:
Who pulls in this? not table-runtime.
--
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 edited a comment on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005829867
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "10baa62725e518e677456ff3d77d0349b916ece6",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983",
"triggerID" : "10baa62725e518e677456ff3d77d0349b916ece6",
"triggerType" : "PUSH"
}, {
"hash" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987",
"triggerID" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"triggerType" : "PUSH"
}, {
"hash" : "4c67f70e6c5043889840982d98de7a01c8322b1d",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "4c67f70e6c5043889840982d98de7a01c8322b1d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987)
* 4c67f70e6c5043889840982d98de7a01c8322b1d 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] flinkbot commented on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005827885
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
to review your pull request. We will use this comment to track the progress of the review.
## Automated Checks
Last check on commit 10baa62725e518e677456ff3d77d0349b916ece6 (Wed Jan 05 15:36:50 UTC 2022)
**Warnings:**
* **3 pom.xml files were touched**: Check for build and licensing issues.
* No documentation files were touched! Remember to keep the Flink docs up to date!
<sub>Mention the bot in a comment to re-run the automated checks.</sub>
## Review Progress
* ❓ 1. The [description] looks good.
* ❓ 2. There is [consensus] that the contribution should go into to Flink.
* ❓ 3. Needs [attention] from.
* ❓ 4. The change fits into the overall [architecture].
* ❓ 5. Overall code [quality] is good.
Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
- `@flinkbot approve all` to approve all aspects
- `@flinkbot approve-until architecture` to approve everything until `architecture`
- `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
- `@flinkbot disapprove architecture` to remove an approval you gave earlier
</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] flinkbot edited a comment on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005829867
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "10baa62725e518e677456ff3d77d0349b916ece6",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983",
"triggerID" : "10baa62725e518e677456ff3d77d0349b916ece6",
"triggerType" : "PUSH"
}, {
"hash" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 10baa62725e518e677456ff3d77d0349b916ece6 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983)
* 41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9 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] twalthr commented on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
twalthr commented on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1006723634
Merged via 137b65c5f23e5ba546ce52bd15fa7aa528ab95de
--
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 edited a comment on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005829867
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "10baa62725e518e677456ff3d77d0349b916ece6",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983",
"triggerID" : "10baa62725e518e677456ff3d77d0349b916ece6",
"triggerType" : "PUSH"
}, {
"hash" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987",
"triggerID" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"triggerType" : "PUSH"
}, {
"hash" : "4c67f70e6c5043889840982d98de7a01c8322b1d",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29022",
"triggerID" : "4c67f70e6c5043889840982d98de7a01c8322b1d",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987)
* 4c67f70e6c5043889840982d98de7a01c8322b1d Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29022)
<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] slinkydeveloper commented on a change in pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
slinkydeveloper commented on a change in pull request #18272:
URL: https://github.com/apache/flink/pull/18272#discussion_r778991231
##########
File path: flink-table/flink-table-planner/pom.xml
##########
@@ -196,14 +189,15 @@ under the License.
<!-- For legacy string expressions in Table API -->
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<!-- Utility to scan classpaths -->
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.10</version>
- <scope>compile</scope>
+ <scope>provided</scope>
Review comment:
Check `ReflectionsUtil`. We can get rid of this dep once during the FLIP-190 related work.
--
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] slinkydeveloper commented on a change in pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
slinkydeveloper commented on a change in pull request #18272:
URL: https://github.com/apache/flink/pull/18272#discussion_r778992411
##########
File path: flink-table/flink-table-planner/pom.xml
##########
@@ -196,14 +189,15 @@ under the License.
<!-- For legacy string expressions in Table API -->
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-parser-combinators_${scala.binary.version}</artifactId>
+ <scope>provided</scope>
Review comment:
It doesn't matter, as we package it in table planner, so it doesn't need to be pulled in transitively for modules depending on `flink-table-planner` directly.
--
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] slinkydeveloper commented on a change in pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
slinkydeveloper commented on a change in pull request #18272:
URL: https://github.com/apache/flink/pull/18272#discussion_r779000109
##########
File path: flink-examples/flink-examples-table/pom.xml
##########
@@ -53,34 +53,42 @@ under the License.
<version>${project.version}</version>
</dependency>
- <!-- Table connectors and formats -->
+ <!-- The following two dependencies are not required to define a SQL job pipeline,
+ but only to execute it.
+
+ In particular, here we're forced to use flink-table-planner_${scala.binary.version} instead of
+ flink-table-planner-loader, because otherwise you hit this bug https://youtrack.jetbrains.com/issue/IDEA-93855
+ when trying to run the examples from within Intellij IDEA.
+
+ In a real environment, you need these dependencies only at test scope, to execute the SQL job pipelines test.
+ -->
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-connector-files</artifactId>
+ <artifactId>flink-table-runtime</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-csv</artifactId>
+ <artifactId>flink-table-planner_${scala.binary.version}</artifactId>
Review comment:
I think it makes no difference, as this pom doesn't produce a fat jar. In any case, I put it as provided more for documentation purpose.
--
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] twalthr closed pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
twalthr closed pull request #18272:
URL: https://github.com/apache/flink/pull/18272
--
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 edited a comment on pull request #18272: [FLINK-25525][FLINK-25487][table] Various fixed related to the new planner-loader
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18272:
URL: https://github.com/apache/flink/pull/18272#issuecomment-1005829867
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "10baa62725e518e677456ff3d77d0349b916ece6",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28983",
"triggerID" : "10baa62725e518e677456ff3d77d0349b916ece6",
"triggerType" : "PUSH"
}, {
"hash" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987",
"triggerID" : "41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 41bc718a925fad32d1ab67f4b7a0f0880a7fcbb9 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=28987)
<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