Skip to content

ORC-1563: Fix orc.bloom.filter.fpp default value and orc.compress notes of Spark and Hive config docs - #1709

Closed
cxzl25 wants to merge 1 commit into
apache:mainfrom
cxzl25:ORC-1563
Closed

cxzl25 wants to merge 1 commit into
apache:mainfrom
cxzl25:ORC-1563

Conversation

@cxzl25

@cxzl25 cxzl25 commented Dec 27, 2023 •

Copy link
Copy Markdown
Contributor

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

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

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 .

Comment thread site/_docs/hive-config.md
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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