[
https://issues.apache.org/jira/browse/ASTERIXDB-3603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ian Maxon updated ASTERIXDB-3603:
---------------------------------
Labels: triaged (was: )
> 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
> 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)