Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.
This repository was archived by the owner on May 9, 2024. It is now read-only.

Debug logs affect query result #608

@ienkovich

Description

@ienkovich

The problem can be reproduced on the H2O groupby 1e8 dataset. Here is a reproducer:

import pyhdk

pyhdk.initLogger(debug_logs=True)
hdk = pyhdk.init()
ht = hdk.import_csv("data/G1_1e8_1e2_0_0.csv")

tmp = ht.agg([], count_dist="count_dist(id6)").run()
print(tmp)

res = ht.agg(["id6"], v3="count").run()
print(res.shape)

The output is:

Schema:
  count_dist: count_dist(db_id=1677721601, table_id=1, column_id=2000 type=INT64)
Data:
1000000

(981529, 2)

We expect 1000000 rows in the second query and we actually get the correct result if remove the logger initialization line. The wrong result looks like it has data cut off at the tail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions