You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Puneet Gupta (JIRA)" <ji...@apache.org> on 2015/11/05 06:35:27 UTC
[jira] [Created] (LENS-862) Updating HQLParser.printAST() to print
Char Position In Line. Useful for Debugging
Puneet Gupta created LENS-862:
---------------------------------
Summary: Updating HQLParser.printAST() to print Char Position In Line. Useful for Debugging
Key: LENS-862
URL: https://issues.apache.org/jira/browse/LENS-862
Project: Apache Lens
Issue Type: Improvement
Components: cube
Reporter: Puneet Gupta
Priority: Trivial
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)
{noformat}
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)$
}
}
...
...
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)