Skip to content

enhancement: support non-const rand distribution args#1137

Merged
yokofly merged 1 commit intodevelopfrom
rand-distribution-deps
Mar 20, 2026
Merged

enhancement: support non-const rand distribution args#1137
yokofly merged 1 commit intodevelopfrom
rand-distribution-deps

Conversation

@yokofly
Copy link
Copy Markdown
Collaborator

@yokofly yokofly commented Mar 20, 2026

Summary

  • allow rand_* distribution functions to accept row-varying numeric arguments while preserving the constant fast path
  • enable RANDOM STREAM default expressions such as rand_uniform(low_price, high_price)
  • add a stateless regression test covering both direct query usage and random-stream dependent defaults

Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
@yokofly yokofly merged commit 3bcb0b0 into develop Mar 20, 2026
2 of 3 checks passed
@yokofly yokofly deleted the rand-distribution-deps branch March 20, 2026 08:51
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