GitHub user wgtmac opened a pull request: https://github.com/apache/orc/pull/233
ORC-322: [C++] Fix writing & reading timestamp Currently C++ and Java version have different behaviors in reading and writing values of timestamp type. This patch ensures C++ reader/printer will behave the same as their parities on the java side and also ensure C++ reader and writer obtain same timestamp values in the TimestampVectorBatch. You can merge this pull request into a Git repository by running: $ git pull https://github.com/wgtmac/orc ORC-322 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/orc/pull/233.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 #233 ---- commit b8afd28264cd63cd23e5ca2cca057e45d263e694 Author: Gang Wu <gang.w@...> Date: 2018-03-16T17:17:02Z ORC-322: [C++] Fix writing & reading timestamp Currently C++ and Java version have different behaviors in reading and writing values of timestamp type. This patch ensures C++ reader/printer will behave the same as their parities on the java side and also ensure C++ reader and writer obtain same timestamp values in the TimestampVectorBatch. ---- ---