Pearu Peterson

Results 66 issues of Pearu Peterson

As in the title (https://github.com/heavyai/heavydb-internal/pull/6571) plus various updates to make tests pass with the latest heavydb master.

heavydb
tests

When heavyai tries to run queries, it should check with rbc process if there are any new runtime UDFs defined and trigger the registration when needed.

enhancement
heavydb

Example: ``` >>> @omnisci('int32(TableFunctionManager, Column, T, OutputColumn)', T=['int32', 'int64', 'float32', 'float64']) ... def colincr(mgr, input, di, output): ... mgr.set_output_row_size(input.size()) ... for i in range(input.size()): ... output[i] = input[i] + di...

bug

Here is a list of environment variables that we should document: - HEAVYDB_CLIENT_CONF - see rbc/heavydb.py:get_client_config - RBC_TESTS_FULL - see rbc/tests/heavyai/test_heavyai.py - OMNISCIDB_DEV_LABEL - see rbc/tests/__init__.py (requires rebranding) _Originally posted...

Currently, the UDFs send the error messages to omniscidb server stdout but rbc users cannot see there. So, we need to find a way to return the error messages to...

enhancement
heavydb

omniscidb built with tsan reports: ``` ================== WARNING: ThreadSanitizer: lock-order-inversion (potential deadlock) (pid=28479) Cycle in lock order graph: M473253342966390272 (0x000000000000) => M472971867989679264 (0x000000000000) => M473253342966390272 Mutex M472971867989679264 acquired here while...

bug
heavydb

The issue is created to log unexplained rbc CI failures.

Currently, there are two remote JIT classes: - RemoteOmnisci as defined in omniscidb.py that produced LLVM IR should never contain Python C/API calls. - RemoteJIT as defined in remotejit.py that...

code quality

When having a live ibis connection `con`, RBC RemoteOmnisci should use the same connection. Workaround: ``` omnisci = RemoteOmnisci(host=con.host, port=con.port, dbname=con.db_name) omnisci._session_id = con.session_id ``` Implement: ``` omnisci = RemoteOmnisci(connection=con)...

enhancement
good first issue

``` @omnisci('uint32(uint32)') def foo(i): return i omnisci.register() ``` fails: ``` rtype = ext_arguments_map[sig[0].tostring( > use_annotation=False)] E KeyError: 'uint32' rbc/omniscidb.py:698: KeyError ``` Implement better error handling when users try to use...

bug
heavydb