Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/666#discussion_r92197849
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordWriter.java
---
@@ -382,4 +396,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);
+ storageStrategy.apply(fs, locationPath);
--- End diff --
Currently there are no sub-directories for persistent / temp tables, only
table folder which contains files.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---