Skip to content
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

release-20.2: sql: allow implicit casting of string to more array types #54944

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Sep 29, 2020

Backport 1/1 commits from #54709.

/cc @cockroachdb/release


Release note (sql change): A string literal like '{X, Y, Z}'
is now automatically casted to an array when appropriate. Support is
added for UUID, Date, Bool, Time, TimeTZ, Timestamp, TimestampTZ, and
Interval arrays. (Int and Decimal were already supported.)

fixes #54672

Release note (sql change): A string literal like '{X, Y, Z}'
is now automatically casted to an array when appropriate. Support is
added for UUID, Date, Bool, Time, TimeTZ, Timestamp, TimestampTZ, Float,
INet, Varbit and Interval arrays. (Int and Decimal were already supported.)
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rafiss rafiss merged commit ab168e7 into cockroachdb:release-20.2 Sep 29, 2020
@rafiss rafiss deleted the backport20.2-54709 branch September 29, 2020 18:12
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.

3 participants