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

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

Commit ca42492ec8523b0a6482fd3cffffa775934a7f82 in asterixdb's branch 
refs/heads/master from Steven Glenn Jacobs
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=ca42492 ]

[ASTERIXDB-2402][COMP] Allow AND for IsMissing in Groupby

AccessMethodUtils.findLOJIsMissingFuncInGroupBy()
looks for the not(is-missing($VAR)) pattern
in a group by, but failed to detect it if it is part of
an and, e.g. and(not(is-missing($VAR1)),not(is-missing($VAR2)))

This changes fixes this and adds a test case

Change-Id: I9547fba5e4ba02226b5b2c2504080b091d3b8d5e
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2735
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Dmitry Lychagin <[email protected]>


> findLOJIsMissingFuncInGroupBy fails to find the expression when there is an 
> "and"
> ---------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2402
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2402
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Steven Jacobs
>            Priority: Major
>
> When findLOJIsMissingFuncInGroupBy() in AccessMethodUtils looks for the
> not(is-missing($$VAR)
> expression, it fails to check select statements of the form:
> select (and(not(is-missing($$VAR1)), not(is-missing($$VAR2))))
> It only looks for 
> select (not(is-missing($$VAR))
> which doesn't cover all cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to