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

   **Describe the bug**
   In my query I used the [documented function 
`NEARESTDATE`](https://drill.apache.org/docs/date-time-functions-and-arithmetic/#nearestdate).
   
   The query in question looks like:
   ```sql
   SELECT COUNT(*), NEARESTDATE(a_column, 'MINUTE') FROM 
`oracle`.`username`.`V_EXP_PDM_ET610001_87` GROUP BY NEARESTDATE(a_column, 
'MINUTE')
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Install (download and unpack) Apache Drill
   2. Prepare any data source that has a column with type of `TIMESTAMP`
   3. Query anything and use the function `NEARESTDATE`
   4. See the error in logs
   
   **Expected behavior**
   Function works as intended and documented
   
   **Error detail, log output or screenshots**
   Long stacktrace that states multiple times `Unknown variable or type 
"DateConversionUtils"`
   
   **Drill version**
   1.21.0
   
   **Additional context**
   Add any other context about the problem here.
   


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