Skip to content

Unable to compare DATETIME and TIMESTAMP[BUG] #294

Closed

Description

Describe the bug
Unable to compare DATETIME and TIMESTAMP for logical operators and CASE.

Or for query issues:'

  1. Run the query 'SELECT TIMESTAMP(DATE("2010-04-12")) = SUBDATE(TIMESTAMP(DATE("2010-04-12")), INTERVAL 1 HOUR)'
  2. See error "ExpressionEvaluationException"

Expected behavior
The SQL plugin should be able to compare DATETIME and TIMESTAMP or SUBDATE and ADDDATE should have output of type TIMESTAMP.

Screenshots
image

Activity

  1. ghost added on Nov 19, 2021
  2. ghost added
    bug
    on Nov 19, 2021
  3. added
    tdvt
    on Nov 24, 2021
  4. dai-chen commented on Apr 5, 2022

    @dai-chen
    Collaborator
  5. added
    v2.5.0
    on Dec 12, 2022
  6. removed
    v2.5.0
    on Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugtdvtv2.6.0

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions