You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/11/05 07:15:27 UTC
[jira] [Commented] (LENS-862) Updating HQLParser.printAST() to
print Char Position In Line. Useful for Debugging
[ https://issues.apache.org/jira/browse/LENS-862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991212#comment-14991212 ]
Hadoop QA commented on LENS-862:
--------------------------------
Applied patch: [lens-862.patch|https://issues.apache.org/jira/secure/attachment/12770747/lens-862.patch] and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/166/
> 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
> Affects Versions: 2.5
> Reporter: Puneet Gupta
> Priority: Trivial
> Attachments: lens-862.patch
>
>
> 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)