Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-2167

Invalid join result when the join predicate contains a function

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      When a join predicate contains a function, the evaluation result of the join predicate is invalid like below.

      tpch> select char_length(l_shipdate) from lineitem;
      ?char_length
      -------------------------------
      10
      10
      10
      ...
      
      tpch> select char_length(o_orderdate) from orders;
      ?char_length
      -------------------------------
      10
      10
      10
      ...
      
      tpch> select l_linenumber from lineitem, orders where char_length(l_shipdate) + 1 = char_length(o_orderdate) + 1;
      l_linenumber
      -------------------------------
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jihoonson Jihoon Son
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: