drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinfengni <...@git.apache.org>
Subject [GitHub] drill pull request #531: DRILL-4733: max(dir0) reading more columns than nec...
Date Tue, 21 Jun 2016 20:20:34 GMT
Github user jinfengni commented on a diff in the pull request:

    --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/TestImplicitFileColumns.java
    @@ -110,4 +111,20 @@ public void testImplicitColumnsForParquet() throws Exception {
    +  @Test // DRILL-4733
    +  public void testMultilevelParquetWithSchemaChange() throws Exception {
    +    try {
    +      test("alter session set `planner.enable_decimal_data_type` = true");
    +      testBuilder()
    +          .sqlQuery(String.format("select max(dir0) as max_dir from dfs_test.`%s/src/test/resources/multilevel/parquetWithSchemaChange`",
    +              TestTools.getWorkingPath()))
    +          .unOrdered()
    +          .baselineColumns("max_dir")
    +          .baselineValues("voter50.parquet")
    --- End diff --
    Why do you put baselineValue in a parquet, in stead of putting it in the testcase directly?
Tthe query seems to return one single value. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message