[ 
https://issues.apache.org/jira/browse/CALCITE-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988233#comment-16988233
 ] 

Julian Hyde commented on CALCITE-3558:
--------------------------------------

Definitely need a test case.

If you need to maintain an ordinal in a for loop, use {{Ord.zip}}: {{for 
(Ord<RexNode> rn : Ord.zip(topProj.getProjects())}}.

> Columns reordering doesn't work in SplunkPushDownRule
> -----------------------------------------------------
>
>                 Key: CALCITE-3558
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3558
>             Project: Calcite
>          Issue Type: Bug
>          Components: splunk
>    Affects Versions: 1.21.0
>         Environment: Splunk 7.3+
>            Reporter: Shawn Chen
>            Assignee: Shawn Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: next
>
>   Original Estimate: 6h
>          Time Spent: 6h
>  Remaining Estimate: 0h
>
> The indexing variable i doesn't increase per loop between line 233 to 246 in 
> SplunkPushDownRule.java.
> This bug causes column reordering nonfunctional.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to