Skip to content

fix(csharp): validate statement options in SEA StatementExecutionStatement#431

Open
eric-wang-1990 wants to merge 1 commit intomainfrom
fix/peco-3011-sea-statement-option-validation
Open

fix(csharp): validate statement options in SEA StatementExecutionStatement#431
eric-wang-1990 wants to merge 1 commit intomainfrom
fix/peco-3011-sea-statement-option-validation

Conversation

@eric-wang-1990
Copy link
Copy Markdown
Collaborator

Summary

  • StatementExecutionStatement.SetOption now validates BatchSize, PollTimeMilliseconds, and QueryTimeoutSeconds options
  • Throws ArgumentOutOfRangeException for invalid values, matching the Thrift path behavior
  • Ensures API compatibility between SEA and Thrift protocols

Jira

Fixes PECO-3011

Test plan

  • CanSetOptionBatchSize passes for SEA protocol
  • CanSetOptionPollTime passes for SEA protocol
  • CanSetOptionQueryTimeout passes for SEA protocol

🤖 Generated with Claude Code

…ementExecutionStatement (PECO-3011)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eric-wang-1990 eric-wang-1990 force-pushed the fix/peco-3011-sea-statement-option-validation branch from e98051a to 4bc15fc Compare April 30, 2026 23:04
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.

1 participant