[ https://issues.apache.org/jira/browse/SENTRY-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Na Li reassigned SENTRY-1914: ----------------------------- Assignee: (was: Na Li) > 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 > Priority: Major > Attachments: SENTRY-1914.001.patch > > > 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 (v7.6.3#76005)