Skip to content

Core, Flink: Add UUID to DataTestBase SUPPORTED_PRIMITIVES#16364

Merged
pvary merged 1 commit into
apache:mainfrom
joyhaldar:add-uuid-to-supported-primitives
May 18, 2026
Merged

Core, Flink: Add UUID to DataTestBase SUPPORTED_PRIMITIVES#16364
pvary merged 1 commit into
apache:mainfrom
joyhaldar:add-uuid-to-supported-primitives

Conversation

@joyhaldar
Copy link
Copy Markdown
Contributor

Follow-up to #16097.

Adds a UUID field to SUPPORTED_PRIMITIVES in DataTestBase. UUID was only tested in Flink's TestFlinkUuidType before. Now every test that extends DataTestBase reads and writes UUID too.

TestFlinkParquetReader extends DataTestBase and has a test with a Parquet schema written out by hand to match SUPPORTED_PRIMITIVES. Updated that schema to add the UUID column, for Flink 2.1, 2.0 and 1.20.

Co-authored-by: Joy Haldar <joy.haldar@target.com>
@joyhaldar joyhaldar marked this pull request as ready for review May 16, 2026 12:31
@joyhaldar
Copy link
Copy Markdown
Contributor Author

cc: @pvary, @Guosmilesmile, @mxm

As we discussed on #16097, this adds UUID to SUPPORTED_PRIMITIVES in DataTestBase so it's covered across all the subclasses. I'd be grateful if you could take a look when you have time.

@pvary pvary merged commit e1705f4 into apache:main May 18, 2026
37 checks passed
@pvary
Copy link
Copy Markdown
Contributor

pvary commented May 18, 2026

Merged to main.
Thanks @joyhaldar for extending the tests!

Copy link
Copy Markdown
Contributor

@mxm mxm left a comment

Choose a reason for hiding this comment

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

Thank you @joyhaldar for following up and extending the test coverage!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants