google / google/perfetto

Ability to create derived values/columns in table/pivot views

Open
#4,229 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
6.5k
Forks
868
Avg merge
2d 1h
Merged PRs (30d)
218

Description

It would be extremely useful to be able to create a derived values/columns in table/pivot views that would take some other values (e.g., two other columns) and calculate some expression. That calculated value can then be used for sorting or charting.

Ideally, some simple subset of SQL would be allowed, which would cover both arithmetics, but also would allow to call into various math/string functions.

Contributor guide

Open the contributing guide

Research direction

Start by examining the existing table and pivot views and how their values are used for sorting and charting. Define the supported expression and SQL-function scope, then consider the feature complete when derived values can be calculated from other columns and consumed by both sorting and charting.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, sql
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.