[ 
https://issues.apache.org/jira/browse/DRILL-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398154#comment-16398154
 ] 

ASF GitHub Bot commented on DRILL-6016:
---------------------------------------

GitHub user rajrahul opened a pull request:

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

    DRILL-6016 - Fix for Error reading INT96 created by Apache Spark

    This fixes DRILL-6016 where drill was failing to read int96 generated by 
Apache Spark even after setting store.parquet.reader.int96_as_timestamp to true.


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

    $ git pull https://github.com/rajrahul/drill DRILL-6016

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

    https://github.com/apache/drill/pull/1166.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 #1166
    
----
commit 6d74884f314638e8d95e0c6ea3431222cb308ec5
Author: Rahul Raj <rajrahul@...>
Date:   2018-03-14T06:35:45Z

    DRILL-6016 - Fix for Error reading INT96 created by Apache Spark

----


> Error reading INT96 created by Apache Spark
> -------------------------------------------
>
>                 Key: DRILL-6016
>                 URL: https://issues.apache.org/jira/browse/DRILL-6016
>             Project: Apache Drill
>          Issue Type: Bug
>         Environment: Drill 1.11
>            Reporter: Rahul Raj
>            Priority: Major
>
> Hi,
> I am getting the error - SYSTEM ERROR : ClassCastException: 
> org.apache.drill.exec.vector.TimeStampVector cannot be cast to 
> org.apache.drill.exec.vector.VariableWidthVector while trying to read a spark 
> INT96 datetime field on Drill 1.11 in spite of setting the property 
> store.parquet.reader.int96_as_timestamp to  true.
> I believe this was fixed in drill 
> 1.10(https://issues.apache.org/jira/browse/DRILL-4373). What could be wrong.
> I have attached the dataset at 
> https://github.com/rajrahul/files/blob/master/result.tar.gz



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to