JasonLi-cn commented on issue #13078: URL: https://github.com/apache/datafusion/issues/13078#issuecomment-2434126565
`Float` is `DataType::Float32` in datafusion, and `500.2` resolves to `DataType::Float64` at the parser stage. Therefore, the `speed` field is casted to `DataType::Float64` when the query plan is generated. -- 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 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