Skip to content

Conversation

@kokila-19
Copy link
Contributor

@kokila-19 kokila-19 commented Feb 29, 2024

What changes were proposed in this pull request?
HiveConf: unify ConfVars enum and use underscore for better readability

Why are the changes needed?
Better readability

Does this PR introduce any user-facing change?
No

Is the change a dependency upgrade?
No

How was this patch tested?
Build and Unit tests.

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
14 New issues
0 Accepted issues

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

See analysis details on SonarCloud

@InvisibleProgrammer
Copy link
Contributor

LGTM (Non binding)

Copy link
Contributor

@abstractdog abstractdog left a comment

Choose a reason for hiding this comment

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

+1

@abstractdog abstractdog changed the title HIVE-27925: Addendum: HiveConf: unify ConfVars enum and use underscor… HIVE-27925: Addendum: HiveConf: unify ConfVars enum and use underscore for better readability Mar 6, 2024
@abstractdog abstractdog merged commit 57a23e9 into apache:master Mar 6, 2024
dengzhhu653 pushed a commit to dengzhhu653/hive that referenced this pull request Mar 7, 2024
…e for better readability (apache#5107) (Kokila N reviewed by Laszlo Bodor)
dongjoon-hyun added a commit to apache/spark that referenced this pull request Apr 2, 2024
…ctly

### What changes were proposed in this pull request?

This PR aims to use `HiveConf.getConfVars` or Hive config names directly to be robust on Hive incompatibility.

### Why are the changes needed?

Apache Hive 4.0.0 introduced incompatible changes on `ConfVars` enum via HIVE-27925.
- apache/hive#4919
- apache/hive#5107

`HiveConf.getConfVars` or config names is more robust way to handle this incompatibility.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #45804 from dongjoon-hyun/SPARK-47679.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants