[ https://issues.apache.org/jira/browse/ASTERIXDB-3603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Maxon reassigned ASTERIXDB-3603: ------------------------------------ Assignee: Peeyush Gupta > 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)