You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/20 02:21:23 UTC

[GitHub] [arrow-datafusion] HaoYang670 commented on issue #3891: `count(Literal)` gives wrong column name

HaoYang670 commented on issue #3891:
URL: https://github.com/apache/arrow-datafusion/issues/3891#issuecomment-1284818587

   Hi @andygrove, I guess this bug is probably related to the sql-parser. Because there is no error when constructing the expression directly:
   ```rust
       #[test]
       fn my_test() -> Result<()> {
           let expr = count(lit(2.2));
           let expected = "COUNT(Float64(2.2))";
           assert_eq!(expected, expr.display_name()?);
           Ok(())
       }
   ```


-- 
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-unsubscribe@arrow.apache.org

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