[ https://issues.apache.org/jira/browse/HIVE-24081?focusedWorklogId=476456&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-476456 ]
ASF GitHub Bot logged work on HIVE-24081: ----------------------------------------- Author: ASF GitHub Bot Created on: 31/Aug/20 09:02 Start Date: 31/Aug/20 09:02 Worklog Time Spent: 10m Work Description: kasakrisz commented on a change in pull request #1437: URL: https://github.com/apache/hive/pull/1437#discussion_r479994280 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/parse/QBParseInfo.java ########## @@ -677,6 +685,33 @@ public void setNoScanAnalyzeCommand(boolean isNoScanAnalyzeCommand) { public boolean hasInsertTables() { return this.insertIntoTables.size() > 0 || this.insertOverwriteTables.size() > 0; } + + public boolean isFullyAggregate() throws SemanticException { Review comment: Added javadocs. I think it can be non-static until it is used from another location. It uses the `destToSelExpr` field located in `QBParseInfo`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 476456) Time Spent: 1h (was: 50m) > Enable pre-materializing CTEs referenced in scalar subqueries > ------------------------------------------------------------- > > Key: HIVE-24081 > URL: https://issues.apache.org/jira/browse/HIVE-24081 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > HIVE-11752 introduces materializing CTE based on config > {code} > hive.optimize.cte.materialize.threshold > {code} > Goal of this jira is > * extending the implementation to support materializing CTE's referenced in > scalar subqueries > * add a config to materialize CTEs with aggregate output only -- This message was sent by Atlassian Jira (v8.3.4#803005)