Pearu Peterson
Pearu Peterson
I think rbc should generate two LLVM IR functions, `udtf` and `udtf__require_check`, if `require` annotations are used. With this approach, omniscidb server might need no changes. When used from rbc,...
I think it is rather here: https://github.com/omnisci/omniscidb-internal/blob/ebd3a5f4bec2d5925fc844e01a932f2cdd2eec90/QueryEngine/NativeCodegen.cpp#L1367-L1380 where the scanning for libdevice location should be implemented.
https://github.com/omnisci/omniscidb-internal/pull/5274 implements ColumnList for C++ UDTFs
mlpack support is implemented in https://github.com/omnisci/omniscidb-internal/pull/5430
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...
@mikehinchey , the same hook is implemented in pyomniscidb, see https://github.com/omnisci/omniscidb-internal/blob/master/python/omnisci/connection.py#L397-L406 So, instead of using RemoteOmnisci instance for defining UDF/UDTFs, you can use pyomniscidb `Connection` instance as well. However, I...
https://github.com/omnisci/omniscidb-internal/blob/master/QueryEngine/NativeCodegen.cpp#L2195 https://github.com/omnisci/omniscidb-internal/blob/master/QueryEngine/ExtensionsIR.cpp#L224
This issue is related to C++ UDF/UDTFs and not to RBC UDF/UDTFs. The task is about making sure that those C++ UDF/UDTFs that can be executed only on CPU will...
Reproducer: 1. Define a runtime UDF test function: ``` def test_simple_udf(omnisci): @omnisci('int32(int32)') def simple_udf(x): return x + 1 query = 'select simple_udf(123)' descr, result = omnisci.sql_execute(query) result = list(result) ```...
The "cannot find libdevice" error is explained in https://stackoverflow.com/questions/59826961/fail-to-link-cuda-example-with-clang-9-under-ubuntu-18-04. Solution: use clang 11 (I was using clang 9).