[ https://issues.apache.org/jira/browse/HIVE-10526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518417#comment-14518417 ]
Ashutosh Chauhan commented on HIVE-10526: ----------------------------------------- Wondering if its better to separate io & cpu cost as well : {code} return (this == other) || ((Math.abs((this.io) - (other.getio())) < RelOptUtil.EPSILON) &&((Math.abs((this.cpu) - (other.getCpu())) < RelOptUtil.EPSILON) && (Math.abs((this.rowCount - other.getRows())) < RelOptUtil.EPSILON)); {code} > CBO (Calcite Return Path): HiveCost epsilon comparison should take row count > in to account > ------------------------------------------------------------------------------------------ > > Key: HIVE-10526 > URL: https://issues.apache.org/jira/browse/HIVE-10526 > Project: Hive > Issue Type: Sub-task > Components: CBO > Reporter: Laljo John Pullokkaran > Assignee: Laljo John Pullokkaran > Fix For: 1.2.0 > > Attachments: HIVE-10526.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)