From b47898fe53b089aa63850a1b6a40755e89d8936d Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 17 Oct 2024 01:01:04 +0000 Subject: [PATCH] change dataset_utils --- tools/distpartitioning/dataset_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/distpartitioning/dataset_utils.py b/tools/distpartitioning/dataset_utils.py index 3c7fcfb6b8fd..fcff3cd74302 100644 --- a/tools/distpartitioning/dataset_utils.py +++ b/tools/distpartitioning/dataset_utils.py @@ -548,9 +548,9 @@ def get_dataset( ) parse_options = pyarrow.csv.ParseOptions(delimiter=" ") - # 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 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. continue with pyarrow.csv.open_csv( edge_file,