Skip to content

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

Open
VladBanar wants to merge 2 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 2 commits into
apache:mainfrom
VladBanar:enum-conversion-functionality-for-typed-writer-reader

Conversation

@VladBanar
Copy link
Copy Markdown

@VladBanar VladBanar commented Jun 7, 2026

  • 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

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