[ 
https://issues.apache.org/jira/browse/IGNITE-21700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-21700:
-----------------------------------------
    Labels: ignite-3 spotbugs  (was: ignite3 spotbugs)

> IgniteSort: result of RelOptCost.plus is ignored but it doesn't have 
> side-effects
> ---------------------------------------------------------------------------------
>
>                 Key: IGNITE-21700
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21700
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Viacheslav Blinov
>            Priority: Major
>              Labels: ignite-3, spotbugs
>             Fix For: 3.0.0-beta2
>
>
> Issue detected by SpotBugs. Specifically the warning reported is:
> {noformat}
> H D RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT RV: Return value of 
> org.apache.calcite.plan.RelOptCost.plus(RelOptCost) ignored, but method has 
> no side effect  At IgniteSort.java:[line 169] {noformat}
> It looks like RelOptCost.plus is side-effect free and it's return result 
> should be used, but it is ignored! It looks like a bug!
> Investigate whenever this is a false-positive and we should suppress it, or 
> make a proper fix.
> At the result of investigation corresponding TODO should be removed in 
> spotbugs-excludes.xml



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to