| 314 | } |
| 315 | |
| 316 | void createComplexArrowLivesInTable(main::Connection& connection, |
| 317 | const std::string& tableName = "livesin", const std::string& srcTableName = "person", |
| 318 | const std::string& dstTableName = "city") { |
| 319 | auto schema = makeLivesInSchema(); |
| 320 | std::vector<ArrowArrayWrapper> arrays; |
| 321 | arrays.push_back(makeLivesInBatch(getLivesInBatch0())); |
| 322 | arrays.push_back(makeLivesInBatch(getLivesInBatch1())); |
| 323 | auto result = ArrowTableSupport::createRelTableFromArrowTable(connection, tableName, |
| 324 | srcTableName, dstTableName, std::move(schema), std::move(arrays)); |
| 325 | ASSERT_TRUE(result.queryResult->isSuccess()) << result.queryResult->getErrorMessage(); |
| 326 | } |
| 327 | |
| 328 | void createComplexNativePersonTable(main::Connection& connection, |
| 329 | const std::string& tableName = "person") { |
no test coverage detected