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

ASF subversion and git services commented on ASTERIXDB-971:
-----------------------------------------------------------

Commit 8671ddf83ed402dce7465759d6399ed84993f967 in asterixdb's branch 
refs/heads/master from [~buyingyi]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=8671ddf ]

Clean up GROUP BY and WITH clause.

- fix ASTERIXDB-971, i.e., the expression to plan translator for FLWOGR without 
a "for";
- fix the scoping for nested WITH clause;
- fix the scoping for nested GROUP BY clause;
- fix default fields in group variables;
- fix/unify the expression substition AST visitor;
- enhance RemoveUnusedAssignAndAggregateRule to be able to remove unused GROUP 
BY
  decoration varaibles;
- clearly sperate SQL++ aggregate functions and SQL-92 aggregate functions, 
i.e.,
  SQL-92 aggregate sugars cannot apply to SQL++ aggregate functions;
- fix PushAggregateIntoGroupbyRule for nested plan deletions;
- enhance RemoveCartesianProductWithEmptyBranchRule;
- add ExtractGroupByDecorVariablesRule;
- add an aggregate function first-element;
- fix ASTERIXDB-1560, an error message issue.

Change-Id: I62fca7f937aa007d97ed87c75cef19f6aa3e5ade
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1050
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <ti...@apache.org>


> Semantically equivalent FLWOR expressions involving dataset lookup; one 
> executes fine, other fails with NPE during compilation
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-971
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-971
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB, Optimizer, Translator - AQL
>            Reporter: asterixdb-importer
>            Assignee: Yingyi Bu
>            Priority: Critical
>         Attachments: Exception.txt
>
>
> Semantically equivalent FLWOR expressions involving dataset lookup; one 
> executes fine, other fails with NPE during compilation



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

Reply via email to