### Question:
DistinctStage implements TranslationStage { static boolean isUnsupportedForDistinct(int type) { for (int unsupportedDistinctType : UNSUPPORTED_DISTINCT_TYPES) { if (unsupportedDistinctType == type) { return true; } } return false; }  @Override void perform(TranslatorContext context);  }### Answer:
@Test public void isUnsupportedForDistinct() { assertTrue(DistinctStage.isUnsupportedForDistinct(Types.BLOB)); assertTrue(DistinctStage.isUnsupportedForDistinct(Types.CLOB)); assertTrue(DistinctStage.isUnsupportedForDistinct(Types.NCLOB)); assertTrue(DistinctStage.isUnsupportedForDistinct(Types.LONGVARCHAR)); assertTrue(DistinctStage.isUnsupportedForDistinct(Types.LONGNVARCHAR)); assertTrue(DistinctStage.isUnsupportedForDistinct(Types.LONGVARBINARY)); assertFalse(DistinctStage.isUnsupportedForDistinct(Types.INTEGER)); assertFalse(DistinctStage.isUnsupportedForDistinct(Types.DATE)); assertFalse(DistinctStage.isUnsupportedForDistinct(Types.CHAR)); assertFalse(DistinctStage.isUnsupportedForDistinct(Types.DECIMAL)); assertFalse(DistinctStage.isUnsupportedForDistinct(Types.FLOAT)); assertFalse(DistinctStage.isUnsupportedForDistinct(Types.VARCHAR)); }