intel / hdk

A low-level execution library for analytic data processing.
Apache License 2.0
31 stars 14 forks source link

Arrow conversion fails if original table is dropped #667

Closed ienkovich closed 12 months ago

ienkovich commented 1 year ago
import pyhdk

hdk = pyhdk.init()
data = {
    "a": ["1", "2", "3"],
}
ht = hdk.import_pydict(data, table_name="test")
res = ht.proj("a").run()
hdk.drop_table("test")
res.to_arrow()
$ python test.py
[2023-09-15 14:28:59.564748] [0x00007f1aa9557740] [info]    0 0 RowSetMemoryOwner.cpp:52 Check failed: dict_id == DictRef::literalsDictId (16777217 == 0)
Aborted