Skip to content

Commit

Permalink
change dataset_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 15, 2024
1 parent 13d2dac commit ca656ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/distpartitioning/dataset_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,8 @@ def get_dataset(
)
parse_options = pyarrow.csv.ParseOptions(delimiter=" ")
if os.path.getsize(edge_file) == 0:
# if getsize() == 0, the file is empty, indicating that the partition doesn't have this attribute.
# The src_ids and dst_ids should remain empty.
# if getsize() == 0, the file is empty, indicating that the partition doesn't have this attribute.
# The src_ids and dst_ids should remain empty.
continue
else:
with pyarrow.csv.open_csv(
Expand Down

0 comments on commit ca656ab

Please sign in to comment.