Skip to content

Commit

Permalink
removing nparttions
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Jun 25, 2024
1 parent cb50d0c commit 3e067d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dask_snowflake/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,12 @@ def read_snowflake(
batches, meta, npartitions=npartitions, partition_size=partition_size
)

divisions = tuple([None] * (len(batches_partitioned) + 1))
# divisions = tuple([None] * (len(batches_partitioned) + 1))

return dd.from_map(
partial(_fetch_batches, arrow_options=arrow_options),
batches_partitioned,
npartitions=divisions,
# npartitions=divisions,
meta=meta,
)

Expand Down

0 comments on commit 3e067d4

Please sign in to comment.