Github user elilevine commented on the pull request:
https://github.com/apache/phoenix/pull/104#issuecomment-128840703
The TENANT_ID column in system tables is used to quickly filter metadata
belonging to a tenant. Agree we could probably get away with leaving it VARCHAR
because that is how tenant ids are passed to connections anyway.
Now that got me thinking... if we extending that logic further, why then do
we need to implement support for other data types for tenant id columns if
tenant ids are always passed in as strings to connections? Why not keep them
all as VARCHAR/CHAR, like they are now?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---