-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30701/
-----------------------------------------------------------
(Updated March 26, 2015, 12:52 a.m.)
Review request for drill, Jacques Nadeau, Mehant Baid, and Parth Chandra.
Changes
-------
Changed the interface to attach it to schema instead of storage plugins.
Schemas are created for the lifecycle of a query, unlike storage plugins that
exist from when they are registered throughout the lifecycle of the drillbit.
To enable features in the future like login/session specific permissions on
tables, any element of a query that wants to access data or metadata should go
through the schema to ensure that it is accessible from the current session,
not the storage plugin directly as was done previously.
Bugs: DRILL-2173
https://issues.apache.org/jira/browse/DRILL-2173
Repository: drill-git
Description
-------
Adds a new interface for UDFs to access partition information. Together with
2060 which allows constant expression folding this will allow UDFs that
Diffs (updated)
-----
contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseSchemaFactory.java
7b76092
contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/schema/HiveSchemaFactory.java
023517b
contrib/storage-mongo/src/main/java/org/apache/drill/exec/store/mongo/schema/MongoSchemaFactory.java
32c42ba
exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionConverter.java
ab121b0
exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/DirectoryExplorers.java
PRE-CREATION
exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/interpreter/InterpreterEvaluator.java
35c35ec
exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java
5e31e5c
exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
3b51a69
exec/java-exec/src/main/java/org/apache/drill/exec/ops/UdfUtilities.java
f7a1a04
exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractSchema.java
90e3ef4
exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractStoragePlugin.java
b032fce
exec/java-exec/src/main/java/org/apache/drill/exec/store/PartitionExplorer.java
PRE-CREATION
exec/java-exec/src/main/java/org/apache/drill/exec/store/PartitionExplorerImpl.java
PRE-CREATION
exec/java-exec/src/main/java/org/apache/drill/exec/store/PartitionNotFoundException.java
PRE-CREATION
exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaPartitionExplorer.java
PRE-CREATION
exec/java-exec/src/main/java/org/apache/drill/exec/store/SubSchemaWrapper.java
2c0d8b8
exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSystemSchemaFactory.java
4a3eba9
exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/WorkspaceSchemaFactory.java
7c8d9b3
exec/java-exec/src/test/java/org/apache/drill/exec/fn/interp/TestConstantFolding.java
PRE-CREATION
Diff: https://reviews.apache.org/r/30701/diff/
Testing
-------
Some unit tests on the functionality have been run, still a work in progress so
no full mvn build run yet
Thanks,
Jason Altekruse