Commit 66bfe36
authored
Bugfix: Calling count with None arguments (#768)
* Small bugfix. When arguments are None, we should use count_star
* When no arguments are given to count, set argument to lit(1) so that it is similar to count_star but still enables you to select distinct=True.1 parent f580155 commit 66bfe36
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1295 | 1295 | | |
1296 | 1296 | | |
1297 | 1297 | | |
| 1298 | + | |
| 1299 | + | |
1298 | 1300 | | |
1299 | 1301 | | |
1300 | 1302 | | |
| |||
0 commit comments