Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-407

PostgreSQL-style cast should have higher operator priority

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Expression
    • None

    Description

      See the title. Currently, postgresql-style cast has lower operator priority than some operators like equal(=). So, the following statement does not work properly.

      tajo> select l_shipdate from lineitem where l_shipdate = '1996-03-13'::date limit 1;
      ERROR: No operator matches the given name and argument type(s): lineitem.l_shipdate (DATE(0)) = 1996-03-13
      

      Attachments

        1. TAJO-407.patch
          14 kB
          Hyunsik Choi

        Activity

          People

            hyunsik Hyunsik Choi
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: