[ https://issues.apache.org/jira/browse/LENS-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436731#comment-15436731 ]
Rajat Khandelwal commented on LENS-960: --------------------------------------- The driver query has either * part_col in (values) * part_col = x OR part_col = y OR ... The second format comes when OrTimeRangeWriter is being used. In that case, earlier the rewritten time range clause used to look like (a or (b or (c or (d)))). But After this change, the clause will look more flat, i.e. (a or b or c or d). > getting string from AST should give flat string wherever possible > ----------------------------------------------------------------- > > Key: LENS-960 > URL: https://issues.apache.org/jira/browse/LENS-960 > Project: Apache Lens > Issue Type: Improvement > Components: cube > Reporter: Rajat Khandelwal > Assignee: Rajat Khandelwal > Fix For: 2.6 > > Attachments: LENS-960.04.patch > > > Current scenario: > {noformat} > toString(parse("a or b or c or d")) == "(a or (b or (c or (d))))" > {noformat} > Proposal is to remove the excessive nested braces. -- This message was sent by Atlassian JIRA (v6.3.4#6332)