Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

chore: enhance the test case for bool type#78

Open
kotharironak wants to merge 2 commits intomainfrom
enhance-test-case
Open

chore: enhance the test case for bool type#78
kotharironak wants to merge 2 commits intomainfrom
enhance-test-case

Conversation

@kotharironak
Copy link
Copy Markdown
Contributor

Description

Enhance the test to validate boolean type in schema

@kotharironak kotharironak requested a review from a team as a code owner August 31, 2023 10:29
new DateTimeFormatSpec(dateTimeFieldSpec.getFormat()).getColumnUnit());
assertEquals(DataType.LONG, dateTimeFieldSpec.getDataType());
assertEquals(0L, dateTimeFieldSpec.getDefaultNullValue());
assertEquals(DataType.BOOLEAN, pinotSchema.getDimensionSpec("is_external").getDataType());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So Pinot type for is_external avro field comes out to BOOLEAN now because of the new version of Pinot lib, and with older version it would have been converted to String type?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants