-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
1ba6981
commit 98ae6ce
Showing
14 changed files
with
407 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.