Implement WITH TOTALS support
See original GitHub issueWhat I’m suggesting is we add a getter getWithTotals()
to ClickHouseResultSet
for those that really need it. This way, WITH TOTALS
is supported and at the same time is not among the actual ResultSet results, so no unexpected information or behaviour there.
Supposedly, it’ll be populated during one of next()
calls (if you have any better ideas - let me know) and the user will be able to extract it after iterating over ResultSet.
I’ll be happy to have a go at this and, if successful, send a PR.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to use sum() in R - Find the sum of elements in R
Let's learn how to find the sum of the values with the help of the sum() in R. In this tutorial, we will...
Read more >12 Steps to Implementing a Total Quality Management System
To create an environment that supports a quality culture, you need a structured, systematic process. How To Implement Total Quality Management ( ...
Read more >SUMPRODUCT function - Microsoft Support
The SUMPRODUCT function returns the sum of the products of corresponding ranges or arrays. The default operation is multiplication, but addition, ...
Read more >XtraPivotGrid - How to implement Custom Totals
I need to do a total by the press column of the press hours row. I am using the Custom Cell Value event...
Read more >Sum of array elements - MATLAB sum - MathWorks
This MATLAB function returns the sum of the elements of A along the first ... Use a vector dimension argument to operate on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think first is better since it’s more intuitive and scalable. I’ll start working on it tonight.
I see this issue has now been resolved, awesome 😃
Sorry that I wasn’t able to provide an implementation myself, it’s been a rough time.