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

Client-side parameter transformations #28028

Closed
roji opened this issue May 15, 2022 · 1 comment
Closed

Client-side parameter transformations #28028

roji opened this issue May 15, 2022 · 1 comment
Labels
closed-no-further-action The issue is closed and no further action is planned. customer-reported

Comments

@roji
Copy link
Member

roji commented May 15, 2022

This tracks allowing translators to add arbitrary parameter transformations that are applied every time the query is executed.

Usage samples:

The transformations would need to be applied before looking up the command in the relational command cache, since the transformation may change the nullability of the parameter (and therefore affect the SQL needed).

Split off from #17598, which is about sniffing parameters and selecting different SQL based on their values (for differences other than nullability). This is only about modifying parameter values.

@roji
Copy link
Member Author

roji commented Nov 29, 2023

It doesn't seem like we really need to do anything infrastructural here - we're already doing this e.g. for StartsWith/EndsWith/Contains (see #31482).

@roji roji removed this from the Backlog milestone Nov 29, 2023
@ajcvickers ajcvickers added closed-no-further-action The issue is closed and no further action is planned. and removed type-enhancement area-perf propose-close area-query labels Nov 30, 2023
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-no-further-action The issue is closed and no further action is planned. customer-reported
Projects
None yet
Development

No branches or pull requests

3 participants