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-25.4-159642 branch from f592ddc to 926dc0e Compare December 24, 2025 18:49
@blathers-crl blathers-crl bot requested review from a team as code owners December 24, 2025 18:49
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Dec 24, 2025
@blathers-crl blathers-crl bot requested review from yuzefovich and removed request for a team December 24, 2025 18:49
@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 added backport Label PR's that are backports to older release branches T-sql-queries SQL Queries Team labels Dec 24, 2025
@ZhouXing19 ZhouXing19 requested review from michae2 and removed request for a team, DrewKimball, mgartner and yuzefovich December 24, 2025 18:50
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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