dwevedivaibhav opened a new issue, #2826:
URL: https://github.com/apache/drill/issues/2826

   Hi Team,
   
   I am trying to execute the millions of record query from mongo db storage 
with timestamp filter, it getting slow even though i created the index of 
timestamp in mongo collection, but its taking so long time to execute and some 
time time its failing also due to huge record. 
   
   Please find the sample query which i am executing from apache drill
   
   select  * FROM `mongo`.`sampletable`
   WHERE `SentTime` >= TO_TIMESTAMP('2023-08-10 00:00:00', 'yyyy-MM-dd 
HH:mm:ss')
     AND `SentTime` < TO_TIMESTAMP('2023-08-17 00:00:00', 'yyyy-MM-dd HH:mm:ss')
   LIMIT 10


-- 
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: dev-unsubscr...@drill.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to