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-1563: Fix orc.bloom.filter.fpp default value and orc.compress notes of Spark and Hive config docs #1709

Closed
wants to merge 1 commit into from

Conversation

cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Dec 27, 2023

What changes were proposed in this pull request?

  1. Add orc.compress enumeration value description
  2. Fix orc.bloom.filter.fpp default value (ORC-1338) since ORC 1.8.2

Why are the changes needed?

The document is out of date.

How was this patch tested?

local check

@github-actions github-actions bot added the DOCS label Dec 27, 2023
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, @cxzl25 .

@@ -12,13 +12,13 @@ with the same options.

Key | Default | Notes
:----------------------- | :---------- | :------------------------
orc.compress | ZLIB | high level compression = {NONE, ZLIB, SNAPPY}
orc.compress | ZLIB | high level compression = {NONE, ZLIB, SNAPPY, LZO, LZ4, ZSTD}
Copy link
Member

Choose a reason for hiding this comment

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

Could you add the JIRA IDs of these too, @cxzl25 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Like this?

orc.compress             | ZLIB        | high level compression = {NONE, ZLIB, SNAPPY, LZO, LZ4 (ORC-77), ZSTD (ORC-363)}

Copy link
Member

Choose a reason for hiding this comment

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

No~ What I meant was the PR description. Let me add that to the PR description and merge this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks your help. @dongjoon-hyun

@dongjoon-hyun dongjoon-hyun added this to the 1.8.7 milestone Dec 27, 2023
@dongjoon-hyun
Copy link
Member

For ORC-1563, we can backport this to branch-1.8 because ORC-1338 is Apache ORC 1.8.2, @cxzl25 .

@dongjoon-hyun dongjoon-hyun changed the title ORC-1563: Fix documentation Spark and Hive configuration ORC-1563: Fix orc.bloom.filter.fpp default value and orc.compress notes of Spark and Hive config docs Dec 27, 2023
dongjoon-hyun pushed a commit that referenced this pull request Dec 27, 2023
… notes of Spark and Hive config docs

### What changes were proposed in this pull request?
1. Add `orc.compress` enumeration value description
    - LZO, LZ4 (ORC-77) since ORC 1.2
    - ZSTD (ORC-363) since ORC 1.6
2. Fix `orc.bloom.filter.fpp` default value (ORC-1338) since ORC 1.8.2

### Why are the changes needed?
The document is out of date.

### How was this patch tested?
local check

Closes #1709 from cxzl25/ORC-1563.

Authored-by: sychen <sychen@ctrip.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 0184a66)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun pushed a commit that referenced this pull request Dec 27, 2023
… notes of Spark and Hive config docs

### What changes were proposed in this pull request?
1. Add `orc.compress` enumeration value description
    - LZO, LZ4 (ORC-77) since ORC 1.2
    - ZSTD (ORC-363) since ORC 1.6
2. Fix `orc.bloom.filter.fpp` default value (ORC-1338) since ORC 1.8.2

### Why are the changes needed?
The document is out of date.

### How was this patch tested?
local check

Closes #1709 from cxzl25/ORC-1563.

Authored-by: sychen <sychen@ctrip.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 0184a66)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
Copy link
Member

Merged to main/1.9/1.8.

I also published the fixed doc to the webpage, @cxzl25 .

cxzl25 added a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
… notes of Spark and Hive config docs

### What changes were proposed in this pull request?
1. Add `orc.compress` enumeration value description
    - LZO, LZ4 (ORC-77) since ORC 1.2
    - ZSTD (ORC-363) since ORC 1.6
2. Fix `orc.bloom.filter.fpp` default value (ORC-1338) since ORC 1.8.2

### Why are the changes needed?
The document is out of date.

### How was this patch tested?
local check

Closes apache#1709 from cxzl25/ORC-1563.

Authored-by: sychen <sychen@ctrip.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants