Skip to content

[Flink] Increase code coverage for flinkCatalogOptions#929

Merged
wuchong merged 4 commits into
apache:mainfrom
MehulBatra:flink-catalog-options-coverage
Jun 13, 2025
Merged

[Flink] Increase code coverage for flinkCatalogOptions#929
wuchong merged 4 commits into
apache:mainfrom
MehulBatra:flink-catalog-options-coverage

Conversation

@MehulBatra
Copy link
Copy Markdown
Contributor

@MehulBatra MehulBatra commented May 19, 2025

Purpose

Linked issue: close #928

Enhance FlinkCatalogOptions Javadoc & FlinkCatalogFactory with unit tests to improve test coverage.

Brief change log

  • Added detailed class-level and field-level JavaDoc to FlinkCatalogOptions
  • Added description to the DEFAULT_DATABASE configuration option
  • Added a private constructor to prevent instantiation
  • Created comprehensive unit tests for the FlinkCatalogFactory class for OptionalOptions

Tests

Added FlinkCatalogFactory with the following test cases:

testOptionalOptionsConfiguration : Testing the optional options configuration of the factory

API and Format

None

Documentation

None

@MehulBatra
Copy link
Copy Markdown
Contributor Author

@wuchong, please help me with the review, whenever you get a chance, meanwhile I will get started with flinkCatalog for the missing methods

@MehulBatra MehulBatra changed the title Increase code coverage for flinkCatalogOptions [Test] Increase code coverage for flinkCatalogOptions May 19, 2025
@MehulBatra MehulBatra changed the title [Test] Increase code coverage for flinkCatalogOptions [Flink] Increase code coverage for flinkCatalogOptions May 24, 2025
@MehulBatra MehulBatra force-pushed the flink-catalog-options-coverage branch from c20265b to 5ddc9ea Compare June 11, 2025 08:51
@MehulBatra MehulBatra requested a review from wuchong June 11, 2025 08:51
Copy link
Copy Markdown
Member

@wuchong wuchong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the entry com.alibaba.fluss.flink.catalog.FlinkCatalogOptions in fluss-test-coverage pom?

@MehulBatra MehulBatra requested a review from wuchong June 13, 2025 09:13
@wuchong wuchong merged commit 176b248 into apache:main Jun 13, 2025
4 checks passed
@MehulBatra
Copy link
Copy Markdown
Contributor Author

Thank you @wuchong for the review!

ZmmBigdata pushed a commit to ZmmBigdata/fluss that referenced this pull request Jun 20, 2025
polyzos pushed a commit to polyzos/fluss that referenced this pull request Aug 30, 2025
polyzos pushed a commit to HZY-Wade/fluss that referenced this pull request Aug 31, 2025
Ugbot pushed a commit to Ugbot/fluss that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Flink] Increase code coverage for class FlinkCatalogOptions

2 participants