You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ti...@apache.org on 2018/07/30 21:46:13 UTC
[drill] 03/03: DRILL-6638: Fix TestE2EUnnestAndLateral tests
introduced with DRILL-6546
This is an automated email from the ASF dual-hosted git repository.
timothyfarkas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git
commit 5b36adc5b55da48df65225790bb6045c927cf3d7
Author: Volodymyr Vysotskyi <vv...@gmail.com>
AuthorDate: Thu Jul 26 11:28:01 2018 +0300
DRILL-6638: Fix TestE2EUnnestAndLateral tests introduced with DRILL-6546
closes #1402
---
.../exec/physical/impl/lateraljoin/TestE2EUnnestAndLateral.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/lateraljoin/TestE2EUnnestAndLateral.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/lateraljoin/TestE2EUnnestAndLateral.java
index 88108a6..f8b58b9 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/lateraljoin/TestE2EUnnestAndLateral.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/lateraljoin/TestE2EUnnestAndLateral.java
@@ -174,7 +174,7 @@ public class TestE2EUnnestAndLateral extends ClusterTest {
public void testUnnestWithItem() throws Exception {
String sql = "select u.item from\n" +
"cp.`lateraljoin/nested-customer.parquet` c," +
- "unnest(c.orders['items']) as u(item)\n" +
+ "unnest(c.orders[0]['items']) as u(item)\n" +
"limit 1";
testBuilder()
@@ -207,7 +207,7 @@ public class TestE2EUnnestAndLateral extends ClusterTest {
public void testUnnestWithMap() throws Exception {
String sql = "select u.item from\n" +
"cp.`lateraljoin/nested-customer.parquet` c," +
- "unnest(c.orders.items) as u(item)\n" +
+ "unnest(c.orders[0].items) as u(item)\n" +
"limit 1";
testBuilder()
@@ -225,8 +225,8 @@ public class TestE2EUnnestAndLateral extends ClusterTest {
public void testMultiUnnestWithMap() throws Exception {
String sql = "select u.item from\n" +
"cp.`lateraljoin/nested-customer.parquet` c," +
- "unnest(c.orders.items) as u(item)," +
- "unnest(c.orders.items) as u1(item1)\n" +
+ "unnest(c.orders[0].items) as u(item)," +
+ "unnest(c.orders[0].items) as u1(item1)\n" +
"limit 1";
testBuilder()