Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/731#discussion_r99391122 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserSession.java --- @@ -278,7 +277,7 @@ public boolean setSessionOption(String name, String value) { */ public String registerTemporaryTable(AbstractSchema schema, String tableName) throws IOException { addTemporaryLocation((WorkspaceSchemaFactory.WorkspaceSchema) schema); - String temporaryTableName = Paths.get(sessionId, UUID.randomUUID().toString()).toString(); + String temporaryTableName = new Path(sessionId, UUID.randomUUID().toString()).toUri().getPath(); --- End diff -- In this case we use path just to concatenate two paths: session id + temp table generated name (to which refer as temp table full name). org.apache.hadoop.fs.Path uses common path delimiter which it can resolve for any system. The above just returns xxx/xxx without file system specifics.
--- 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. ---