# Comparing Two Datasets Values, and using those to determine difference

**URL:** <https://forum.inductiveautomation.com/t/comparing-two-datasets-values-and-using-those-to-determine-difference/23676>\
**Category:** Ignition\
**Created:** [March 28, 2019, 3:06am UTC](https://forum.inductiveautomation.com/t/comparing-two-datasets-values-and-using-those-to-determine-difference/23676 "2019-03-28T03:06:55Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 16, 2023, 11:29pm UTC](https://forum.inductiveautomation.com/t/comparing-two-datasets-values-and-using-those-to-determine-difference/23676/29 "2023-02-16T23:29:02Z")

</div>

Well, _that's_ fun. I don't know if maybe Jython 2.5 behaves differently than 2.7 here, but `DatasetTestUtils.equals()` doesn't give you a useful result because _it's not being called_. Jython is invoking the base Object method, which is why you're getting referential equality behavior. I can't see any way to convince Jython to invoke the static equals method correctly. @pturmel may have some ideas?

I don't think it's a _bug_ (the behavior of the method itself is fine) outside of perhaps a bug in Jython, but fixing it is _not_ likely to be fun or low risk. I think your best options are to 1. script this yourself or 2. use Ignition Extensions: [Ignition Extensions - Convenience utilities for advanced users](https://forum.inductiveautomation.com/t/ignition-extensions-convenience-utilities-for-advanced-users/64615)

---

_[View the full topic](https://forum.inductiveautomation.com/t/comparing-two-datasets-values-and-using-those-to-determine-difference/23676)._
