heavyai / rbc

Remote Backend Compiler
https://rbc.readthedocs.io
BSD 3-Clause "New" or "Revised" License
30 stars 10 forks source link

Support a Column of Arrays in UDTFs #181

Open pearu opened 4 years ago

pearu commented 4 years ago

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 commented 3 years ago

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.