-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Feature Request: Move most VARBINARY columns to VARCHAR in examples #15997
Comments
I would like to work on this issue |
Hey! I would be happy to raise a PR for this. |
Anyone is welcome to open a PR. I don't want to assign it to anyone before there's a PR because history has shown that the assignee often doesn't end up opening a PR, nor do they unassign themselves, so others think someone is working on it when in reality nobody is. Then maintainers have to come back and unassign it after N months and around we go. 🙂 |
@mattlord May I work on this issue if this is still open ? |
@anshikavashistha sure, nobody else is working on this AFAIK. If you open a preliminary PR then I'll assign it to you. Assigning things like this to people has historically caused more work for maintainers and potentially caused others not to work on it when in the end nothing happened. Thanks! |
Sure @mattlord |
The question is more for @mattlord. Given the change you made to the alias, |
I think it's still worth doing as the type usage then aligns with what users would do, we move to xxhash, etc. |
In that case, can you edit the issue description with the task list? Including moving from hash -> xxhash. |
@mattlord Is there any more relevant info that needs to be mentioned in the issue description? |
@anshikavashistha I don't think so. I did add a task list — hopefully that makes sense. |
Feature Description
The Vitess local examples (source) are a common first touch experience for users. These users are regularly confused or curious as to why many of the columns in the examples show up as HEX in the query results. The reason for this is that we use
VARBINARY
types throughout — in some rare cases likekeyspace_id
it makes sense, but most likecustomer.email
are pure text. This makes understanding what's happening and quickly confirming at-a-glance results as expected more difficult and poses a minor hurdle when it's already quite a lot to get started with Vitess.We should move most of our
VARBINARY
usage under./examples
toVARCHAR
. This offers a more intuitive/expected experience while also more closely matching what users will be using for similar types of data.Note: if any of those columns are used in Vindexes then we may also need to change the type used.
Tasks:
VARBINARY
toVARCHAR
hash
toxxhash
Use Case(s)
An easier on-ramp to Vitess.
The text was updated successfully, but these errors were encountered: