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)