aboutsummaryrefslogtreecommitdiff
path: root/contrib/storage-hive/core/src/test/java/org/apache/drill
diff options
context:
space:
mode:
authorSudheesh Katkam <skatkam@maprtech.com>2016-03-22 15:21:51 -0700
committerSudheesh Katkam <skatkam@maprtech.com>2016-03-22 16:19:01 -0700
commit5dbaafbe6651b0a284fef69d5c952d82ce506e20 (patch)
tree78f7042e1444973fade0539f5707ce4d6a2e81f0 /contrib/storage-hive/core/src/test/java/org/apache/drill
parent600ba9ee1d7f321036a6390c0ff9d9872b1d80f0 (diff)
DRILL-3623: For limit 0 queries, optionally use a shorter execution path when result column types are known
+ "planner.enable_limit0_optimization" option is disabled by default + Print plan in PlanTestBase if TEST_QUERY_PRINTING_SILENT is set + Fix DrillTestWrapper to verify expected and actual schema + Correct the schema of results in TestInbuiltHiveUDFs#testXpath_Double This closes #405
Diffstat (limited to 'contrib/storage-hive/core/src/test/java/org/apache/drill')
-rw-r--r--contrib/storage-hive/core/src/test/java/org/apache/drill/exec/fn/hive/TestInbuiltHiveUDFs.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/storage-hive/core/src/test/java/org/apache/drill/exec/fn/hive/TestInbuiltHiveUDFs.java b/contrib/storage-hive/core/src/test/java/org/apache/drill/exec/fn/hive/TestInbuiltHiveUDFs.java
index a287c89d4..a126aaaa0 100644
--- a/contrib/storage-hive/core/src/test/java/org/apache/drill/exec/fn/hive/TestInbuiltHiveUDFs.java
+++ b/contrib/storage-hive/core/src/test/java/org/apache/drill/exec/fn/hive/TestInbuiltHiveUDFs.java
@@ -58,7 +58,7 @@ public class TestInbuiltHiveUDFs extends HiveTestBase {
final TypeProtos.MajorType majorType = TypeProtos.MajorType.newBuilder()
.setMinorType(TypeProtos.MinorType.FLOAT8)
- .setMode(TypeProtos.DataMode.REQUIRED)
+ .setMode(TypeProtos.DataMode.OPTIONAL)
.build();
final List<Pair<SchemaPath, TypeProtos.MajorType>> expectedSchema = Lists.newArrayList();