goldmedal opened a new issue, #1619:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1619

   # Description
   I tried to use the nightly commit in the upstream DataFusion (nightly 
commit) and the tests failed.
   - https://github.com/goldmedal/datafusion/pull/2
   
   I think it's a bug caused by 
https://github.com/apache/datafusion-sqlparser-rs/pull/1551. Consider the 
following SQL:
   ```
   select 0.
   ```
   It should be parsed to ` Value(Number("0.", false))` but it seems to be 
parsed to 
   ```
   CompositeAccess { 
     expr: Value(Number("0", false)), 
     key: Ident { value: "as", quote_style: None, span: 
Span(Location(0,0)..Location(0,0))
   }
   ```
   
   We should handle this case in `parse_compound_field_access`, too.
   


-- 
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: github-unsubscr...@datafusion.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to