You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2017/09/01 22:09:00 UTC
[jira] [Created] (SENTRY-1914) Update field size in Sentry to Match
Hive definition
Na Li created SENTRY-1914:
-----------------------------
Summary: Update field size in Sentry to Match Hive definition
Key: SENTRY-1914
URL: https://issues.apache.org/jira/browse/SENTRY-1914
Project: Sentry
Issue Type: Bug
Components: Sentry
Affects Versions: 2.0.0
Reporter: Na Li
Assignee: Na Li
Hive defines some fields in a bigger size than sentry. When those fields have value longer than what sentry defines, sentry will not be able to persist those fields correctly.
Hive defined size in sql
`TABLE_NAME` VARCHAR(256)
`COLUMN_NAME` VARCHAR(767)
in https://github.com/apache/hive/blob/master/metastore/scripts/upgrade/mysql/hive-schema-2.2.0.mysql.sql table `TAB_COL_STATS` and `PART_COL_STATS`
Sentry defined size in sql
`TABLE_NAME` VARCHAR(128)
`COLUMN_NAME` VARCHAR(128)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)