-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Conversation
There was a problem hiding this 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?
plugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/glue/GlueHiveMetastore.java
Outdated
Show resolved
Hide resolved
/test-with-secrets sha=17cb3d1477a8d7891b5916476715a0bbced985bf |
The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/6233258473 |
17cb3d1
to
a8657cc
Compare
a8657cc
to
f16036d
Compare
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 -> { |
There was a problem hiding this comment.
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
/test-with-secrets sha=f16036dd4d290ef621025a6b4e0eeb4e531ac620 |
The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/6271687721 |
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: