[
https://issues.apache.org/jira/browse/CALCITE-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17606375#comment-17606375
]
Benchao Li commented on CALCITE-5267:
-------------------------------------
[~Chunwei Lei] {{RelBuilder#convert}} has done the work for casting, hence it
would be ok to remove {{newCasts}} IMO.
> Remove useless variable 'newCasts' in AggregateCaseToFilterRule
> ---------------------------------------------------------------
>
> Key: CALCITE-5267
> URL: https://issues.apache.org/jira/browse/CALCITE-5267
> Project: Calcite
> Issue Type: Bug
> Reporter: Wenzhuang Zhu
> Assignee: Wenzhuang Zhu
> Priority: Minor
> Labels: pull-request-available
> Original Estimate: 24h
> Time Spent: 20m
> Remaining Estimate: 23h 40m
>
> AggregateCaseToFilterRule::onMatch contains a variable 'newCasts' that has
> never been used.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)