| 280 | } |
| 281 | |
| 282 | void createComplexArrowPersonTable(main::Connection& connection, |
| 283 | const std::string& tableName = "person") { |
| 284 | auto schema = makeComplexPersonSchema(); |
| 285 | std::vector<ArrowArrayWrapper> arrays; |
| 286 | arrays.push_back(makePersonBatch(getComplexPersonBatch0())); |
| 287 | arrays.push_back(makePersonBatch(getComplexPersonBatch1())); |
| 288 | auto result = ArrowTableSupport::createViewFromArrowTable(connection, tableName, |
| 289 | std::move(schema), std::move(arrays)); |
| 290 | ASSERT_TRUE(result.queryResult->isSuccess()) << result.queryResult->getErrorMessage(); |
| 291 | } |
| 292 | |
| 293 | void createComplexArrowKnowsTable(main::Connection& connection, |
| 294 | const std::string& tableName = "knows", const std::string& srcTableName = "person", |
no test coverage detected