Skip to content

Commit

Permalink
fix: apply ruff linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
tokoko committed Aug 22, 2024
1 parent fbe1988 commit d4cce20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ibis_substrait/tests/compiler/test_parity.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,11 @@ def run_query_duckdb_substrait(expr, datasets, compiler):


def run_query_datafusion(expr, datasets, compiler):
import pyarrow
import datafusion.substrait

connection = datafusion.SessionContext()

for k, v in datasets.items(): # noqa: B007
for k, v in datasets.items():
connection.deregister_table(k)
connection.register_record_batches(k, [v.to_batches()])

Expand Down

0 comments on commit d4cce20

Please sign in to comment.