You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "qrilka (via GitHub)" <gi...@apache.org> on 2023/10/04 14:25:02 UTC
Re: [I] [Rust] COUNT(*) schema name is COUNT(UInt8) [arrow-datafusion]
qrilka commented on issue #104:
URL: https://github.com/apache/arrow-datafusion/issues/104#issuecomment-1746987270
Hi @alamb it's an old ticket but could I ask for some more details so I could try working on it?
Do I understand it's right that the problem could be seen in `datafusion-cli` as
```
❯ select count(*) from (select null);
+-----------------+
| COUNT(UInt8(1)) |
+-----------------+
| 1 |
+-----------------+
1 row in set. Query took 0.001 seconds.
```
with output showing `COUNT(UInt8(1))` as field name?
I have found `CountWildcardRule` applied in `Analyzer`, if the idea is to remove it from there then what could be a more suitable place (closer to physical plan) for this step of replacing wildcard with 1?
--
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