[
https://issues.apache.org/jira/browse/DRILL-4956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761376#comment-15761376
]
ASF GitHub Bot commented on DRILL-4956:
---------------------------------------
Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/666#discussion_r92195010
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/SqlHandlerUtil.java
---
@@ -235,4 +235,15 @@ public static void unparseSqlNodeList(SqlWriter
writer, int leftPrec, int rightP
writer.keyword(")");
}
+ /**
+ * Generates temporary table name using original table and unique
identifies.
+ *
+ * @param tableName original table name
+ * @param uuid unique identifier
+ * @return generated temporary table name
+ */
+ public static String generateTemporaryTableName(String tableName, String
uuid) {
--- End diff --
New design: common directory - sessionId, specific directory - uuid
generated temp table name
> Temporary tables support
> ------------------------
>
> Key: DRILL-4956
> URL: https://issues.apache.org/jira/browse/DRILL-4956
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.8.0
> Reporter: Arina Ielchiieva
> Assignee: Arina Ielchiieva
> Labels: doc-impacting
> Fix For: Future
>
>
> Link to design doc -
> https://docs.google.com/document/d/1gSRo_w6q2WR5fPx7SsQ5IaVmJXJ6xCOJfYGyqpVOC-g/edit
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)