Aggregate and Analytic operators
🟢 18 of 18 operators all ok · vtlengine 1.10.0rc2 (90ee9376) · pandas 2.3.3 · DuckDB 1.5.5
🟢 all ok🟡 partially implemented🛡️ refused with an error🔴 not implemented or crash🔵 engines differ ✅ match · ❌ wrong result · 🛡 guarded error (code) · 💥 crash · 📌 team decision
---
config:
flowchart:
useMaxWidth: false
---
flowchart LR
classDef ok fill:#d4edda,stroke:#28a745,color:#000
classDef partial fill:#fff3cd,stroke:#ffc107,color:#000
classDef refused fill:#d4edda,stroke:#28a745,stroke-width:3px,stroke-dasharray: 2 2,color:#000
classDef missing fill:#f8d7da,stroke:#dc3545,color:#000
classDef diverge fill:#cce5ff,stroke:#007bff,color:#000
classDef block fill:#2b3a4a,stroke:#2b3a4a,color:#fff,font-weight:bold
classDef ext fill:#fff,stroke:#666,color:#000,stroke-dasharray: 5 5
B["Aggregate and Analytic operators"]:::block
aggregate__aggregate_invocation["Aggregate invocation · group by<br/>🟢4"]:::ok
aggregate__analytic_invocation["Analytic invocation · over 📌<br/>🟢11"]:::ok
aggregate__count["Counting the number of data points · count 📌<br/>🟢9"]:::ok
aggregate__min["Minimum value · min<br/>🟢8"]:::ok
aggregate__max["Maximum value · max<br/>🟢8"]:::ok
aggregate__median["Median value · median<br/>🟢8"]:::ok
aggregate__sum["Sum · sum<br/>🟢8"]:::ok
aggregate__avg["Average value · avg<br/>🟢8"]:::ok
aggregate__stddev_pop["Population standard deviation · stddev_pop<br/>🟢8"]:::ok
aggregate__stddev_samp["Sample standard deviation · stddev_samp<br/>🟢8"]:::ok
aggregate__var_pop["Population variance · var_pop<br/>🟢8"]:::ok
aggregate__var_samp["Sample variance · var_samp<br/>🟢8"]:::ok
aggregate__first_value["First value · first_value<br/>🟢2"]:::ok
aggregate__last_value["Last value · last_value<br/>🟢2"]:::ok
aggregate__lag["Lag · lag<br/>🟢4"]:::ok
aggregate__lead["Lead · lead<br/>🟢4"]:::ok
aggregate__rank["Rank · rank<br/>🟢2"]:::ok
aggregate__ratio_to_report["Ratio to report · ratio_to_report<br/>🟢2"]:::ok
aggregate__aggregate_invocation --- B
aggregate__analytic_invocation --- B
aggregate__count --- B
aggregate__min --- B
aggregate__max --- B
aggregate__median --- B
aggregate__sum --- B
aggregate__avg --- B
aggregate__stddev_pop --- B
B --- aggregate__stddev_samp
B --- aggregate__var_pop
B --- aggregate__var_samp
B --- aggregate__first_value
B --- aggregate__last_value
B --- aggregate__lag
B --- aggregate__lead
B --- aggregate__rank
B --- aggregate__ratio_to_report
click aggregate__aggregate_invocation href "aggregate_invocation.html"
click aggregate__analytic_invocation href "analytic_invocation.html"
click aggregate__count href "count.html"
click aggregate__min href "min.html"
click aggregate__max href "max.html"
click aggregate__median href "median.html"
click aggregate__sum href "sum.html"
click aggregate__avg href "avg.html"
click aggregate__stddev_pop href "stddev_pop.html"
click aggregate__stddev_samp href "stddev_samp.html"
click aggregate__var_pop href "var_pop.html"
click aggregate__var_samp href "var_samp.html"
click aggregate__first_value href "first_value.html"
click aggregate__last_value href "last_value.html"
click aggregate__lag href "lag.html"
click aggregate__lead href "lead.html"
click aggregate__rank href "rank.html"
click aggregate__ratio_to_report href "ratio_to_report.html"
Operators
Operator |
Status |
Forms |
|---|---|---|
Aggregate invocation |
🟢 |
4 |
Analytic invocation |
🟢 |
11 |
🟢 |
9 |
|
Minimum value |
🟢 |
8 |
Maximum value |
🟢 |
8 |
Median value |
🟢 |
8 |
Sum |
🟢 |
8 |
Average value |
🟢 |
8 |
Population standard deviation |
🟢 |
8 |
Sample standard deviation |
🟢 |
8 |
Population variance |
🟢 |
8 |
Sample variance |
🟢 |
8 |
First value |
🟢 |
2 |
Last value |
🟢 |
2 |
Lag |
🟢 |
4 |
Lead |
🟢 |
4 |
Rank |
🟢 |
2 |
Ratio to report |
🟢 |
2 |
Types
Operator |
number |
integer |
boolean |
any scalar |
any type |
|---|---|---|---|---|---|
in |
out |
||||
in |
out |
||||
out |
in |
in |
|||
in |
in |
out |
|||
in |
in |
out |
|||
in · out |
in |
||||
in · out |
in |
||||
in · out |
in |
||||
in · out |
in |
||||
in · out |
in |
||||
in · out |
in |
||||
in · out |
in |
||||
in |
out |
||||
in |
out |
||||
in |
in |
out |
|||
in |
in |
out |
|||
out |
in |
||||
in · out |
Forms that are not green
Every form is 🟢 or 🛡️.