Thanks, Val.

The two fields are sufficient as the primary key. The "hour" field is the 
truncated dateTime, and "bucket" is a grouping of the PortIds.

Roger

-----Original Message-----
From: vkulichenko [mailto:[email protected]] 
Sent: Thursday, July 27, 2017 2:56 PM
To: [email protected]
Subject: RE: Missing object when loading from Cassandra with multiple queries

Roger,

Since Ignite stores data in binary format, ыщ it basically ignores your 
hashCode and equals implementations. However, I see that in these methods you 
use only two fields out of four which makes me think that you can create two 
keys with same portId and dateTime, but different hour and bucket, and expect 
them to be equal. This definitely can cause issue like you described, you 
should identify key by all fields included in it.

Can this be the case?

-Val



--
View this message in context: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__apache-2Dignite-2Dusers.70518.x6.nabble.com_Missing-2Dobject-2Dwhen-2Dloading-2Dfrom-2DCassandra-2Dwith-2Dmultiple-2Dqueries-2Dtp15644p15748.html&d=DwIFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=1esZO0r0bYS90lcsaLA6N4AFxuNo6lzauhETGwdJQoQ&m=S46CnMWTAP0BmHV0GtebdoVXMlXsKw6iO653LG_TS2g&s=68xajupHZjoD9vAWkccGM58rBcNAFuc48S-eZfDuYYE&e=
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to