### _Why are the changes needed?_ Currently, `getNextRowSetInternal` returns `TRowSet` which is not friendly to explicit EOS in streaming result fetch. This PR changes the return type to `TFetchResultsResp` to allow the engines to determine the EOS. ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request Closes #5160 from link3280/refactor_result. Closes #5160 09822f2ee [Paul Lin] Fix hasMoreRows missing c94907e2b [Paul Lin] Explicitly set `resp.setHasMoreRows(false)` for operations 4d193fb1d [Paul Lin] Revert unrelated changes in FlinkOperation ffd0367b3 [Paul Lin] Refactor getNextRowSetInternal to support fetch streaming data Authored-by: Paul Lin <paullin3280@gmail.com> Signed-off-by: Cheng Pan <chengpan@apache.org> |
||
|---|---|---|
| .. | ||
| kyuubi-chat-engine | ||
| kyuubi-download | ||
| kyuubi-flink-sql-engine | ||
| kyuubi-hive-sql-engine | ||
| kyuubi-jdbc-engine | ||
| kyuubi-spark-sql-engine | ||
| kyuubi-trino-engine | ||