intel / hdk

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

SIGABRT on BIT_NOT operation #673

Closed AndreyPavlenko closed 1 year ago

AndreyPavlenko commented 1 year ago

The following code:

hdk = pyhdk.init()
data = {"A": [1, 2, 3, 4, 5]}
ht = hdk.import_pydict(data, table_name="test")
query = """
{
  "rels": [
    {
      "id": "0",
      "relOp": "EnumerableTableScan",
      "fieldNames": [
        "A",
        "rowid"
      ],
      "table": [
        "hdk",
        "test"
      ],
      "inputs": []
    },
    {
      "id": "1",
      "relOp": "LogicalProject",
      "fields": [
        "A"
      ],
      "exprs": [
        {
          "op": "BIT_NOT",
          "operands": [
            {
              "input": 0
            }
          ],
          "type": {
            "type": "BIGINT",
            "nullable": true
          }
        }
      ]
    }
  ]
}
"""
ra_executor = RelAlgExecutor(hdk._executor, hdk._schema_mgr, hdk._data_mgr, query)

Fails with error:

[info]    0 0 RelAlgDagBuilder.cpp:519 Check failed: false 

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)