Skip to content

[client] Enum conversion functionality for typed writer/reader#3447

Open
VladBanar wants to merge 3 commits into
apache:mainfrom
VladBanar:enum-conversion-functionality-for-typed-writer-reader
Open

[client] Enum conversion functionality for typed writer/reader#3447
VladBanar wants to merge 3 commits into
apache:mainfrom
VladBanar:enum-conversion-functionality-for-typed-writer-reader

Conversation

@VladBanar

@VladBanar VladBanar commented Jun 7, 2026

Copy link
Copy Markdown
  • Generative AI disclosure: Indicate whether generative AI tools were used in authoring this PR. If yes, specify the tool below.
    • No generative AI tools used
    • Yes (please specify the tool below)

Generated-by: [Claude Haiku 4.5] following the guidelines
Only for tests

Purpose

Linked issue: close #3446

when you use typed writer/reader you can't use enum as a field in POJO.

Brief change log

  • Adjusted validation logic in ConverterCommons
  • Added conversion logic for enum in FlussTypeToPojoTypeConverter:convertTextValue

Tests

  • Added ConverterCommonsTest.java FlussTypeToPojoTypeConverterTest.java

API and Format

No

Documentation

No

@VladBanar

Copy link
Copy Markdown
Author

@polyzos Please take a look i fixed checks.

@VladBanar

Copy link
Copy Markdown
Author

@luoyuxia Could you please approve workflow

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.

[client] Add enum conversion functionality for Typed Writer/Reader

1 participant