| 303 | } |
| 304 | |
| 305 | void createComplexArrowCityTable(main::Connection& connection, |
| 306 | const std::string& tableName = "city") { |
| 307 | auto schema = makeCitySchema(); |
| 308 | std::vector<ArrowArrayWrapper> arrays; |
| 309 | arrays.push_back(makeCityBatch(getCityBatch0())); |
| 310 | arrays.push_back(makeCityBatch(getCityBatch1())); |
| 311 | auto result = ArrowTableSupport::createViewFromArrowTable(connection, tableName, |
| 312 | std::move(schema), std::move(arrays)); |
| 313 | ASSERT_TRUE(result.queryResult->isSuccess()) << result.queryResult->getErrorMessage(); |
| 314 | } |
| 315 | |
| 316 | void createComplexArrowLivesInTable(main::Connection& connection, |
| 317 | const std::string& tableName = "livesin", const std::string& srcTableName = "person", |
no test coverage detected