Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
This adds functionality so that string literals such as
'{1,2,3}'
can be interpreted as arrays of any type. This builds off of the Removed sql.Convert usage, moved everything to casts dolthub/doltgresql#333 PR, which enables this to "just work" for all contexts (includes casting, inserting into columns, automatic operator resolution, etc.). This also includes additional tests for a few bugs that weren't caught in the previous PR.This removes our reliance on
sql.Convert
and changed everything to make use of casts. Casts have three contexts: explicit (value::type), assignment (INSERT
andUPDATE
statements), and implicit. In addition to moving to casts, I've also added assignment casts.This move also comes with a massive change to how function overloads are handled. Overload resolution is handled through available casts, so by removing the hacky behavior that was in place, we're now able to unskip a number of tests that just could not be handled through the previous logic. There were other tests that were also incorrect, and those have been fixed.
Overall, this has resulted in a fairly substantial decrease in code throughout the codebase, in addition to allowing for types to finally have "full" support.
Companion PR:
This adds comparisons for
jsonb
. In the original JSON PR, I mistakenly only checked ifjson
had comparisons, and that type does not.jsonb
, however, does have comparisons, so this implements those. In addition, I've added a massive collection of rows that it properly sorts over. Test results were lifted straight from a Postgres 15 server to ensure accuracy.This adds JSON types, and also fixes a bug where the text types would incorrectly persist an empty string as a NULL.
Created by the Release workflow to update DoltgreSQL's version
Companion PRs:
This adds the
SERIAL
types, along with the remaining functionality for sequences that was not present in the first PR. In addition, this adds our first uses of injected analyzer steps, and introduces custom nodes used for the sequence statements (instead of stored procedures).Also changes expected errors to match an error string. Not all tests are passing yet.
Closed Issues
doltgres version
shows the previous version