[JBoss JIRA] Resolved: (TEIID-694) Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-694?page=com.atlassian.jira.plug... ]
Steven Hawkins resolved TEIID-694.
----------------------------------
Resolution: Duplicate Issue
Dup of TEIID-695
> Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
> -----------------------------------------------------------------------------------------------
>
> Key: TEIID-694
> URL: https://jira.jboss.org/jira/browse/TEIID-694
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Reporter: Larry O'Leary
> Assignee: Larry O'Leary
> Priority: Minor
> Fix For: 6.2.0
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> When comparing the following command objects the commands evaluate as equal when performing c1.equals(c2) even though the criteria is different in the two commands:
> c1 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey AND bqt1.smallb.intnum = 1
> c2 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey
> This is due to the method com.metamatrix.query.sql.lang.JoinPredicate.equals(Object obj) referencing itself when getting the criteria from itself and the obj being passed in:
> ...
> List thisCrit = this.getJoinCriteria();
> ...
> List otherCrit = this.getJoinCriteria();
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Resolved: (TEIID-693) Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-693?page=com.atlassian.jira.plug... ]
Steven Hawkins resolved TEIID-693.
----------------------------------
Resolution: Duplicate Issue
Dup of TEIID-695
> Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
> -----------------------------------------------------------------------------------------------
>
> Key: TEIID-693
> URL: https://jira.jboss.org/jira/browse/TEIID-693
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Reporter: Larry O'Leary
> Assignee: Larry O'Leary
> Priority: Minor
> Fix For: 6.2.0
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> When comparing the following command objects the commands evaluate as equal when performing c1.equals(c2) even though the criteria is different in the two commands:
> c1 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey AND bqt1.smallb.intnum = 1
> c2 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey
> This is due to the method com.metamatrix.query.sql.lang.JoinPredicate.equals(Object obj) referencing itself when getting the criteria from itself and the obj being passed in:
> ...
> List thisCrit = this.getJoinCriteria();
> ...
> List otherCrit = this.getJoinCriteria();
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month