Thanks. I was using MetaStoreEventListener and wasn't aware there's another type of HMS hook.
TY. Daniel On Fri, Oct 5, 2018 at 10:54 PM Alan Gates <[email protected]> wrote: > Which version of Hive are you on and which hook are you seeing fire? > Based on looking at the master code you should only see the > commitCreateTable hook call if the creation succeeds. > > Alan. > > On Thu, Oct 4, 2018 at 12:36 AM Daniel Haviv <[email protected]> > wrote: > >> Hi, >> I'm writing a HMS hook and I noticed that the hook fires no matter if the >> operation succeeded or not. >> For example, if a user creates an already existing table, the operation >> will fail but the the hook will fire regardless. >> >> Is there a way to either validate that the operation succeeded or fire >> only upon success? >> >> >> TY. >> Daniel >> >
