Hououou

Results 5 issues of Hououou

see #3191 We should expose `hasNextQueryResult()` and `getNextQueryResult()` in Java API.

We should support copy query statements. After we support it, we should use `std::unique_ptr` of statements rather than `std::shared_ptr`.

see #3062 TODO: - do not do much on rollback; for example, rollback hash index in CopyTable. - fail with inserting nodes after creating an empty table. Related to local...

My local environment can not execute the query: `COPY tableOfTypes FROM "dataset/copy-test/node/parquet/types_50k*.parquet" (HEADER=true);` The failure information is as follows: ``` unknown file: Failure C++ exception with description "Failed to execute...