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

ORC-1127: [C++] add missing version of UNSTABLE-PRE-2.0 #1064

Merged
merged 2 commits into from Mar 15, 2022

Conversation

stiga-huang
Copy link
Contributor

What changes were proposed in this pull request?

This adds the UNSTABLE-PRE-2.0 version in the c++ client. It's part of #1062 but now extracted for easy backporting.
Ref: #1062 (comment)

Why are the changes needed?

Without this change, the C++ client will read the UNSTABLE-PRE-2.0 version as 1.9999, which is inconsistent with the Java client. See examples in the JIRA description.

How was this patch tested?

Add unit test in TestFileMetadata.cc with a test file generated by Hive.

@stiga-huang stiga-huang changed the title Cpp v2 version ORC-1127: [C++] add missing version of UNSTABLE-PRE-2.0 Mar 15, 2022
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @stiga-huang .
Merged to main/1.7.

@dongjoon-hyun dongjoon-hyun merged commit 9d45c92 into apache:main Mar 15, 2022
dongjoon-hyun pushed a commit that referenced this pull request Mar 15, 2022
### What changes were proposed in this pull request?

This adds the UNSTABLE-PRE-2.0 version in the c++ client. It's part of #1062 but now extracted for easy backporting.
Ref: #1062 (comment)

### Why are the changes needed?

Without this change, the C++ client will read the UNSTABLE-PRE-2.0 version as 1.9999, which is inconsistent with the Java client. See examples in the JIRA description.

### How was this patch tested?

Add unit test in TestFileMetadata.cc with a test file generated by Hive.

(cherry picked from commit 9d45c92)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun dongjoon-hyun added this to the 1.7.4 milestone Mar 15, 2022
@dongjoon-hyun
Copy link
Member

cc @williamhyun since he is the release manager of Apache ORC 1.7.4.

stiga-huang added a commit to stiga-huang/orc that referenced this pull request May 4, 2022
### What changes were proposed in this pull request?

This adds the UNSTABLE-PRE-2.0 version in the c++ client. It's part of apache#1062 but now extracted for easy backporting.
Ref: apache#1062 (comment)

### Why are the changes needed?

Without this change, the C++ client will read the UNSTABLE-PRE-2.0 version as 1.9999, which is inconsistent with the Java client. See examples in the JIRA description.

### How was this patch tested?

Add unit test in TestFileMetadata.cc with a test file generated by Hive.
cxzl25 pushed a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
### What changes were proposed in this pull request?

This adds the UNSTABLE-PRE-2.0 version in the c++ client. It's part of apache#1062 but now extracted for easy backporting.
Ref: apache#1062 (comment)

### Why are the changes needed?

Without this change, the C++ client will read the UNSTABLE-PRE-2.0 version as 1.9999, which is inconsistent with the Java client. See examples in the JIRA description.

### How was this patch tested?

Add unit test in TestFileMetadata.cc with a test file generated by Hive.
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.

None yet

2 participants