Skip to content

Allow parsing byte literals as FixedSizeBinary #15686

@leoyvens

Description

@leoyvens

Is your feature request related to a problem or challenge?

Say you have a column byte_column of type FixedSizeBinary. Doing where byte_column = x'deadbeef' will fail, because the literal is parsed as Binary.

Describe the solution you'd like

Add a option to parse literals as FixedSizeBinary.

Describe alternatives you've considered

Coercing the LHS to Binary is less performant. Unconditionally parsing literals as FixedSizeBytes would be a breaking change.

Additional context

I am working on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions