codenohup commented on code in PR #26284:
URL: https://github.com/apache/flink/pull/26284#discussion_r2004738242
##########
flink-datastream-api/pom.xml:
##########
@@ -40,5 +40,11 @@ under the License.
<artifactId>flink-core-api</artifactId>
<version>${project.version}</version>
</dependency>
- </dependencies>
+ <dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-core</artifactId>
Review Comment:
The API modules should not depend on non-API modules, because this would
require users to depend on the flink-core module when developing DataStream V2
programs, but flink-core should only be used at application runnning.
You might consider moving `TypeInformation` to the API module, such as
core-api. However, I understand that this is challenging due to its
dependencies on numerous other classes.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]