public SqlType getExpressionSqlType(final Expression expression) {
    return getExpressionSqlType(expression, Collections.emptyMap());
  }
@Test
  public void shouldFailIfComparisonOperandsAreIncompatible() {
    // Given:
    final ComparisonExpression expr = new ComparisonExpression(Type.GREATER_THAN,
        TestExpressions.COL0, COL1
    );

    // When:
    final KsqlStatementException e = assertThrows(
        KsqlStatementException.class,
        () -> expressionTypeManager.getExpressionSqlType(expr)
    );

    // Then:
    assertThat(e.getMessage(), containsString(
        "Cannot compare BIGINT to STRING with GREATER_THAN"
    ));
    assertThat(e.getUnloggedMessage(), containsString(
        "Cannot compare COL0 (BIGINT) to COL1 (STRING) with GREATER_THAN"
    ));
  }