Quanlong Huang created ORC-320:
----------------------------------
Summary: C++ writer tests failed when Daylight Saving Time started
Key: ORC-320
URL: https://issues.apache.org/jira/browse/ORC-320
Project: ORC
Issue Type: Improvement
Components: C++
Reporter: Quanlong Huang
C++ writer tests failed in writeTimestamp when Daylight Saving Time started.
Errors are
{code}
/mnt/volume1/orc/c++/test/TestWriter.cc:596: Failure
Expected: times[i]
Which is: 1520762379
To be equal to: tsBatch->data[i]
Which is: 1520765979
/mnt/volume1/orc/c++/test/TestWriter.cc:596: Failure
Expected: times[i]
Which is: 1520762319
To be equal to: tsBatch->data[i]
Which is: 1520765919
/mnt/volume1/orc/c++/test/TestWriter.cc:596: Failure
Expected: times[i]
Which is: 1520762259
To be equal to: tsBatch->data[i]
Which is: 1520765859
/mnt/volume1/orc/c++/test/TestWriter.cc:596: Failure
Expected: times[i]
Which is: 1520762199
To be equal to: tsBatch->data[i]
Which is: 1520765799
...
{code}
The expected values are 3600 less than the corresponding values.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)