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

HIVE-27850: Addendum: Add DB name in Iceberg Major compaction query t… #5074

Merged
merged 1 commit into from Feb 9, 2024

Conversation

difin
Copy link
Contributor

@difin difin commented Feb 7, 2024

…o fix compaction issue in Cloud env.

What changes were proposed in this pull request?

Add DB name into the query for Iceberg Major QB compaction.

Why are the changes needed?

The existing code works fine in q-tests, but the Iceberg Compaction fails in a cloud env because the compaction query is missing DB name. In Hive ACID QB compaction, DB name is part of the query and it was missed to add in Hive Iceberg compaction code. The reason why it works in q-tests is because the tables are created in the default DB, while in a cloud env they are not created in the default DB.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

I did remote debugging in the cloud env where the Hive Iceberg compaction was failing. I modified the compaction query manually in the debugger by adding the DB name and compaction passed.

Copy link

sonarcloud bot commented Feb 8, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Member

@deniskuzZ deniskuzZ left a comment

Choose a reason for hiding this comment

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

LGTM +1

@deniskuzZ deniskuzZ merged commit 32a7927 into apache:master Feb 9, 2024
6 checks passed
dengzhhu653 pushed a commit to dengzhhu653/hive that referenced this pull request Mar 7, 2024
…action query (Dmitriy Fingerman, reviewed by Denys Kuzmenko)

Closes apache#5074
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants