Skip to content

Conversation

@VaggelisD
Copy link
Collaborator

@VaggelisD VaggelisD commented Dec 23, 2025

Fixes #6620

Postgres supports the following variants:

width_bucket ( operand numeric, low numeric, high numeric, count integer ) → integer

width_bucket ( operand double precision, low double precision, high double precision, count integer ) → integer

width_bucket ( operand anycompatible, thresholds anycompatiblearray ) → integer

It is probably better to create a new arg to capture the array but didn't bother with it

Docs

Postgres functions

@VaggelisD VaggelisD force-pushed the vaggelisd/postgres_width_bucket branch from f654ee8 to 330ce56 Compare December 23, 2025 14:23
@VaggelisD VaggelisD merged commit 9382ebd into main Dec 23, 2025
9 checks passed
@VaggelisD VaggelisD deleted the vaggelisd/postgres_width_bucket branch December 23, 2025 14:29
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.

Postgres width_bucket transpiling fails

3 participants