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

Bug when concat_ws simplified to concat #14212

Open
cht42 opened this issue Jan 20, 2025 · 0 comments · May be fixed by #14213
Open

Bug when concat_ws simplified to concat #14212

cht42 opened this issue Jan 20, 2025 · 0 comments · May be fixed by #14213
Labels
bug Something isn't working

Comments

@cht42
Copy link
Contributor

cht42 commented Jan 20, 2025

Describe the bug

Using concat_ws with an emply delimiter uses the first expr as the delimiter.

To Reproduce

SELECT concat_ws('','a','b','c')
bac

Expected behavior

SELECT concat_ws('','a','b','c')
abc

Additional context

No response

@cht42 cht42 added the bug Something isn't working label Jan 20, 2025
@cht42 cht42 linked a pull request Jan 20, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant