sosadfly-gh opened a new issue, #70955: URL: https://github.com/apache/doris/issues/70955
### Observed behavior On a Doris build reporting `4.1.7-b81ff9c`, running this sequence produces a syntax error: ```sql SET SESSION TRANSACTION READ ONLY; START TRANSACTION READ ONLY; ``` The reported error is `Unexpected input 'READ'`. A standalone `SELECT 1` succeeds on the same instance. ### Requested behavior Support `SET SESSION TRANSACTION READ ONLY` and `START TRANSACTION READ ONLY` so clients can run `SELECT` inside a read-only transaction. Write statements should be rejected within that transaction, and clients should be able to end it with `COMMIT` or `ROLLBACK`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
