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-28121. (2.3) Use direct SQL for transactional altering table parameter #5204

Merged
merged 5 commits into from
Apr 30, 2024

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Apr 20, 2024

What changes were proposed in this pull request?

Port #5129 to branch-2.3

Why are the changes needed?

This is a follow-up of HIVE-26882, including correctness fixes for some RDBMS.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

UT

@Override
public long updateParameterWithExpectedValue(Table table, String key, String expectedValue, String newValue)
throws MetaException, NoSuchObjectException {
final Table _table = table;
Copy link
Member Author

Choose a reason for hiding this comment

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

this might be limitation of Java 7

Copy link
Contributor

Choose a reason for hiding this comment

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

This is ok

Copy link
Contributor

@lirui-apache lirui-apache left a comment

Choose a reason for hiding this comment

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

+1, thanks @pan3793 for taking care of this

@pan3793
Copy link
Member Author

pan3793 commented Apr 22, 2024

@pvary Could you please take a look at this one? AFAIK it's the last one before the next RC for 2.3.10

Copy link
Contributor

@pvary pvary left a comment

Choose a reason for hiding this comment

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

The backport seems ok.
I am a bit concerned about the failing tests, but if @sunchao says, that this is the current state of the tests on this branch, then we are ok to go

@pan3793
Copy link
Member Author

pan3793 commented Apr 23, 2024

kindly ping @sunchao, are we good to go?

@sunchao
Copy link
Member

sunchao commented Apr 24, 2024

Thanks @pan3793 @lirui-apache and @pvary . It looks like this PR has more tests failing than the previous PR:

Screenshot 2024-04-23 at 8 57 41 PM

In the previous PR: #4892, there were only 27 tests failing (normally there would only be 26 tests but 1 was flaky in that PR).

Could you double check whether the test failures are related?

@sunchao
Copy link
Member

sunchao commented Apr 24, 2024

that this is the current state of the tests on this branch

Yes that's unfortunately the current state of branch-2.3. We do know a fixed set of tests are failing though and are using that as the baseline for testing against PRs.

@pan3793
Copy link
Member Author

pan3793 commented Apr 24, 2024

@sunchao based on the CI results of this PR branch, I think the failure tests should be flaky cases
http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/activity?branch=PR-5204

@sunchao
Copy link
Member

sunchao commented Apr 24, 2024

OK, just re-triggered CI to confirm.

@sunchao
Copy link
Member

sunchao commented Apr 28, 2024

Hmm @pan3793 I tried the tests again for 2 times, and each time there were over 40 tests failing, which is quite more than the normal 26. Could you double-check whether there is anything we should fix here? Thanks.

@pan3793
Copy link
Member Author

pan3793 commented Apr 30, 2024

@sunchao the failed tests are not caused by this patch, I opened another dummy PR based on the latest branch-2.3, and got the same failures #5225

@sunchao
Copy link
Member

sunchao commented Apr 30, 2024

oops, thanks @pan3793 - let me check the commits in branch-2.3 and see which commit caused the regression

@sunchao sunchao merged commit 10b3b03 into apache:branch-2.3 Apr 30, 2024
1 check failed
@sunchao
Copy link
Member

sunchao commented Apr 30, 2024

Merged, thanks

@pan3793
Copy link
Member Author

pan3793 commented May 5, 2024

@sunchao can we have the next RC for 2.3.10?

@sunchao
Copy link
Member

sunchao commented May 5, 2024

Sorry for the delay @pan3793 . I just sent out RC1.

@pan3793 pan3793 deleted the HIVE-28121-2.3 branch May 11, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants