Skip to content

Commit a374880

Browse files
committed
fix: ci unstable
Signed-off-by: syaojun <libevent@yeah.net>
1 parent 08929a8 commit a374880

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

cpp/src/graphar/fwd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ enum class FileType : int32_t { CSV = 0, PARQUET = 1, ORC = 2, JSON = 3 };
7878
enum class SelectType : int32_t { PROPERTIES = 0, LABELS = 1 };
7979
/** GetChunkVersion: V1 use scanner, V2 use FileReader */
8080
enum class GetChunkVersion : int32_t { AUTO = 0, V1 = 1, V2 = 2 };
81-
enum class AdjListType : std::int32_t;
81+
enum class AdjListType;
8282

8383
template <typename T>
8484
class Array;

cpp/src/graphar/high-level/graph_reader.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ Result<std::vector<IdType>> VerticesCollection::filter(
181181
row_num = std::min(CHUNK_SIZE, TOT_ROWS_NUM - chunk_idx * CHUNK_SIZE);
182182
std::string new_filename =
183183
prefix_ + vertex_info_->GetPrefix() + "labels/chunk";
184-
int count = graphar::read_parquet_file_and_get_valid_indices(
184+
int count = read_parquet_file_and_get_valid_indices(
185185
new_filename.c_str(), row_num, TOT_LABEL_NUM, TESTED_LABEL_NUM,
186186
tested_label_ids, IsValid, chunk_idx, CHUNK_SIZE, &indices, bitmap,
187-
graphar::QUERY_TYPE::INDEX);
187+
QUERY_TYPE::INDEX);
188188
if (count != 0 && new_valid_chunk != nullptr)
189189
new_valid_chunk->emplace_back(static_cast<IdType>(chunk_idx));
190190
}
@@ -194,10 +194,10 @@ Result<std::vector<IdType>> VerticesCollection::filter(
194194
row_num = std::min(CHUNK_SIZE, TOT_ROWS_NUM - chunk_idx * CHUNK_SIZE);
195195
std::string new_filename =
196196
prefix_ + vertex_info_->GetPrefix() + "labels/chunk";
197-
int count = graphar::read_parquet_file_and_get_valid_indices(
197+
int count = read_parquet_file_and_get_valid_indices(
198198
new_filename.c_str(), row_num, TOT_LABEL_NUM, TESTED_LABEL_NUM,
199199
tested_label_ids, IsValid, chunk_idx, CHUNK_SIZE, &indices, bitmap,
200-
graphar::QUERY_TYPE::INDEX);
200+
QUERY_TYPE::INDEX);
201201
if (count != 0)
202202
valid_chunk_.emplace_back(static_cast<IdType>(chunk_idx));
203203
}

0 commit comments

Comments
 (0)