[
https://issues.apache.org/jira/browse/DRILL-6331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449480#comment-16449480
]
ASF GitHub Bot commented on DRILL-6331:
---------------------------------------
Github user vdiravka commented on a diff in the pull request:
https://github.com/apache/drill/pull/1214#discussion_r183632379
--- Diff:
contrib/storage-hive/core/src/test/java/org/apache/drill/exec/store/hive/HiveTestDataGenerator.java
---
@@ -64,16 +68,17 @@ public static synchronized HiveTestDataGenerator
getInstance(File baseDir) throw
final String dbDir = dbDirFile.getAbsolutePath();
final String whDir = whDirFile.getAbsolutePath();
- instance = new HiveTestDataGenerator(dbDir, whDir);
+ instance = new HiveTestDataGenerator(dbDir, whDir, dirTestWatcher);
instance.generateTestData();
}
return instance;
}
- private HiveTestDataGenerator(final String dbDir, final String whDir) {
+ private HiveTestDataGenerator(final String dbDir, final String whDir,
final BaseDirTestWatcher dirTestWatcher) {
this.dbDir = dbDir;
this.whDir = whDir;
+ this.dirTestWatcher = dirTestWatcher;
config = Maps.newHashMap();
config.put("hive.metastore.uris", "");
--- End diff --
"hive.metastore.uris" -> ConfVars.METASTOREURIS
> Parquet filter pushdown does not support the native hive reader
> ---------------------------------------------------------------
>
> Key: DRILL-6331
> URL: https://issues.apache.org/jira/browse/DRILL-6331
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - Hive
> Affects Versions: 1.13.0
> Reporter: Arina Ielchiieva
> Assignee: Arina Ielchiieva
> Priority: Major
> Fix For: 1.14.0
>
>
> Initially HiveDrillNativeParquetGroupScan was based mainly on HiveScan, the
> core difference between them was
> that HiveDrillNativeParquetScanBatchCreator was creating ParquetRecordReader
> instead of HiveReader.
> This allowed to read Hive parquet files using Drill native parquet reader but
> did not expose Hive data to Drill optimizations.
> For example, filter push down, limit push down, count to direct scan
> optimizations.
> Hive code had to be refactored to use the same interfaces as
> ParquestGroupScan in order to be exposed to such optimizations.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)