We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regr_count
regr_count currently returns a Float64.
Float64
DataFusion CLI v40.0.0 > select regr_count(1, 1); +-------------------------------+ | regr_count(Int64(1),Int64(1)) | +-------------------------------+ | 1.0 | +-------------------------------+ 1 row(s) fetched. Elapsed 0.011 seconds. > select arrow_typeof(regr_count(1, 1)); +---------------------------------------------+ | arrow_typeof(regr_count(Int64(1),Int64(1))) | +---------------------------------------------+ | Float64 | +---------------------------------------------+ 1 row(s) fetched. Elapsed 0.001 seconds.
Consistent with postgres, it should return Int64 or Uint64
Int64
Uint64
https://www.postgresql.org/docs/9.4/functions-aggregate.html
No response
The text was updated successfully, but these errors were encountered:
fix: regr_count now returns Uint64
ba79462
Fixes apache#11726
fix: regr_count now returns Uint64 (#11731)
cd786e2
Fixes #11726
Successfully merging a pull request may close this issue.
Describe the bug
regr_count
currently returns aFloat64
.To Reproduce
Expected behavior
Consistent with postgres, it should return
Int64
orUint64
https://www.postgresql.org/docs/9.4/functions-aggregate.html
Additional context
No response
The text was updated successfully, but these errors were encountered: