GitHub user vdiravka opened a pull request:

    https://github.com/apache/drill/pull/697

    DRILL-5097: Using store.parquet.reader.int96_as_timestamp gives IOOB 
whereas convert_from works

    When the int96 value is converted into timestamp (long in java) we cut the 
nanos precision to millis. But need to change dataTypeLengthInBits of 
columnReader (while converting parquet fixed binary type INT96 into drill 
TimeStamp) from 12 byte(s) to 8 byte(s) as well.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vdiravka/drill DRILL-5097

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/697.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 #697
    
----
commit ab6bad27469234587a059cccd7b5497279828450
Author: Vitalii Diravka <[email protected]>
Date:   2016-12-14T16:24:08Z

    DRILL-5097: Using store.parquet.reader.int96_as_timestamp gives IOOB 
whereas convert_from works

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to