Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/666#discussion_r95807115
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/FileSystemCreateTableEntry.java
 ---
    @@ -89,11 +94,16 @@ public Writer getWriter(PhysicalOperator child) throws 
IOException {
               formatPlugin.getName())).build(logger);
         }
     
    -    return formatPlugin.getWriter(child, location, partitionColumns);
    +    AbstractWriter writer = formatPlugin.getWriter(child, location, 
partitionColumns);
    +    if (storageStrategy != null) {
    +      writer.setStorageStrategy(storageStrategy);
    --- End diff --
    
    Done. Replacement for default storage strategy will be done in writers 
initialization.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to