You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/06/01 15:02:00 UTC

[jira] [Commented] (ASTERIXDB-3603) Support transform functions

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

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

Commit d45a3bd18c7739c31e6960787530a45b8c14a22c in asterixdb's branch refs/heads/master from Peeyush Gupta
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=d45a3bd18c ]

[ASTERIXDB-3603][FUN] Add support for transform functions

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

Ext-ref: MB-63039
Change-Id: If10b15ebd2e9b4ac7cac3b68ca4b301a6b58c30e
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19832
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Peeyush Gupta <pe...@couchbase.com>
Reviewed-by: Peeyush Gupta <pe...@couchbase.com>
Reviewed-by: Ali Alsuliman <al...@gmail.com>


> Support transform functions
> ---------------------------
>
>                 Key: ASTERIXDB-3603
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3603
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>          Components: FUN - Functions
>            Reporter: Peeyush Gupta
>            Assignee: Peeyush Gupta
>            Priority: Major
>              Labels: triaged
>
> We should support a special type of functions that take a document as an argument and returns a transformed documnet.
> CREATE TRANSFORM FUNCTION OrderTransform2 (ord)
> { SELECT orderno, custid, order_date, ship_date,
>          (SELECT VALUE SUM(i.qty * i.price) FROM o.items as i)[0] AS total
>   FROM [ord] AS o };



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