Skip to content

Commit

Permalink
[DRILL-2914] Update DrillCalcite's version to 1.1.0-drill-r5
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanyi authored and Aman Sinha committed May 9, 2015
1 parent 9d20962 commit a8c9387
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
Expand Up @@ -844,4 +844,20 @@ public void createJsonWithEmptyList() throws Exception {
test("ALTER SESSION SET `store.format`='parquet'");
}

@Test // DRILL-2914
public void testGroupByStarSchemaless() throws Exception {
String query = "SELECT n.n_nationkey AS col \n" +
"FROM (SELECT * FROM cp.`tpch/nation.parquet`) AS n \n" +
"GROUP BY n.n_nationkey \n" +
"ORDER BY n.n_nationkey";

testBuilder()
.sqlQuery(query)
.ordered()
.csvBaselineFile("testframework/testExampleQueries/testGroupByStarSchemaless.tsv")
.baselineTypes(TypeProtos.MinorType.INT)
.baselineColumns("col")
.build()
.run();
}
}
@@ -0,0 +1,25 @@
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -1038,7 +1038,7 @@
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>1.1.0-drill-r3</version>
<version>1.1.0-drill-r5</version>
<exclusions>
<exclusion>
<groupId>org.jgrapht</groupId>
Expand Down

0 comments on commit a8c9387

Please sign in to comment.