| 131 | } |
| 132 | |
| 133 | void createComplexCsrNodeTable(main::Connection& connection, |
| 134 | const std::string& tableName = "csr_node") { |
| 135 | auto schema = makeCsrNodeSchema(); |
| 136 | std::vector<ArrowArrayWrapper> arrays; |
| 137 | arrays.push_back(makeCsrNodeBatch(getCsrNodeBatch0())); |
| 138 | arrays.push_back(makeCsrNodeBatch(getCsrNodeBatch1())); |
| 139 | auto result = ArrowTableSupport::createViewFromArrowTable(connection, tableName, |
| 140 | std::move(schema), std::move(arrays)); |
| 141 | ASSERT_TRUE(result.queryResult->isSuccess()) << result.queryResult->getErrorMessage(); |
| 142 | } |
| 143 | |
| 144 | void createComplexCsrRelTable(main::Connection& connection, bool withBwd = false, |
| 145 | bool splitIndices = false, bool splitIndptr = false, const std::string& tableName = "csr_knows", |
no test coverage detected