[ 
https://issues.apache.org/jira/browse/DRILL-4956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15800072#comment-15800072
 ] 

ASF GitHub Bot commented on DRILL-4956:
---------------------------------------

Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/666#discussion_r94704176
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/ViewHandler.java
 ---
    @@ -49,6 +50,24 @@ public ViewHandler(SqlHandlerConfig config) {
         this.context = config.getContext();
       }
     
    +  /**
    +   * If view to be dropped is in default temporary workspace, checks if 
it's a temporary table or not.
    +   *
    +   * @param schema view schema
    +   * @param viewName view name to be created
    +   * @return true is object to be created is temporary table, false 
otherwise
    +   */
    +  protected boolean isTemporaryTable(AbstractSchema schema, String 
viewName) {
    --- End diff --
    
    Not sure why we are checking if a view is a temporary table? Or, should 
viewName be tableName?


> 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)

Reply via email to