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

ASF GitHub Bot commented on TRAFODION-2127:
-------------------------------------------

Github user zellerh commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/772#discussion_r85251454
  
    --- Diff: core/sql/generator/GenRelScan.cpp ---
    @@ -1119,7 +1124,8 @@ short FileScan::codeGenForHive(Generator * generator)
       if (expirationTimestamp > 0)
         expirationTimestamp += 1000000 *
           (Int64) CmpCommon::getDefaultLong(HIVE_METADATA_REFRESH_INTERVAL);
    -  generator->setPlanExpirationTimestamp(expirationTimestamp);
    +  if (!getCommonSubExpr())
    +    generator->setPlanExpirationTimestamp(expirationTimestamp);
    --- End diff --
    
    The way I understand it, this controls how often we validate the timestamps 
of Hive tables (directories where Hive files reside). This is used to make 
concurrent changes to Hive tables visible immediately at runtime. I think Anoop 
used the same CQD we have for the metadata for the runtime check, where people 
can defer this check for a while. The default for this is 0, which means to 
check every time we execute a statement on a Hive table.


> enhance Trafodion implementation of WITH clause
> -----------------------------------------------
>
>                 Key: TRAFODION-2127
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2127
>             Project: Apache Trafodion
>          Issue Type: Improvement
>            Reporter: liu ming
>            Assignee: Hans Zeller
>
> TRAFODION-1673 described some details about how to support WITH clause in 
> Trafodion.
> As initial implementation, we use a simple pure-parser method.
> That way, Trafodion can support WITH clause functionally, but not good from 
> performance point of view,
> also need to enhance the parser to be more strict in syntax.
> This JIRA is a follow up JIRA, to track following effort to support Trafodion 
> WITH clause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to