Skip to content

Conversation

@blathers-crl
Copy link

@blathers-crl blathers-crl bot commented Dec 24, 2025

Backport 1/1 commits from #159642 on behalf of @ZhouXing19.


Fixes #152233
Fixes #159145
Fixes #87475

Previously, if a function contains cast from a column to UDT in the body,
the SHOW CREATE TABLE statement for this function will error out. This
commit is to fix it.

Release note (bug fix): enable SHOW CREATE TABLE for function created with
columns casting to user defined types.


Release justification: fix a bug for a common usage of UDF

Fixes #152233
Fixes #159145
Fixes #87475

Previously, if a function contains cast from a column to UDT in the body,
the SHOW CREATE TABLE statement for this function will error out. This
commit is to fix it.

Release note (bug fix): enable SHOW CREATE TABLE for function created with
columns casting to user defined types.
@blathers-crl blathers-crl bot force-pushed the blathers/backport-release-26.1-159642 branch from e7c11c1 to af930bf Compare December 24, 2025 18:50
@blathers-crl blathers-crl bot requested review from a team as code owners December 24, 2025 18:50
@blathers-crl blathers-crl bot added the blathers-backport This is a backport that Blathers created automatically. label Dec 24, 2025
@blathers-crl blathers-crl bot removed the request for review from a team December 24, 2025 18:50
@blathers-crl blathers-crl bot added the O-robot Originated from a bot. label Dec 24, 2025
@blathers-crl blathers-crl bot requested a review from mgartner December 24, 2025 18:50
@blathers-crl
Copy link
Author

blathers-crl bot commented Dec 24, 2025

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl bot requested a review from DrewKimball December 24, 2025 18:50
@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-sql-queries SQL Queries Team labels Dec 24, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ZhouXing19 ZhouXing19 requested review from michae2 and removed request for a team, DrewKimball and mgartner December 24, 2025 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Label PR's that are backports to older release branches blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. T-sql-queries SQL Queries Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants