[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-04-03 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/orc/pull/233 ---

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-24 Thread wgtmac
Github user wgtmac commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r176910542 --- Diff: c++/src/ColumnWriter.cc --- @@ -1194,9 +1194,8 @@ namespace orc { bool hasNull = false; for (uint64_t i = 0; i < numValues; ++i) {

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-24 Thread xndai
Github user xndai commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r176909659 --- Diff: c++/src/ColumnWriter.cc --- @@ -1194,9 +1194,8 @@ namespace orc { bool hasNull = false; for (uint64_t i = 0; i < numValues; ++i) {

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-24 Thread xndai
Github user xndai commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r176910052 --- Diff: c++/src/ColumnReader.cc --- @@ -336,8 +336,7 @@ namespace orc { } } int64_t writerTime = secsBuffer[i] +

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-17 Thread wgtmac
Github user wgtmac commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r175257375 --- Diff: c++/src/Vector.cc --- @@ -436,4 +438,8 @@ namespace orc { + static_cast( (data.capacity() + nanoseconds.capacity()) *

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-17 Thread stiga-huang
Github user stiga-huang commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r175257358 --- Diff: c++/src/ColumnPrinter.cc --- @@ -710,7 +713,10 @@ namespace orc { writeString(buffer, "null"); } else { int64_t

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-17 Thread wgtmac
Github user wgtmac commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r175257368 --- Diff: c++/src/ColumnWriter.cc --- @@ -1194,12 +1194,11 @@ namespace orc { bool hasNull = false; for (uint64_t i = 0; i < numValues; ++i) {

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-17 Thread wgtmac
Github user wgtmac commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r175257109 --- Diff: c++/src/ColumnPrinter.cc --- @@ -710,7 +713,10 @@ namespace orc { writeString(buffer, "null"); } else { int64_t nanos =

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-17 Thread stiga-huang
Github user stiga-huang commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r175256695 --- Diff: c++/src/Vector.cc --- @@ -436,4 +438,8 @@ namespace orc { + static_cast( (data.capacity() +

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-17 Thread stiga-huang
Github user stiga-huang commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r175256539 --- Diff: c++/src/ColumnWriter.cc --- @@ -1194,12 +1194,11 @@ namespace orc { bool hasNull = false; for (uint64_t i = 0; i < numValues;

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-17 Thread stiga-huang
Github user stiga-huang commented on a diff in the pull request: https://github.com/apache/orc/pull/233#discussion_r175256428 --- Diff: c++/src/ColumnPrinter.cc --- @@ -710,7 +713,10 @@ namespace orc { writeString(buffer, "null"); } else { int64_t

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-16 Thread wgtmac
GitHub user wgtmac reopened 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

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-16 Thread wgtmac
Github user wgtmac closed the pull request at: https://github.com/apache/orc/pull/233 ---

[GitHub] orc pull request #233: ORC-322: [C++] Fix writing & reading timestamp

2018-03-16 Thread wgtmac
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