Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Pinot 0.12.1 #16623

Merged
merged 1 commit into from
Mar 23, 2023
Merged

Upgrade to Pinot 0.12.1 #16623

merged 1 commit into from
Mar 23, 2023

Conversation

elonazoulay
Copy link
Member

@elonazoulay elonazoulay commented Mar 19, 2023

Description

Upgrade pinot libraries to the latest version.

Release notes

(x) This is not user-visible or docs only and no release notes are required.

Copy link
Member

@electrum electrum left a comment

Choose a reason for hiding this comment

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

The documentation says we support "Pinot 0.10.0 or higher". Is that still true after this change?

for (TransformFunctionType transformFunctionType : TransformFunctionType.values()) {
for (String alias : transformFunctionType.getAliases()) {
TransformFunctionType previousValue = builder.put(canonicalize(alias), transformFunctionType);
checkState(previousValue == null || previousValue == transformFunctionType, "Duplicate key with different values for alias '%s', transform function type '%s' and previous value '%s'", canonicalize(alias), transformFunctionType, previousValue);
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean to use == for comparing TransformFunctionType? Does it not implement equality and we need to use identity?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's an enum, is that ok?

@elonazoulay elonazoulay force-pushed the pinot_12 branch 2 times, most recently from 0cd07a5 to 86d2a88 Compare March 20, 2023 05:12
@elonazoulay
Copy link
Member Author

The documentation says we support "Pinot 0.10.0 or higher". Is that still true after this change?

Updated, thanks for catching that!

Copy link
Contributor

@xiangfu0 xiangfu0 left a comment

Choose a reason for hiding this comment

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

lgtm

@hashhar hashhar removed their request for review March 22, 2023 06:34
@ebyhr ebyhr merged commit c0cb16b into trinodb:master Mar 23, 2023
@github-actions github-actions bot added this to the 411 milestone Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants