Skip to content

Don't calculate unused expressions#1933

Merged
texodus merged 1 commit intomasterfrom
remove-unused-expressions
Aug 4, 2022
Merged

Don't calculate unused expressions#1933
texodus merged 1 commit intomasterfrom
remove-unused-expressions

Conversation

@texodus
Copy link
Member

@texodus texodus commented Aug 4, 2022

expressions which are unused by columns/group_by/etc should not be calculated (but they do need to be maintained by the View instance as they are query-able metadata). This is a bug rather than an enhancement because this behavior was a presumption of the UI already, as well as a property that was enforced by the previous iteration of <perspective-viewer> component (this PR moves the behavior to the @finos/perspective engine itself for consistency across languages/consumers).

@texodus texodus added the bug Concrete, reproducible bugs label Aug 4, 2022
@texodus texodus merged commit 53b6b29 into master Aug 4, 2022
@texodus texodus deleted the remove-unused-expressions branch August 4, 2022 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Concrete, reproducible bugs

Development

Successfully merging this pull request may close these issues.

1 participant