Github user vdiravka commented on a diff in the pull request:
https://github.com/apache/drill/pull/1166#discussion_r177154051
--- Diff:
exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/writer/TestParquetWriter.java
---
@@ -797,6 +797,24 @@ public void
testImpalaParquetBinaryAsTimeStamp_DictChange() throws Exception {
}
}
+ @Test
+ public void testSparkParquetBinaryAsTimeStamp_DictChange() throws
Exception {
+ try {
+ mockUtcDateTimeZone();
--- End diff --
It doesn't work without `@RunWith(JMockit.class)`.
Also please enable above test case
`testImpalaParquetBinaryAsTimeStamp_DictChange` with the same change. And be
sure that tests pass in the other time zone.
---