alamb opened a new issue, #5005:
URL: https://github.com/apache/arrow-datafusion/issues/5005

   **Describe the bug**
   DataFusion supports numeric `$1` type placeholders not `$__timeTo` which is 
fine
   
   However, when a invalid placeholder is specified an Internal error results 
which in many systems results in the message being masked from the user. 
   
   **To Reproduce**
   in DataFusion CL
   ```sql
   ❯ select $__timeTo;
   Internal("Invalid placeholder, not a number: $__timeTo")
   ```
   
   **Expected behavior**
   I expect a planning error (DataFusionError::Plan)` rather than internal
   
   **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: [email protected]

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

Reply via email to