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 <danielru...@gmail.com> 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 >