Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[16:20:31 CST(-0600)] <EricDalquist> yup

[16:21:56 CST(-0600)] <cwaymire> hey. ok so this aggregation table has (in addition to the normal date, time, group, interval, etc) a search term column and a count column. I have an aggregation key defined that extends from BaseAggregationKeyImpl and just adds in a getter for the searchTerm and adjusts the hashcode/equals methods appropriately.

[16:22:21 CST(-0600)] <cwaymire> i'm seeing a situation where sometimes it properly creates a new row given a new search term, and sometimes it increments the count of an existing row even though its a unique search term

[16:22:31 CST(-0600)] <cwaymire> would that be an issue with the key?

[16:22:48 CST(-0600)] <EricDalquist> hrm