KNOWLEDGE BASE

System error: Comparison method violates its general contract! when there are too many conditions setting in CASE...WHEN or IF ELSEIF clause


Published: 17 Feb 2022
Last Modified Date: 25 May 2022

Issue

When running a flow, the following error occurs when there are too many conditions setting in CASE...WHEN or IF..ELSEIF clause:

System error: Comparison method violates its general contract!

Environment

  • Tableau Prep Builder 2021.3.3, 2021.4.2, 2021.4.3, and 2021.4.4.
  • Tableau Online 2022.1
  • Tableau Server 2022.1

Resolution

The Issue IDs under which we are tracking efforts are 1363878 and 1375441.  These IDs are  posted in our Known Issues page.
When a solution is available, these ID numbers will reflect the products and versions fixed.
 

Cause

This behavior is caused by Known Issues, ID 1363878 and 1375441. 
Did this article resolve the issue?