Peeyush Gupta created ASTERIXDB-3603:
----------------------------------------
Summary: 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
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)