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

Support altering column comments in Hive Glue catalogs #19076

Merged
merged 1 commit into from Sep 22, 2023

Conversation

alexjo2144
Copy link
Member

Description

Support altering column comments in Hive Glue catalogs.

Additional context and related issues

Extracted from: #19073

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# Hive
* Support altering column comments in Hive Glue catalogs.

Copy link
Member

@findepi findepi left a comment

Choose a reason for hiding this comment

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

Should this come with any test changes?

@findepi
Copy link
Member

findepi commented Sep 19, 2023

/test-with-secrets sha=17cb3d1477a8d7891b5916476715a0bbced985bf

@github-actions
Copy link

The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/6233258473

@alexjo2144
Copy link
Member Author

Test and sanity checks added, PTAL

for (int i = 0; i < columns.size(); i++) {
// Glue columns are always lowercase
if (columns.get(i).getName().equals(columnName)) {
index.ifPresent(ignored -> {
Copy link
Member

Choose a reason for hiding this comment

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

ordinary if (index.isPresent()) would free you from having to name a variable you ignore

@findepi
Copy link
Member

findepi commented Sep 22, 2023

/test-with-secrets sha=f16036dd4d290ef621025a6b4e0eeb4e531ac620

@github-actions
Copy link

The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/6271687721

@findepi findepi merged commit fe30d7a into trinodb:master Sep 22, 2023
58 checks passed
@github-actions github-actions bot added this to the 427 milestone Sep 22, 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
Development

Successfully merging this pull request may close these issues.

None yet

3 participants