Skip to content

Fix typo in HiveMetadata#17233

Merged
hashhar merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/hive-fix-typo
May 3, 2023
Merged

Fix typo in HiveMetadata#17233
hashhar merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/hive-fix-typo

Conversation

@ebyhr
Copy link
Member

@ebyhr ebyhr commented Apr 25, 2023

Description

Fix typo in HiveMetadata. There's no same typo spported in this repository.

Release notes

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

@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label Apr 25, 2023
@cla-bot cla-bot bot added the cla-signed label Apr 25, 2023
@ebyhr ebyhr requested review from Praveen2112 and hashhar April 25, 2023 23:56

if (bucketProperty.isPresent() && getAvroSchemaLiteral(tableMetadata.getProperties()) != null) {
throw new TrinoException(NOT_SUPPORTED, "Bucketing/Partitioning columns not spported when Avro schema literal is set");
throw new TrinoException(NOT_SUPPORTED, "Bucketing/Partitioning columns not supported when Avro schema literal is set");
Copy link
Contributor

Choose a reason for hiding this comment

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

Bucketing/Partitioning columns are not supported when Avro schema literal is set ?

Copy link
Member

Choose a reason for hiding this comment

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

yes, but also this existing class has a mixture of both XXX not supported and XXX is/are not supported. Feel welcome to introduce some consistency/logic in a fresh PR.

@github-actions github-actions bot added hive Hive connector tests:hive labels Apr 26, 2023

if (bucketProperty.isPresent() && getAvroSchemaLiteral(tableMetadata.getProperties()) != null) {
throw new TrinoException(NOT_SUPPORTED, "Bucketing/Partitioning columns not spported when Avro schema literal is set");
throw new TrinoException(NOT_SUPPORTED, "Bucketing/Partitioning columns not supported when Avro schema literal is set");
Copy link
Member

Choose a reason for hiding this comment

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

yes, but also this existing class has a mixture of both XXX not supported and XXX is/are not supported. Feel welcome to introduce some consistency/logic in a fresh PR.

@hashhar hashhar merged commit a0500d7 into trinodb:master May 3, 2023
@github-actions github-actions bot added this to the 416 milestone May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed hive Hive connector no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

4 participants