-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
randgen: do not create computed columns with bad volatilities
Some cast to STRING types has been given an incorrect volatility. For example, REGCLASS->STRING casts are immutable when they should be stable (see #74286 and #74553 for more details). Creating computed column expressions with such a cast can cause logical correctness bugs and internal errors. The volatilities cannot be fixed without causing backward incompatibility. This commit prevents `randgen` from creating computed columns with these casts so that sqlsmith and TLP do not repetitively find these known volatility bugs. Release note: None
- Loading branch information
Showing
3 changed files
with
24 additions
and
189 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