drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdiravka <...@git.apache.org>
Subject [GitHub] drill pull request #877: DRILL-5660: Drill 1.10 queries fail due to Parquet ...
Date Wed, 26 Jul 2017 08:57:32 GMT
Github user vdiravka commented on a diff in the pull request:

    https://github.com/apache/drill/pull/877#discussion_r129485543
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestParquetMetadataCache.java
---
    @@ -38,24 +40,31 @@
       private static final String TEST_RES_PATH = WORKING_PATH + "/src/test/resources";
       private static final String tableName1 = "parquetTable1";
       private static final String tableName2 = "parquetTable2";
    -  private static final String RELATIVE_PATHS_METADATA = "relative_paths_metadata";
    +  private static File dataDir1;
    +  private static File dataDir2;
     
     
       @BeforeClass
       public static void copyData() throws Exception {
         // copy the data into the temporary location
         String tmpLocation = getDfsTestTmpSchemaLocation();
    -    File dataDir1 = new File(tmpLocation + Path.SEPARATOR + tableName1);
    +    dataDir1 = new File(tmpLocation + Path.SEPARATOR + tableName1);
         dataDir1.mkdir();
         FileUtils.copyDirectory(new File(String.format(String.format("%s/multilevel/parquet",
TEST_RES_PATH))),
             dataDir1);
     
    -    File dataDir2 = new File(tmpLocation + Path.SEPARATOR + tableName2);
    +    dataDir2 = new File(tmpLocation + Path.SEPARATOR + tableName2);
    --- End diff --
    
    Done


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