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.

Running two consecutive COUNT aggregations breaks the analysis

See original GitHub issue

Example: Running Points to Polygon analysis (Which can at the moment only be aggregated by count), then intersecting that to obtain a count from a points dataset breaks the analysis & viz. Deleting broken analysis and refreshing page breaks builder.

Error: column "count_vals" specified more than once

double_count_bug

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
ramiroaznarcommented, Feb 17, 2017

@saleiva @xavijam In my opinion, this is a key workflow that should be solved. For instance, I have Madrid neighborhoods and a set of points layers such as hospitals, green areas, libraries and so on. I could intersect one by one with the neighborhoods layer, and then use the autostyle to show the variability both geographically and thematic.

1reaction
ramiroaznarcommented, Sep 18, 2017

What about count_vals_1, count_vals_vals_2 and so on?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identify consecutive values in SQL Server
In this two-part series, we look at different solutions to a SQL problem - how to identify consecutive or non-consecutive values in a...
Read more >
How to Find the Longest Consecutive Series of Events in ...
We'd like to aggregate each group “ grp ” and count the number of dates in the group, as well as find the...
Read more >
4. Cohort Analysis - SQL for Data Analysis [Book]
Metric values are aggregated across the cohort, usually with sum , count , or average , though any relevant aggregation works. The result...
Read more >
Identify consecutive same values in Pandas Dataframe, ...
You can try this; 1) Create an extra group variable with df.value.diff().ne(0).cumsum() to denote the value changes; 2) use ...
Read more >
Terms Aggregation
A multi-bucket value source based aggregation where buckets are dynamically ... pair so it can be useful to break the analysis up into...
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