Skip to content

fix: run StarRocks statements through Flight SQL Execute - #153

Merged
Nitin Bhakar (nitinbhakar) merged 1 commit into
mainfrom
fix/starrocks-flight-execute
Oct 15, 2026
Merged

Nitin Bhakar (nitinbhakar) merged 1 commit into
mainfrom
fix/starrocks-flight-execute

Conversation

@nitinbhakar

@nitinbhakar Nitin Bhakar (nitinbhakar) commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Run every StarRocks statement through Flight SQL Execute (GetFlightInfo/DoGet), including DML and DDL when return_result is false.
  • StarRocks does not implement ExecuteUpdate (DoPut / acceptPutStatement), so those statements previously failed before the SQL ran.
  • When return_result is false, the result stream is still consumed and the job result is a single statement executed message.

Test plan

  • Submit a StarRocks INSERT/UPDATE/DDL job with return_result: false and confirm it no longer fails with acceptPutStatement unimplemented.
  • Submit the same statement with return_result: true and confirm the result rows are still returned.
  • Submit a SELECT with return_result: true and confirm existing result collection is unchanged.
image

StarRocks does not implement DoPut/acceptPutStatement, so ExecuteUpdate never reaches the SQL engine.
@nitinbhakar
Nitin Bhakar (nitinbhakar) merged commit 7380e95 into main Oct 15, 2026
7 checks passed
@nitinbhakar
Nitin Bhakar (nitinbhakar) deleted the fix/starrocks-flight-execute branch October 15, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants