| 291 | } |
| 292 | |
| 293 | void createComplexArrowKnowsTable(main::Connection& connection, |
| 294 | const std::string& tableName = "knows", const std::string& srcTableName = "person", |
| 295 | const std::string& dstTableName = "person") { |
| 296 | auto schema = makeKnowsSchema(); |
| 297 | std::vector<ArrowArrayWrapper> arrays; |
| 298 | arrays.push_back(makeKnowsBatch(getKnowsBatch0())); |
| 299 | arrays.push_back(makeKnowsBatch(getKnowsBatch1())); |
| 300 | auto result = ArrowTableSupport::createRelTableFromArrowTable(connection, tableName, |
| 301 | srcTableName, dstTableName, std::move(schema), std::move(arrays)); |
| 302 | ASSERT_TRUE(result.queryResult->isSuccess()) << result.queryResult->getErrorMessage(); |
| 303 | } |
| 304 | |
| 305 | void createComplexArrowCityTable(main::Connection& connection, |
| 306 | const std::string& tableName = "city") { |
no test coverage detected