question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement WITH TOTALS support

See original GitHub issue

What 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:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
IgnatBeresnevcommented, Nov 27, 2017

I think first is better since it’s more intuitive and scalable. I’ll start working on it tonight.

0reactions
IgnatBeresnevcommented, Jan 12, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found