-
Notifications
You must be signed in to change notification settings - Fork 1k
[Improve] implicitUtil improvement #4243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR makes two key improvements: it renames the implicit autoClose method to using in the Scala code and removes the catalog module along with several related classes and controllers.
- Renamed autoClose to using in streampark-common to improve clarity.
- Removed catalog-related modules including service, mapper, entity, and controller classes.
Reviewed Changes
Copilot reviewed 81 out of 81 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/FlinkCatalogBase.java | Removed catalog service implementation. |
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/DistributedTaskService.java | Removed distributed task service interface. |
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/DatabaseService.java | Removed database service interface. |
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/runner/EnvInitializer.java | Removed initialization for RegistryService. |
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/mapper/* | Removed mappers associated with catalog and task modules. |
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/entity/* | Removed entity classes related to catalog, database, and distributed tasks. |
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/* | Removed controllers for table, catalog, and database operations. |
streampark-console/streampark-console-service/pom.xml | Removed dependency on streampark-flink-connector-plugin from test scope. |
streampark-common/src/main/scala/org/apache/streampark/common/util/Implicits.scala | Renamed implicit conversion method from autoClose to using. |
streampark-common/src/test/scala/org/apache/streampark/common/util/ImplicitsTest.scala | Updated tests to use the new using method. |
streampark-common/src/main/scala/org/apache/streampark/common/util/Utils.scala, FileUtils.scala | Revised usage of autoClose to using. |
streampark-common/src/main/scala/org/apache/streampark/common/util/Implicits.scala
Outdated
Show resolved
Hide resolved
|
LGTM |
* [Improve] implicitUtil improvement * Update Implicits.scala
* [Improve] implicitUtil improvement * Update Implicits.scala
[Improve] implicitUtil improvement
Contribution Checklist
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts