Eric Lin created HIVE-14537:
-------------------------------
Summary: Please add HMS audit logs for ADD and CHANGE COLUMN
operations
Key: HIVE-14537
URL: https://issues.apache.org/jira/browse/HIVE-14537
Project: Hive
Issue Type: Improvement
Reporter: Eric Lin
Priority: Minor
Currently if you ALTER TABLE test ADD COLUMNS (c int), the only audit log we
can see is:
{code}
2016-08-09T13:29:56,411 INFO [pool-6-thread-2]: metastore.HiveMetaStore
(HiveMetaStore.java:logInfo(754)) - 2: source:127.0.0.1 alter_table: db=default
tbl=test newtbl=test
{code}
This is not enough to tell which columns are added or changed. It would be
useful to add such information.
Ideally we could see:
{code}
2016-08-09T13:29:56,411 INFO [pool-6-thread-2]: metastore.HiveMetaStore
(HiveMetaStore.java:logInfo(754)) - 2: source:127.0.0.1 alter_table: db=default
tbl=test newtbl=test newCol=c[int]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)