@ Override public final void alterCatalog ( ClusterName targetCluster , CatalogName catalogName , Map < Selector , Selector > options ) throws UnsupportedException , ExecutionException { try { connectionHandler . startJob ( targetCluster . getName ( ) ) ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Altering catalog[" + catalogName . getName ( ) + "] in cluster [" + targetCluster . getName ( ) + "]" ) ; } alterCatalog ( catalogName , options , connectionHandler . getConnection ( targetCluster . getName ( ) ) ) ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Catalog [" + catalogName . getName ( ) + "] has been altered successfully in cluster [" + targetCluster . getName ( ) + "]" ) ; } } finally { connectionHandler . endJob ( targetCluster . getName ( ) ) ; } }
Alter options in an existing table .