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

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

Commit cda30085fa50f25f812436599701cfcdfdc1c54b in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=cda30085fa ]

[ASTERIXDB-3487][COMP] Fix inlining UDFs in UnaryExpr/IndexAccessor

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
Fix inlining UDFs in UnaryExpr/IndexAccessor.

Ext-ref: MB-63229

Change-Id: I88c1bd5b67633a609117d80e1e427fd108e323d7
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18688
Reviewed-by: Ali Alsuliman <ali.al.solai...@gmail.com>
Reviewed-by: Michael Blow <mb...@apache.org>
Tested-by: Michael Blow <mb...@apache.org>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>


> UDF not inlined for UnaryExpr and IndexAccessor
> -----------------------------------------------
>
>                 Key: ASTERIXDB-3487
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3487
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>            Reporter: Ali Alsuliman
>            Assignee: Ali Alsuliman
>            Priority: Major
>
> Using a UDF with '-' operator causes the query to fail with an illegal state 
> exception because the UDF does not get inlined.
> Here is an example query:
> {noformat}
> SELECT -udf(col.f) FROM col;
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to