jnturton commented on code in PR #2733: URL: https://github.com/apache/drill/pull/2733#discussion_r1067718395
########## exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/WorkspaceSchemaFactory.java: ########## @@ -403,8 +404,24 @@ private View getView(DotDrillFile f) throws IOException { return f.getView(mapper); } + private String getTemporaryName(String name) { + if (isTemporaryWorkspace()) { + String tableName = DrillStringUtils.removeLeadingSlash(name); + return schemaConfig.getTemporaryTableName(tableName); + } + return null; + } + + private boolean isTemporaryWorkspace() { Review Comment: Could this utility method move to SchemaConfig or SchemaUtilities so that it's available for reuse elsewhere or is that unlikely? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org