rbc icon indicating copy to clipboard operation
rbc copied to clipboard

Support a Column of Arrays in UDTFs

Open pearu opened this issue 5 years ago • 1 comments

The following example should be supported:

@omnisci('int32(Column<Array<double>>, RowMultiplier, Column<double>)')
def array_sum(x, m, y):
    for i in range(x):
        y[i] = sum(x[i])

pearu avatar Sep 11 '20 21:09 pearu

An attempt is made in https://github.com/omnisci/omniscidb-internal/tree/pearu/array-column but according to Slack discussion https://quansight.slack.com/archives/CHSDG1C9W/p1613589094079000 the columnarization of columns of arrays will be problematic due to inflexibilities in ColumnarResult. So, the issue is put to hold.

pearu avatar Feb 19 '21 10:02 pearu