luwei16 opened a new pull request, #68792:
URL: https://github.com/apache/doris/pull/68792
### What problem does this PR solve?
Issue Number: N/A
Related PR: N/A
Problem Summary: CREATE STREAM silently converts invalid show_initial_rows
strings such as "garbage" to false, which can omit the expected initial rows.
The snapshot and reset scan modes also accept and ignore unsupported arguments.
Use strict boolean parsing for the Stream property and reject non-empty map and
positional arguments during Stream binding. Invalid inputs now fail before
Stream publication or query execution, while valid booleans and parameterless
calls retain their existing behavior.
### Release note
CREATE STREAM rejects invalid show_initial_rows values. Table Stream
snapshot and reset reads reject unsupported arguments with explicit errors.
### Check List (For Author)
- Test: Unit Test
- 39 focused FE tests passed; the three new checks failed on the
original implementation.
- FE Checkstyle and git diff --check passed.
- Added SQL regression coverage; not run because validation used the FE
unit-test harness without a deployed cluster.
- Behavior changed: Yes, reject invalid boolean values and unsupported scan
arguments.
- Does this need documentation: No, enforce the existing property and
zero-argument contracts.
--
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]