You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2016/11/30 23:17:58 UTC
[jira] [Commented] (KUDU-981) Validate table and column names
[ https://issues.apache.org/jira/browse/KUDU-981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15710163#comment-15710163 ]
Todd Lipcon commented on KUDU-981:
----------------------------------
I started putting a few restrictions in place in this patch: http://gerrit.cloudera.org:8080/5290
I agree that it's arbitrary, but given that we don't do any testing with really long table names or identifiers, I think it's best to put some guard rails in place, mostly to guard against a user writing some bug which accidentally tries to create a 1MB column name or somesuch. Based on research into other databases, relatively short limits on length are the norm.
In this above patch i didn't do any limiting of character sets, we can do that in a follow-up.
> Validate table and column names
> -------------------------------
>
> Key: KUDU-981
> URL: https://issues.apache.org/jira/browse/KUDU-981
> Project: Kudu
> Issue Type: Bug
> Components: master
> Affects Versions: Private Beta
> Reporter: Todd Lipcon
> Assignee: Will Berkeley
> Priority: Critical
> Attachments: naming-freedom.png
>
>
> Currently I believe we allow table names such as "", " ", etc. We should probably figure out a reasonable subset of characters and validate names.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)