-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlsmith: Generate struct
and list
exprs
#7132
Comments
44 tasks
regexp_match
struct
and list
exprs
This was referenced Dec 30, 2022
mergify bot
pushed a commit
that referenced
this issue
Jan 4, 2023
Add more input types to sqlsmith (`struct`, `list`). ### Motivation for refactoring `DataTypeName` - Previously we use `DataTypeName` internally to indicate which expressions to generate. - This is insufficient, since it elides `struct` and `list` internal types. - Now we use `DataType` directly. - In this PR we support generating these new variants as scalar values, and columns. - Other PR may support generating functions, see: #7132. - This will likely work by generating some variants of structs and lists we can choose from, - During setup: insert function signatures which can work with these structs and lists. - During setup: Define relations with these variants as columns. ### Misc - Disable struct scalar due to #7189 - Disable timestamptz due to #5826 Approved-By: lmatz Co-Authored-By: Tao Wu <wutao@singularity-data.com> Co-Authored-By: Noel Kwan <noelkwan1998@gmail.com> Co-Authored-By: Noel Kwan <47273164+kwannoel@users.noreply.github.com>
Continue after #6934 fixed. |
3 tasks
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
struct
andlist
primitives.struct
andlist
columns.struct
field expressions (e.g.Client.name
).regexp_match
risingwave/src/frontend/src/expr/type_inference/func.rs
Line 225 in dd453ee
The text was updated successfully, but these errors were encountered: