gary-cloud commented on issue #746: URL: https://github.com/apache/incubator-graphar/issues/746#issuecomment-3301103342
This PR #754 might have resolved the issue. cc @yangxk1 ```c++ SECTION("DateType") { std::string path_date = test_data_dir + "/ldbc_sample/parquet/ldbc_sample_date.graph.yml"; auto maybe_graph_info_date = GraphInfo::Load(path_date); REQUIRE(maybe_graph_info_date.status().ok()); auto graph_info_date = maybe_graph_info_date.value(); std::string src_type = "person", edge_type = "knows-date", dst_type = "person"; auto expect = EdgesCollection::Make(graph_info_date, src_type, edge_type, dst_type, AdjListType::ordered_by_source); REQUIRE(!expect.has_error()); auto edges = expect.value(); // Expected values for the first ten creationDate-date entries int32_t expected_dates[10] = {14820, 15442, 14909, 15182, 15141, 15058, 15155, 15135, 15364, 15455}; size_t count = 0; for (auto it = edges->begin(); it != edges->end() && count < 10; ++it, ++count) { auto date_val = it.property<int32_t>("creationDate-date"); REQUIRE(date_val.has_value()); REQUIRE(date_val.value() == expected_dates[count]); } REQUIRE(count == 10); std::cout << "DateType edge_count=" << count << std::endl; } SECTION("TimestampType") { ... } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org For additional commands, e-mail: commits-h...@graphar.apache.org