jonahgao opened a new issue, #10240:
URL: https://github.com/apache/datafusion/issues/10240

   ### Describe the bug
   
   Found while working on #10013.
   
   An error was reported stating, `This feature is not implemented: Unsupported 
ast node in sqltorel: Substring.`
   It worked prior to #10137, but it stopped working after upgrading sqlparser 
to 0.45.0.
   
   Related to https://github.com/sqlparser-rs/sqlparser-rs/pull/1173
   
   
   
   ### To Reproduce
   
   ```sh
   DataFusion CLI v37.1.0
   > select substring('xxxx', 1, 2);
   This feature is not implemented: Unsupported ast node in sqltorel: Substring 
{ expr: Value(SingleQuotedString("xxxx")), substring_from: 
Some(Value(Number("1", false))), substring_for: Some(Value(Number("2", 
false))), special: true }
   ```
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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