Description
Updating HQLParser.printAST() to print Char Position In Line. Useful for Debugging.
Earlier the level and child position was being printed . Added char position in line also (Example l0c0p393 : level 0, child 0, char position 393)
TOK_QUERY [TOK_QUERY] (l0c0p393) { TOK_FROM [TOK_FROM] (l1c1p393) { TOK_SUBQUERY [TOK_SUBQUERY] (l2c1p393) { TOK_UNION [TOK_UNION] (l3c1p393) { TOK_QUERY [TOK_QUERY] (l4c1p393) { TOK_FROM [TOK_FROM] (l5c1p393) { TOK_TABREF [TOK_TABREF] (l6c1p393) { TOK_TABNAME [TOK_TABNAME] (l7c1p393) { TestQueryRewrite [Identifier] (l8c1p393)$ c1_testfact [Identifier] (l8c2p410)$ } testcube [Identifier] (l7c2p422)$ } } ... ...