[ 
https://issues.apache.org/jira/browse/ORC-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prasanth Jayachandran updated ORC-373:
--------------------------------------
    Description: 
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. 

  was:
Currently dictionary check happens after first creating first row group entry. 
Even when row indexes are disabled, rows end up in red-black tree first before 
getting flushed during write stripe.
If dictionary threshold is set to <= 0.0 disable dictionary and write directly 
to stream. This is useful for hive streaming ingest where delta files 
explicitly disables dictionaries. 


> 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)

Reply via email to