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 #666: DRILL-4956: Temporary tables support
Date Tue, 17 Jan 2017 15:30:41 GMT
Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/666#discussion_r95408561
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordWriter.java
---
    @@ -382,4 +391,20 @@ public void cleanup() throws IOException {
     
         codecFactory.release();
       }
    +
    +  /**
    +   * Prepares location where files will be written to.
    +   * Creates directory if not present, applies storage strategy.
    +   *
    +   * @return path to files location
    +   * @throws IOException during directory creation or permission setting problems
    +   */
    +  private Path prepareLocationPath() throws IOException {
    +    if (locationPath == null) {
    +      locationPath = new Path(location);
    +      fs.mkdirs(locationPath);
    --- End diff --
    
    Updated. Now we will handle permission set only for newly created directories.


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