[
https://issues.apache.org/jira/browse/DRILL-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Smidth Panchamia updated DRILL-3492:
------------------------------------
Attachment: 0001-DRILL-3492-Add-support-for-encoding-decoding-of-to-f.patch
This change allows encoding/decoding of data from/to 'double', 'float',
'bigint', 'int' and 'utf8' data types to/from OrderedBytes format.
It also allows for OrderedByte encoded row-keys to be stored in
ascending as well as descending order.
The following JIRA added the OrderedBytes encoding to HBase:
https://issues.apache.org/jira/browse/HBASE-8201
This encoding scheme will preserve the sort-order of the native
data-type when it is stored as sorted byte arrays on disk.
Thus, it will help the HBase storage plugin if the row-keys have been
encoded in OrderedBytes format.
This functionality allows us to prune the scan ranges, thus reading much
lesser data from the server.
Testing Done:
Added a new unit-test class TestOrderedBytesConvertFunctions.java which
derives from TestConvertFunctions.java class.
Also add new test cases to TestHBaseFilterPushDown class that will test
if we were able to push-down filters correctly and if the results are
correct.
> Add support for encoding of Drill data types into byte ordered format
> ---------------------------------------------------------------------
>
> Key: DRILL-3492
> URL: https://issues.apache.org/jira/browse/DRILL-3492
> Project: Apache Drill
> Issue Type: New Feature
> Reporter: Smidth Panchamia
> Assignee: Smidth Panchamia
> Attachments:
> 0001-DRILL-3492-Add-support-for-encoding-decoding-of-to-f.patch,
> 0001-DRILL-3492-Add-support-for-encoding-decoding-of-to-f.patch
>
>
> The following JIRA added this functionality in HBase:
> https://issues.apache.org/jira/browse/HBASE-8201
> We need to port this functionality in Drill so as to allow filtering and
> pruning of rows during scans.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)