convert TableComparisonState