Hi there,
I’ve installed gethue
locally with npm cmd npm install --save gethue
, and imported hive-syntax-parser with import hiveSyntaxParser from 'gethue/lib/parsers/hiveSyntaxParser'
.
But what really confusing me is, when I tried to parse sql statement like ‘set tez.grouping.max-size=123’ or ‘select * from user where age between 1 and 2’ with hiveSyntaxParser.parseSyntax(sql)
, I got an object whose attribute ‘incompleteStatement’ was ‘true’ as return.
Then I turned to this site, same input and same response:
Does response like this mean syntax error? If true, how could? If not, how should I check syntax?