Pearu Peterson

Results 177 comments of Pearu Peterson

Marking as onhold as it is BC change for numba versions that rbc still supports. Reconsider when numba 0.57 is released.

Part of this PR is included in https://github.com/xnd-project/rbc/pull/506

@rgommers , yes, the context here is a bit different from the context where `__array_function__` could be used. All functions that rbc decorates, are never executed. Instead, the rbc decorated...

https://github.com/xnd-project/rbc/runs/5147514875?check_suite_focus=true ``` rbc/tests/test_omnisci_udtf.py::test_parallel_execution[1-ct_sleep1] TTransportException(type=4, message='TSocket read 0 bytes') 1259 TTransportException(type=4, message='TSocket read 0 bytes') 1260 FAILED ``` ``` 2022-02-10T20:55:16.542814 E 4442 0 2160 DBHandler.cpp:1328 Function ct_device_selection_udf_gpu(INTEGER) not supported. 2022-02-10T20:55:57.065470 E...

https://github.com/xnd-project/rbc/runs/5148068673?check_suite_focus=true Same Python failure as above. ``` 2022-02-10T21:49:51.273452 E 4422 0 2160 DBHandler.cpp:1328 Function ct_device_selection_udf_gpu(INTEGER) not supported. 29402 2022-02-10T21:50:22.093218 E 4422 0 2357 DBHandler.cpp:1328 SQL Error: From line 2, column...

Running a full set of rbc tests using CPU-only omniscidb shows that pytest consumes about 16GB RAM.

The server likely crashes because no memory has been allocated to the output parameter `out`. Use: ``` @omnisci('int32(Column, OutputColumn)') def example(input, out): size = len(input) set_output_row_size(size) for i in range(size):...

> But then how to only return a slice? I thought this return could be used for that? There are (perhaps too many) number of ways to specify the size...

Other statements that rbc does not support: with, match, def, class, async.

First, yes, I agree that declaring UDTF from rbc and from C++ UDTF annotations ought to use the same syntactic sugar. Here's a suggestion: in rbc.typesystem, when `->` is encountered,...