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

Document which functional vindex types are capable of mapping NULL values #7551

Closed
aquarapid opened this issue Feb 25, 2021 · 1 comment
Closed
Assignees
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)

Comments

@aquarapid
Copy link
Contributor

Not all vindex types are capable of mapping NULL SQL values.

For example, the hash vindex type outputs DestinationNone for a NULL SQL value. As a result, any vschema that uses a primary vindex of type hash, effectively cannot have NULL input values for that primary vindex column for any rows.

Other vindex types, such as xxhash or unicode_loose_md5 is happy to map NULL values.

We should document this.

@hallaroo
Copy link
Member

PR opened to document this here: vitessio/website#714

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

No branches or pull requests

3 participants