You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Santhosh Thomas <sa...@yahoo.com> on 2014/07/08 11:44:30 UTC
capturing onAlterTable event
Hello
I have a requirement to capture the onAlterTable() event of hive metastore.
I intend to do some data processing stuff if any of the column has been altered (ADD/DROP etc.).
Can someone please help me find what has changed in the 'alter table' operation?
I have this code
public void onAlterTable(AlterTableEvent ate) throws MetaException {
Table oldTable = ate.getOldTable();
Table newTable = ate.getNewTable();
// Now what???
}
thanks
Santhoma
capturing onAlterTable event
Posted by Santhosh Thomas <sa...@yahoo.com>.
Hello
I have a requirement to capture the onAlterTable() event of hive metastore.
I intend to do some data processing stuff if any of the column has been altered (ADD/DROP etc.).
Can someone please help me find what has changed in the 'alter table' operation?
I have this code
public void onAlterTable(AlterTableEvent ate) throws MetaException {
Table oldTable = ate.getOldTable();
Table newTable = ate.getNewTable();
// Now what???
}
thanks
Santhoma