drill-dev mailing list archives

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

    https://github.com/apache/drill/pull/531#discussion_r67962703
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/TestImplicitFileColumns.java
---
    @@ -110,4 +111,20 @@ public void testImplicitColumnsForParquet() throws Exception {
             .go();
       }
     
    +  @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 --
    
    @jinfengni 
    I guess confusion in here is that `voter50.parquet` is folder name. If would be clearer
I can rename folder and files in it (currently files have names 0_0_0.parquet).


---
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.
---

Mime
View raw message