GitHub user vkorukanti opened a pull request:
https://github.com/apache/drill/pull/301
DRILL-4194: Improve the performance of metadata fetch operation in HiveScan
+ Use the stats (numRows) stored in Hive metastore whenever available to
calculate the costs for planning purpose
+ Delay the costly operation of loading of InputSplits until needed. When
InputSplits are loaded, cache them at query level to speedup subsequent
access.
@jinfengni, @amansinha100 Could you please review the patch?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vkorukanti/drill hive_lazyload
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/301.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #301
----
commit 0b8654e472bad2c76bbd84f5f9bbe0cd521a3898
Author: vkorukanti <[email protected]>
Date: 2015-12-15T00:02:55Z
DRILL-4198: Enhance StoragePlugin interface to expose logical space rules
for planning purpose
Also move Hive partition pruning rules to logical storage plugin rulesets.
commit 48520c93744f0865731a763c8447a720f80842a0
Author: vkorukanti <[email protected]>
Date: 2015-12-11T19:36:11Z
DRILL-4194: Improve performance of the HiveScan metadata fetch operation
+ Use the stats (numRows) stored in Hive metastore whenever available to
calculate the costs for planning purpose
+ Delay the costly operation of loading of InputSplits until needed. When
InputSplits are loaded, cache them at query level to speedup subsequent
access.
----
---
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.
---