Skip to content
New issue

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

non-constant agg re: juliette #4082

Open
wants to merge 1 commit into
base: 8.8.0.sw
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions software/modules/ROOT/partials/whats-new-8-8-0-sw.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,17 @@ endif::[]

image::formula-assistant-search.png[Formula assistant search]

////
draft

[#8-8-0-sw-headline-aggregation]
[discrete]
=== Headline aggregation for discontinuous expressions

// Naomi

We changed the default behavior for table aggregation summaries when the search contains a formulas that contain both a conditional clause (`if... then... else`) and a group_aggregate expression. When a user searches with a formula containing both a conditional clause and a group_aggregate expression, then ThoughtSpot detects the first aggregation type within the conditional clause and uses it in the Table Aggregation summary.
We changed the default behavior for table aggregation summaries when the search contains a formulas that contain both a conditional clause (`if... then... else`) and a group_aggregate expression. When a user searches with a formula containing both a conditional clause and a group_aggregate expression, then ThoughtSpot detects the aggregation type on the first non-constant output clause and uses it in the Headline summary.

For example, in the formula `group_aggregate(sum(if (Color = 'blue') then 0 else group_unique_count(Discount)))`, the headline summary would use `COUNT_DISTINCT`, since the first non-constant output column within the `if... then... else` clause is `group_unique_count` and has an aggregation type of `COUNT_DISTINCT`.

For example, in the formula `group_aggregate(sum(if (Color = 'blue') then 0 else group_unique_count(Discount)))`, the table aggregate summary would use `COUNT_DISTINCT`, since the first aggregation type within the `if... then... else` clause is `group_unique_count`.
////

[#8-8-0-sw-search-panel]
[discrete]
Expand Down