You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by js...@apache.org on 2015/02/27 09:01:57 UTC
[3/9] drill git commit: DRILL-2013: Part 2 - Improve test for flatten
bug
DRILL-2013: Part 2 - Improve test for flatten bug
Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/f378b342
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/f378b342
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/f378b342
Branch: refs/heads/master
Commit: f378b342cabc6c1e69a1df0855136ef36e523741
Parents: ce0afb1
Author: AdamPD <ad...@pharmadata.net.au>
Authored: Mon Feb 9 12:12:36 2015 +1000
Committer: Jason Altekruse <al...@gmail.com>
Committed: Thu Feb 26 16:41:03 2015 -0800
----------------------------------------------------------------------
.../apache/drill/exec/physical/impl/flatten/TestFlatten.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/drill/blob/f378b342/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/flatten/TestFlatten.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/flatten/TestFlatten.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/flatten/TestFlatten.java
index 9518386..dc37079 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/flatten/TestFlatten.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/flatten/TestFlatten.java
@@ -243,7 +243,10 @@ public class TestFlatten extends BaseTestQuery {
@Test
public void testDrill_2013() throws Exception {
- test("select flatten(complex), rownum from cp.`/store/json/test_flatten_mappify2.json` where rownum > 5");
+ testBuilder()
+ .sqlQuery("select flatten(complex), rownum from cp.`/store/json/test_flatten_mappify2.json` where rownum > 5")
+ .expectsEmptyResultSet()
+ .build().run();
}
}