-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
Currently there doesn't seem to be a direct way to concatenate binary strings in SQL expressions.
lhs || rhsdoes not acceptBinaryarguments.concat(lhs, rhs)coerces both sides toUtf8, which does not work if they are not valid UTF-8 strings.array_concat(lhs, rhs)only works forList, notBinary.decode(encode(lhs, 'hex') || encode(rhs, 'hex'), 'hex')works, but this is verbose and inefficient.
Describe the solution you'd like
The || operator could be extended to support Binary arguments, following the behavior of other SQL engines, such as SQLite and PostgreSQL.
Describe alternatives you've considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request