[
https://issues.apache.org/jira/browse/ORC-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499795#comment-16499795
]
ASF GitHub Bot commented on ORC-373:
------------------------------------
GitHub user prasanthj opened a pull request:
https://github.com/apache/orc/pull/279
ORC-373: Option to disable dictionary encoding
disables dictionary encoding at the time of string tree writer
initialization.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/prasanthj/orc ORC-373
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/279.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #279
----
commit a2a091b23972523b2c55448808dbb695f19ee4ef
Author: Prasanth Jayachandran <prasanthj@...>
Date: 2018-06-02T02:24:22Z
ORC-373: Option to disable dictionary encoding
commit 7b8f90223b3d1021eff17b52ce92417ed561548c
Author: Prasanth Jayachandran <prasanthj@...>
Date: 2018-06-04T06:22:38Z
Added unit test
----
> Option to disable dictionary encoding
> --------------------------------------
>
> Key: ORC-373
> URL: https://issues.apache.org/jira/browse/ORC-373
> Project: ORC
> Issue Type: Bug
> Affects Versions: 1.5.2
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Priority: Major
>
> Currently dictionary check happens after creation of first row group entry.
> Even when row indexes are disabled, rows end up in red-black tree first
> before getting flushed during write stripe (into direct stream).
> If dictionary threshold is set to <= 0.0 disable dictionary, we should write
> directly to stream instead of RBTree. This is useful for hive streaming
> ingest where delta files explicitly disables dictionaries.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)