Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CALCITE-1178] Allow SqlBetweenOperator to compare DATE and TIMESTAMP #1470

Merged
merged 1 commit into from
Sep 23, 2019

Commits on Sep 23, 2019

  1. [CALCITE-1178] Allow SqlBetweenOperator to compare DATE and TIMESTAMP

    * Add implicit type coercion rules for BETWEEN operator and add test
    cases
    * For comparison of NUMERIC and CHARACTER, we coerce the CHARACTER to
    NUMERIC type which is breaking change.(Before this patch, CHARACTER would
    be coerced to INT during sql-to-rel conversion)
    * For "DATETIME and CHARACTER" comparison and equality, add coercion rules during sql
    node validation, before this patch, the coercion happens during sql-to-rel conversion
    * Some code refactoring for TypeCoercionConverterTest
    danny0405 committed Sep 23, 2019
    Configuration menu
    Copy the full SHA
    9ca0bda View commit details
    Browse the repository at this point in the history