Skip to content

[Bug] query with date column predicate return empty set #5988

Description

@morningman

Describe the bug
k1 is datetime type column.

SQL like:

  1. select count(*) from tbl1 where k1 > '2021-6-1';
  2. select count(*) from tbl1 where k1 > to_date(now())

will return empty set, which is not right.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/fixCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions