Github user vdiravka commented on a diff in the pull request:
https://github.com/apache/drill/pull/595#discussion_r82290736
--- Diff:
contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveDrillNativeScanBatchCreator.java
---
@@ -123,6 +123,7 @@ public ScanBatch getBatch(FragmentContext context,
HiveDrillNativeParquetSubScan
// in the first row group
ParquetReaderUtility.DateCorruptionStatus containsCorruptDates =
ParquetReaderUtility.detectCorruptDates(parquetMetadata,
config.getColumns(), true);
+ logger.info(containsCorruptDates.toString());
--- End diff --
But it is not a regular Boolean value, `DateCorruptionStatus` is an enum
with overrided toString method. For example how log file looks after querying
hive parquet file with correct date values:
`2016-10-06 23:32:30,598 [280920f1-e362-136e-0fdd-24779fef2c4a:frag:0:0]
INFO o.a.d.e.s.p.ParquetScanBatchCreator - It is determined from metadata that
the date values are definitely CORRECT`
Is it enought?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---