yashmayya commented on PR #16570:
URL: https://github.com/apache/pinot/pull/16570#issuecomment-3178298027

   @ankitsultana none of the added tests are using those table options hints. 
One of the sample queries is:
   
   `{ SELECT intCol FROM {tbl1} INTERSECT SELECT intCol FROM {tbl2} UNION 
SELECT intCol FROM {tbl1}`
   
   It's being run on this test dataset:
   
   ```
   "tables": {
         "tbl1": {
           "schema":[
             {"name": "intCol", "type": "INT"},
             {"name": "longCol", "type": "LONG"},
             {"name": "floatCol", "type": "FLOAT"},
             {"name": "doubleCol", "type": "DOUBLE"},
             {"name": "strCol", "type": "STRING"}
           ],
           "inputs": [
             [1, 8, 3.0, 5.176518e16, "lyons"],
             [2, 9, 4.0, 4.608155e11, "onan"],
             [3, 14, 5.0, 1.249261e11, "rudvalis"],
             [4, 21, 6.0, 8.677557e19, "janko"],
             [1, 41, 2.0, 4.15478e33, "baby"],
             [2, 46, 1.0, 8.08017e53, "monster"]
           ]
         },
         "tbl2": {
           "schema":[
             {"name": "intCol", "type": "INT"},
             {"name": "strCol", "type": "STRING"}
           ],
           "inputs": [
             [1, "foo"],
             [2, "bar"]
           ]
         }
   }
   ```
   
   The expected output (returned by H2 and also when using the default MSE 
optimizer) is `[1], [2], [3], [4]` but MSE with the new physical optimizer is 
returning `[3], [4], [2], [1], [2]` (the duplicate `2` is the issue, not the 
ordering).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to