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

Dongjoon Hyun commented on ORC-1287:
------------------------------------

Thank you for reporting, [~Xiaoyu Liu].

> C++ read timestamp value is different from java read when using csv-import 
> tool convert CSV to ORC files
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ORC-1287
>                 URL: https://issues.apache.org/jira/browse/ORC-1287
>             Project: ORC
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 1.7.3
>         Environment: centos7
>            Reporter: liuxiaoyu
>            Priority: Major
>         Attachments: image-2022-10-12-20-47-56-965.png, 
> image-2022-10-12-21-09-31-864.png, image.png, test.csv, test.orc
>
>
> I have a csv file. Convert to orc files with the c++ csv-import tool.   
> ORC Version is v1.7.3  
>  
> *Command*
> csv-import "struct<a:timestamp>" ./test.csv ./test.orc
> java -jar orc-tools-1.7.3-uber.jar data test.orc
> orc-contents ./test.orc
>  
>   
> !image-2022-10-12-21-09-31-864.png!
>  
> *0001-01-01 00:00:00.000000*  java and c++ show timestamp are different
>   
> Tried the version *orc main branch* is the same results.
> !image-2022-10-12-20-47-56-965.png!
>   
> this issue looks similar to this issue
> https://issues.apache.org/jira/browse/ORC-1055



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to