xiedeyantu commented on PR #4450:
URL: https://github.com/apache/calcite/pull/4450#issuecomment-3016805774

   I try to run this test, but thow an error:
   ```
   Error while executing SQL "select city, state from zips where city <> 
'ABERDEEN' and city <> 'AIKEN'  order by city": Unable to implement 
MongoToEnumerableConverter: rowcount = 25.0, cumulative cost = {18.75 rows, 
108.07189562170501 cpu, 0.0 io}, id = 98
     MongoSort(sort0=[$0], dir0=[ASC]): rowcount = 25.0, cumulative cost = 
{16.25 rows, 105.57189562170501 cpu, 0.0 io}, id = 96
       MongoProject(CITY=[CAST(ITEM($0, 'city')):VARCHAR(20)], 
STATE=[CAST(ITEM($0, 'state')):VARCHAR(2)]): rowcount = 25.0, cumulative cost = 
{15.0 rows, 25.1 cpu, 0.0 io}, id = 94
         MongoFilter(condition=[SEARCH(CAST(ITEM($0, 'city')):VARCHAR(20), 
Sarg[(-∞..'ABERDEEN':VARCHAR(20)), 
('ABERDEEN':VARCHAR(20)..'AIKEN':VARCHAR(20)), 
('AIKEN':VARCHAR(20)..+∞)]:VARCHAR(20))]): rowcount = 25.0, cumulative cost = 
{12.5 rows, 20.1 cpu, 0.0 io}, id = 92
           MongoTableScan(table=[[mongo_raw, zips]]): rowcount = 100.0, 
cumulative cost = {10.0 rows, 10.100000000000001 cpu, 0.0 io}, id = 13
   ```
   


-- 
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]

Reply via email to