Skip to content

Commit 77453b1

Browse files
committed
fix(bug): make infer schema scans all rows
1 parent c31e3e7 commit 77453b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queryportal/subgraphinterface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def query(
4343
print(f'query_dict[0][first_key] is empty: {query_dict[0][first_key]}')
4444
return
4545

46-
pl_df = pl.from_dicts(query_dict[0][first_key])
46+
pl_df = pl.from_dicts(query_dict[0][first_key], infer_schema_length=None)
4747

4848
# convert structs to columns
4949
pl_df = fmt_dict_cols(pl_df)

0 commit comments

Comments
 (0)