You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2024. It is now read-only.
To reproduce the case when join fails when enable_heterogeneous=True, run the following python script:
importpyhdkconfig=pyhdk.buildConfig(enable_heterogeneous=True,
force_heterogeneous_distribution=False)
pyhdk.initLogger(log_severity="DEBUG2")
storage=pyhdk.storage.ArrowStorage(1)
data_mgr=pyhdk.storage.DataMgr(config)
data_mgr.registerDataProvider(storage)
calcite=pyhdk.sql.Calcite(storage, config)
executor=pyhdk.Executor(data_mgr, config)
table_1_name="taxi"table_2_name="numbers"# Assuming you are in hdk/examples/storage.importCsvFile("../omniscidb/Tests/ArrowStorageDataFiles/taxi_sample_header.csv", table_1_name, pyhdk.storage.TableOptions(5))
storage.importCsvFile("../omniscidb/Tests/ArrowStorageDataFiles/numbers_header.csv", table_2_name, pyhdk.storage.TableOptions(2))
# Perfect hash table OneToOnesql=f"SELECT * FROM {table_1_name} a JOIN {table_1_name} b ON a.trip_id = b.trip_id"# sql = f"SELECT * FROM {table_1_name} a JOIN {table_2_name} b ON a.trip_id = b.col1"ra=calcite.process(sql)
rel_alg_executor=pyhdk.sql.RelAlgExecutor(executor, storage, data_mgr, ra)
res=rel_alg_executor.execute().to_arrow()
A simple hash join on primary key that is done via a perfect hash table is crashing. The output of gdb is not very informative with regards to the location, but seems to nullptr related:
The same error happens when we try to join on a different table (you can use the commented sql).
Interestingly, sometimes in ipython notebook the kernel crashes with the following last log lines:
2023-07-12T08:20:16.399125 W 1577588 0 0 Backend.cpp:833 Failed to generate PTX: NVVM IR ParseError: generatePTX: invalid redefinition of function 'pi'
declare double @pi();
^
. Switching to CPU execution target.
2023-07-12T08:20:16.399529 F 1577588 0 0 RelAlgExecutor.cpp:433 Check failed: co.device_type == ExecutorDeviceType::GPU
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To reproduce the case when join fails when
enable_heterogeneous=True
, run the following python script:A simple hash join on primary key that is done via a perfect hash table is crashing. The output of
gdb
is not very informative with regards to the location, but seems tonullptr
related:The last lines
DEBUG2
logs show (shortened):The same error happens when we try to join on a different table (you can use the commented
sql
).Interestingly, sometimes in ipython notebook the kernel crashes with the following last log lines:
The text was updated successfully, but these errors were encountered: