Re: Validating Hive statements

2020-02-19 Thread Odon Copon
Hi, I can confirm as Elliot was mentioning, the CLI takes care of comments (justed tested that) and splitting the statements, but ADDs and SETs are still kept, and the parser breaks when trying to parse them. Is there any other middle step I should be aware of? Thanks. On Wed, 19 Feb 2020 at 14:51

Re: Validating Hive statements

2020-02-19 Thread Odon Copon
Hi Elliot, Thanks for your quick response. Are you saying that things like SETs and other stuff is handled by the CLI and doesn't reach the parser? Is there any example or testing I could check to see how does this work? Thanks. On Wed, 19 Feb 2020 at 14:21, Elliot West wrote: > Hi, > > If I re

Re: Validating Hive statements

2020-02-19 Thread Elliot West
Hi, If I recall correctly, not all script input is handled by the parser, and the CLI takes care of some statements prior to parsing of SQL - comments are an example. Also, there is some divergence between Beeline and hive CLI. In HiveRunner we handled this by providing different CLI emulations: