@gooddata/sdk-maql-language-server 0.0.0-stage → 11.65.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -0
- package/README.md +118 -2
- package/esm/completions/complete.d.ts +12 -0
- package/esm/completions/complete.d.ts.map +1 -0
- package/esm/completions/complete.js +316 -0
- package/esm/completions/descriptions.d.ts +42 -0
- package/esm/completions/descriptions.d.ts.map +1 -0
- package/esm/completions/descriptions.js +290 -0
- package/esm/completions/findContext.d.ts +19 -0
- package/esm/completions/findContext.d.ts.map +1 -0
- package/esm/completions/findContext.js +172 -0
- package/esm/completions/functionDescriptions.d.ts +3 -0
- package/esm/completions/functionDescriptions.d.ts.map +1 -0
- package/esm/completions/functionDescriptions.js +99 -0
- package/esm/completions/sort.d.ts +4 -0
- package/esm/completions/sort.d.ts.map +1 -0
- package/esm/completions/sort.js +88 -0
- package/esm/constants.d.ts +21 -0
- package/esm/constants.d.ts.map +1 -0
- package/esm/constants.js +22 -0
- package/esm/dateElementFormat.d.ts +9 -0
- package/esm/dateElementFormat.d.ts.map +1 -0
- package/esm/dateElementFormat.js +60 -0
- package/esm/decorations.d.ts +39 -0
- package/esm/decorations.d.ts.map +1 -0
- package/esm/decorations.js +42 -0
- package/esm/diagnostics.d.ts +12 -0
- package/esm/diagnostics.d.ts.map +1 -0
- package/esm/diagnostics.js +260 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.js +61 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/avg.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/avg.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/avg.js +19 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/count.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/count.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/count.js +72 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/first.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/first.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/first.js +41 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/last.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/last.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/last.js +69 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/max.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/max.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/max.js +61 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/median.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/median.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/median.js +25 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/min.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/min.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/min.js +63 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/sum.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/sum.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/aggregation/sum.js +20 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/case.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/case.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/case.js +73 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/if-then-else.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/if-then-else.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/if-then-else.js +29 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/ifnull.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/ifnull.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/conditionals/ifnull.js +96 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-ranking-filters.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-ranking-filters.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-ranking-filters.js +71 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-having-clause.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-having-clause.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-having-clause.js +65 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-like-clause.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-like-clause.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-like-clause.js +36 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-where-clause.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-where-clause.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/filtering-with-the-where-clause.js +36 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions-except-for-attribute.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions-except-for-attribute.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions-except-for-attribute.js +21 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all-in-all-other-dimensions.js +27 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-all.js +64 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-attribute-all-in-all-other-dimensions.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-attribute-all-in-all-other-dimensions.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by-attribute-all-in-all-other-dimensions.js +22 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-attribute-filters/by.js +85 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-except.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-except.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-except.js +37 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-filter.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-filter.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-filter.js +42 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-except.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-except.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-except.js +94 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-filter.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-filter.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-filter.js +33 -0
- package/esm/docs/en/docs/create-metrics/maql/for-each.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/for-each.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/for-each.js +17 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/and.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/and.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/and.js +37 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/not.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/not.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/not.js +12 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/or.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/or.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/logical-operators/or.js +22 -0
- package/esm/docs/en/docs/create-metrics/maql/maql-and-multidimensionality.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/maql-and-multidimensionality.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/maql-and-multidimensionality.js +59 -0
- package/esm/docs/en/docs/create-metrics/maql/math/abs.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/abs.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/abs.js +23 -0
- package/esm/docs/en/docs/create-metrics/maql/math/arithmetic-operations.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/arithmetic-operations.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/arithmetic-operations.js +29 -0
- package/esm/docs/en/docs/create-metrics/maql/math/ceiling.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/ceiling.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/ceiling.js +21 -0
- package/esm/docs/en/docs/create-metrics/maql/math/exp.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/exp.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/exp.js +27 -0
- package/esm/docs/en/docs/create-metrics/maql/math/floor.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/floor.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/floor.js +21 -0
- package/esm/docs/en/docs/create-metrics/maql/math/greatest.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/greatest.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/greatest.js +13 -0
- package/esm/docs/en/docs/create-metrics/maql/math/least.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/least.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/least.js +13 -0
- package/esm/docs/en/docs/create-metrics/maql/math/ln.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/ln.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/ln.js +33 -0
- package/esm/docs/en/docs/create-metrics/maql/math/log.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/log.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/log.js +29 -0
- package/esm/docs/en/docs/create-metrics/maql/math/power.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/power.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/power.js +33 -0
- package/esm/docs/en/docs/create-metrics/maql/math/round.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/round.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/round.js +34 -0
- package/esm/docs/en/docs/create-metrics/maql/math/sign.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/sign.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/sign.js +30 -0
- package/esm/docs/en/docs/create-metrics/maql/math/sqrt.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/sqrt.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/sqrt.js +32 -0
- package/esm/docs/en/docs/create-metrics/maql/math/trunc.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/math/trunc.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/math/trunc.js +36 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/percentile.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/percentile.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/percentile.js +57 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/rank-variations.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/rank-variations.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/rank-variations.js +90 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-in.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-in.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-in.js +53 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-of.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-of.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/where-top-or-bottom-of.js +29 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/within-clause.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/within-clause.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/ranking/within-clause.js +101 -0
- package/esm/docs/en/docs/create-metrics/maql/relational-operators.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/relational-operators.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/relational-operators.js +50 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/rolling-window.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/rolling-window.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/rolling-window.js +71 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/running-total-statistical-functions.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/running-total-statistical-functions.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/running-total-statistical-functions.js +54 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/running-totals-for-core-functions.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/running-totals-for-core-functions.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/runing-totals/running-totals-for-core-functions.js +37 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/correl.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/correl.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/correl.js +47 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/covariance-functions.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/covariance-functions.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/covariance-functions.js +46 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/forecast.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/forecast.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/forecast.js +74 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/least-squares-functions.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/least-squares-functions.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/least-squares-functions.js +44 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/standard-deviation-functions.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/standard-deviation-functions.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/standard-deviation-functions.js +88 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/variance-functions.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/variance-functions.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/statistic/variance-functions.js +54 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-each.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-each.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-each.js +96 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-next-period.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-next-period.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-next-period.js +38 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-next.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-next.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-next.js +27 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-previous-period.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-previous-period.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-previous-period.js +26 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-previous.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-previous.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time/for-previous.js +30 -0
- package/esm/docs/en/docs/create-metrics/maql/time/functions-for-referring-to-past-time-periods.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time/functions-for-referring-to-past-time-periods.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time/functions-for-referring-to-past-time-periods.js +36 -0
- package/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-add.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-add.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-add.js +53 -0
- package/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-diff.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-diff.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time-arithmetics/datetime-diff.js +55 -0
- package/esm/docs/en/docs/create-metrics/maql/time-macros.d.ts +2 -0
- package/esm/docs/en/docs/create-metrics/maql/time-macros.d.ts.map +1 -0
- package/esm/docs/en/docs/create-metrics/maql/time-macros.js +79 -0
- package/esm/docs/index.d.ts +77 -0
- package/esm/docs/index.d.ts.map +1 -0
- package/esm/docs/index.js +141 -0
- package/esm/findObjects.d.ts +13 -0
- package/esm/findObjects.d.ts.map +1 -0
- package/esm/findObjects.js +72 -0
- package/esm/format.d.ts +4 -0
- package/esm/format.d.ts.map +1 -0
- package/esm/format.js +581 -0
- package/esm/highlight/convert.d.ts +3 -0
- package/esm/highlight/convert.d.ts.map +1 -0
- package/esm/highlight/convert.js +12 -0
- package/esm/highlight/semanticsHighlight.d.ts +29 -0
- package/esm/highlight/semanticsHighlight.d.ts.map +1 -0
- package/esm/highlight/semanticsHighlight.js +326 -0
- package/esm/highlight/utils.d.ts +3 -0
- package/esm/highlight/utils.d.ts.map +1 -0
- package/esm/highlight/utils.js +14 -0
- package/esm/hover.d.ts +17 -0
- package/esm/hover.d.ts.map +1 -0
- package/esm/hover.js +60 -0
- package/esm/index.d.ts +9 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +7 -0
- package/esm/labelElements.d.ts +22 -0
- package/esm/labelElements.d.ts.map +1 -0
- package/esm/labelElements.js +225 -0
- package/esm/maqlLanguageService.d.ts +51 -0
- package/esm/maqlLanguageService.d.ts.map +1 -0
- package/esm/maqlLanguageService.js +102 -0
- package/esm/maqlObjectTypes.d.ts +15 -0
- package/esm/maqlObjectTypes.d.ts.map +1 -0
- package/esm/maqlObjectTypes.js +28 -0
- package/esm/maqlServer.d.ts +4 -0
- package/esm/maqlServer.d.ts.map +1 -0
- package/esm/maqlServer.js +78 -0
- package/esm/metadata/model.d.ts +116 -0
- package/esm/metadata/model.d.ts.map +1 -0
- package/esm/metadata/model.js +137 -0
- package/esm/metadata/parameters.d.ts +16 -0
- package/esm/metadata/parameters.d.ts.map +1 -0
- package/esm/metadata/parameters.js +38 -0
- package/esm/metadata/types.d.ts +14 -0
- package/esm/metadata/types.d.ts.map +1 -0
- package/esm/metadata/types.js +2 -0
- package/esm/metadataService.d.ts +50 -0
- package/esm/metadataService.d.ts.map +1 -0
- package/esm/metadataService.js +156 -0
- package/esm/node/main.d.ts +2 -0
- package/esm/node/main.d.ts.map +1 -0
- package/esm/node/main.js +18 -0
- package/esm/parameterConstraints.d.ts +5 -0
- package/esm/parameterConstraints.d.ts.map +1 -0
- package/esm/parameterConstraints.js +198 -0
- package/esm/parseMaql.d.ts +43 -0
- package/esm/parseMaql.d.ts.map +1 -0
- package/esm/parseMaql.js +97 -0
- package/esm/renderParameters.d.ts +33 -0
- package/esm/renderParameters.d.ts.map +1 -0
- package/esm/renderParameters.js +72 -0
- package/esm/tests/metadata.test.helpers.d.ts +8 -0
- package/esm/tests/metadata.test.helpers.d.ts.map +1 -0
- package/esm/tests/metadata.test.helpers.js +468 -0
- package/esm/tokenRanges.d.ts +36 -0
- package/esm/tokenRanges.d.ts.map +1 -0
- package/esm/tokenRanges.js +54 -0
- package/esm/types/hierarchy.d.ts +37 -0
- package/esm/types/hierarchy.d.ts.map +1 -0
- package/esm/types/hierarchy.js +165 -0
- package/esm/types/signatures.d.ts +40 -0
- package/esm/types/signatures.d.ts.map +1 -0
- package/esm/types/signatures.js +142 -0
- package/esm/types/typeChecking.d.ts +56 -0
- package/esm/types/typeChecking.d.ts.map +1 -0
- package/esm/types/typeChecking.js +296 -0
- package/esm/types/typeModel.d.ts +18 -0
- package/esm/types/typeModel.d.ts.map +1 -0
- package/esm/types/typeModel.js +84 -0
- package/package.json +89 -3
package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-except.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-parent-except.d.ts","sourceRoot":"","sources":["../../../../../../../../src/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-except.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,k0CAmCb,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `Includes all parent filters, except for any filters specified as a
|
|
3
|
+
comma-separated list of attributes.
|
|
4
|
+
|
|
5
|
+
This clause can be shortened to WITH PF EXCEPT.
|
|
6
|
+
|
|
7
|
+
In EXCEPT clauses, multiple attributes can be specified as a series of
|
|
8
|
+
comma-separated values.
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
In the table below, you can see how the WITH PARENT
|
|
13
|
+
FILTER EXCEPT keyword affects the filtered version of the visualization.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
| Definition | Visualization Filter | Metric Value |
|
|
17
|
+
|--------------------------|--------------------------|--------------|
|
|
18
|
+
| \`SELECT M1\` | (none) | 500 |
|
|
19
|
+
| \`SELECT M1\` | F1: Group = X | 350 |
|
|
20
|
+
| \`SELECT M1\` | F1: Group = X; F2: Priority is Y | 250 |
|
|
21
|
+
| \`SELECT M1 WITH PARENT FILTER EXCEPT {attribute/priority}\` | F1: Group = X; F2: Priority is Y | 350 |
|
|
22
|
+
|
|
23
|
+
In the above example in the fourth row, the
|
|
24
|
+
WITH PARENT FILTER EXCEPT includes all parent filters in the metric,
|
|
25
|
+
except for one: Priority. So, in this case, the Priority filter is not
|
|
26
|
+
applied to the metric. The generated metric value equates to the value
|
|
27
|
+
generated in the version in the second row.
|
|
28
|
+
|
|
29
|
+
## Syntax
|
|
30
|
+
|
|
31
|
+
\`\`\`
|
|
32
|
+
SELECT ... WITH PARENT FILTER EXCEPT Attribute1,...
|
|
33
|
+
\`\`\`
|
|
34
|
+
|
|
35
|
+
\`\`\`
|
|
36
|
+
SELECT ... WITH PF EXCEPT Attribute1,...
|
|
37
|
+
\`\`\``;
|
package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-filter.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "Applies all parent filters to the metric. All parent filters specified\nin visualizations, dashboards, and any metrics in which this metric is nested\nare applied to the calculation.\n\nThis clause can be shortened to WITH PF.\n\nThe WITH PARENT keyword is applied by default when other visualization filters\nare not present.\n\n## Example\n\nIn the table below, you can see how the WITH PARENT FILTER clause\naffects the filtered version of the visualization.\n\n\n| Definition | Visualization Filter | Metric Value |\n|-----------------------------------|-----------------|--------------|\n| `SELECT M1` | (none) | 500 |\n| `SELECT M1` | F1: Group = X | 350 |\n| `SELECT (SELECT M1 WITH PARENT FILTER) WHERE Group = Y` | F1: Group = X | null |\n\nIn the third row above, the definition includes a nested metric in which\nparent filters are forced to be included from inside the nested metric.\n\n- In the parent metric is the filter Group = Y.\n- At the visualization level, the filter is Group = X.\n- The WITH PARENT FILTER keyword means that all parent filters are\n applied to the metric. During evaluation, both Group = X and Group =\n Y are applied to the data as a logical AND. Since a data element may\n be associated with a single attribute value, there are no data\n elements that match both filters, and the result set is null.\n\n## Syntax\n\n```\nSELECT ... WITH PARENT FILTER\n```\n\n```\nSELECT ... WITH PF\n```";
|
|
2
|
+
//# sourceMappingURL=with-parent-filter.d.ts.map
|
package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-filter.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-parent-filter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/docs/en/docs/create-metrics/maql/filters/overriding-parent/with-parent-filter.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,+hDAwCb,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `Applies all parent filters to the metric. All parent filters specified
|
|
3
|
+
in visualizations, dashboards, and any metrics in which this metric is nested
|
|
4
|
+
are applied to the calculation.
|
|
5
|
+
|
|
6
|
+
This clause can be shortened to WITH PF.
|
|
7
|
+
|
|
8
|
+
The WITH PARENT keyword is applied by default when other visualization filters
|
|
9
|
+
are not present.
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
In the table below, you can see how the WITH PARENT FILTER clause
|
|
14
|
+
affects the filtered version of the visualization.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
| Definition | Visualization Filter | Metric Value |
|
|
18
|
+
|-----------------------------------|-----------------|--------------|
|
|
19
|
+
| \`SELECT M1\` | (none) | 500 |
|
|
20
|
+
| \`SELECT M1\` | F1: Group = X | 350 |
|
|
21
|
+
| \`SELECT (SELECT M1 WITH PARENT FILTER) WHERE Group = Y\` | F1: Group = X | null |
|
|
22
|
+
|
|
23
|
+
In the third row above, the definition includes a nested metric in which
|
|
24
|
+
parent filters are forced to be included from inside the nested metric.
|
|
25
|
+
|
|
26
|
+
- In the parent metric is the filter Group = Y.
|
|
27
|
+
- At the visualization level, the filter is Group = X.
|
|
28
|
+
- The WITH PARENT FILTER keyword means that all parent filters are
|
|
29
|
+
applied to the metric. During evaluation, both Group = X and Group =
|
|
30
|
+
Y are applied to the data as a logical AND. Since a data element may
|
|
31
|
+
be associated with a single attribute value, there are no data
|
|
32
|
+
elements that match both filters, and the result set is null.
|
|
33
|
+
|
|
34
|
+
## Syntax
|
|
35
|
+
|
|
36
|
+
\`\`\`
|
|
37
|
+
SELECT ... WITH PARENT FILTER
|
|
38
|
+
\`\`\`
|
|
39
|
+
|
|
40
|
+
\`\`\`
|
|
41
|
+
SELECT ... WITH PF
|
|
42
|
+
\`\`\``;
|
package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-except.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "Remove parent filters, except for any filters specified as a comma-separated list of attributes.\n\nThis clause can be shortened to WITHOUT PF EXCEPT.\n\nIn EXCEPT clauses, multiple attributes may be specified as a series of\ncomma-separated values.\n\nExcepted attribute filters are applied to the specified attribute and to\nall attributes of coarser granularity in the hierarchy. For example, in\nthe hierarchy State-County-City, the values of the attribute City do not\ngroup the values of County, but County groups City because County has coarser granularity than City. So, if City is excepted, County and State\nare excepted too. If you apply the exception to the State attribute, it\nis the only attribute filter that is excepted.\n\n## Syntax\n\n```\nSELECT ... WITHOUT PARENT FILTER EXCEPT Attribute1,...\n```\n\n```\nSELECT ... WITHOUT PF EXCEPT Attribute1,...\n```\n\n## Example 1\n\nIn the table below, you can see how the WITHOUT PARENT FILTER EXCEPT\nkeyword works with the State-County-City hierarchy.\n\n\n| Definition | visualization Filter | Metric Value |\n|-------------------------------------|------------------|--------------|\n| `SELECT M1` | (none) | 1000 |\n| `SELECT M1` | F1: County = X | 600 |\n| `SELECT M1 WITHOUT PF` | F1: County = X | 1000 |\n| `SELECT M1 WITHOUT PF EXCEPT City` | F1: County = X | 600 |\n| `SELECT M1 WITHOUT PF EXCEPT State` | F1: County = X | 1000 |\n| `SELECT M1 WITHOUT PF EXCEPT State` | F1: State = Y | 550 |\n\n\n- In the above example in the third row, the WITHOUT PARENT FILTER\n removes all parent filters from the metric, so COUNTY = X is not\n applied. The returned results match the unfiltered version of the\n metric in the first row.\n- In the fourth row, City is excepted. Since County has a coarser grain than City, the parent visualization filter (County = X) is applied.\n- In the fifth row, the excepted filter is State. However, the visualization\n filter is at the County attribute level, which is finer than State.\n Therefore, the filter is not applied, and the results match the\n unfiltered version in the first row.\n- In the fifth row, the excepted filter is State, which matches the\n visualization filter. So, the results are filtered.\n\n## Example 2\n\nIn the table below, you can see how the WITHOUT PARENT\nFILTER EXCEPT keyword affects the filtered version of the visualization.\n\n\n| Definition | Visualization Filter | Metric Value |\n|--------------------------|--------------------------|--------------|\n| `SELECT M1` | (none) | 500 |\n| `SELECT M1` | F1: Group = X | 350 |\n| `SELECT M1` | F1: Group = | 250 |\n| | X; F2: Priority is Y | |\n| `SELECT M1 WITHOUT PARENT FILTER EXCEPT Group` | F1: Group = X; F2: Priority is Y | 350 |\n\n\nIn the above example in the fourth row, the\nWITHOUT PARENT FILTER EXCEPT removes all parent filters from the metric,\nexcept for one: Group, so the Priority filter is not applied to the\nmetric. The generated metric value equates to the value generated in the\nversion in the second row.\n\n\n## Example 3\n\n |Definition | visualization Filter|\n |---------------------------------------------------------------------------|---------------|\n |`SELECT (SELECT M1 WITHOUT PF EXCEPT Date) WHERE (SELECT M2 BY Date) > Y` | Group = X |\n\n\n- M2 is filtered by group.\n- M1 is not filtered by group, only by the numeric range filter in the\n `WHERE` part.\n\n## Example 4\n\n| Definition | Visualization Filter |\n|-----------------------------------------------------|---------------|\n| `SELECT (SELECT M1 WITHOUT PF EXCEPT Date) WHERE (SELECT M2 BY Date) > Y` | Group = X Date = Z |\n\n- M2 is filtered by group, date.\n- M1 is filtered by date and the numeric range in the `WHERE` part.";
|
|
2
|
+
//# sourceMappingURL=without-parent-except.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"without-parent-except.d.ts","sourceRoot":"","sources":["../../../../../../../../src/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-except.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,soIA4FoD,CAAC"}
|
package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-except.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `Remove parent filters, except for any filters specified as a comma-separated list of attributes.
|
|
3
|
+
|
|
4
|
+
This clause can be shortened to WITHOUT PF EXCEPT.
|
|
5
|
+
|
|
6
|
+
In EXCEPT clauses, multiple attributes may be specified as a series of
|
|
7
|
+
comma-separated values.
|
|
8
|
+
|
|
9
|
+
Excepted attribute filters are applied to the specified attribute and to
|
|
10
|
+
all attributes of coarser granularity in the hierarchy. For example, in
|
|
11
|
+
the hierarchy State-County-City, the values of the attribute City do not
|
|
12
|
+
group the values of County, but County groups City because County has coarser granularity than City. So, if City is excepted, County and State
|
|
13
|
+
are excepted too. If you apply the exception to the State attribute, it
|
|
14
|
+
is the only attribute filter that is excepted.
|
|
15
|
+
|
|
16
|
+
## Syntax
|
|
17
|
+
|
|
18
|
+
\`\`\`
|
|
19
|
+
SELECT ... WITHOUT PARENT FILTER EXCEPT Attribute1,...
|
|
20
|
+
\`\`\`
|
|
21
|
+
|
|
22
|
+
\`\`\`
|
|
23
|
+
SELECT ... WITHOUT PF EXCEPT Attribute1,...
|
|
24
|
+
\`\`\`
|
|
25
|
+
|
|
26
|
+
## Example 1
|
|
27
|
+
|
|
28
|
+
In the table below, you can see how the WITHOUT PARENT FILTER EXCEPT
|
|
29
|
+
keyword works with the State-County-City hierarchy.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
| Definition | visualization Filter | Metric Value |
|
|
33
|
+
|-------------------------------------|------------------|--------------|
|
|
34
|
+
| \`SELECT M1\` | (none) | 1000 |
|
|
35
|
+
| \`SELECT M1\` | F1: County = X | 600 |
|
|
36
|
+
| \`SELECT M1 WITHOUT PF\` | F1: County = X | 1000 |
|
|
37
|
+
| \`SELECT M1 WITHOUT PF EXCEPT City\` | F1: County = X | 600 |
|
|
38
|
+
| \`SELECT M1 WITHOUT PF EXCEPT State\` | F1: County = X | 1000 |
|
|
39
|
+
| \`SELECT M1 WITHOUT PF EXCEPT State\` | F1: State = Y | 550 |
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
- In the above example in the third row, the WITHOUT PARENT FILTER
|
|
43
|
+
removes all parent filters from the metric, so COUNTY = X is not
|
|
44
|
+
applied. The returned results match the unfiltered version of the
|
|
45
|
+
metric in the first row.
|
|
46
|
+
- In the fourth row, City is excepted. Since County has a coarser grain than City, the parent visualization filter (County = X) is applied.
|
|
47
|
+
- In the fifth row, the excepted filter is State. However, the visualization
|
|
48
|
+
filter is at the County attribute level, which is finer than State.
|
|
49
|
+
Therefore, the filter is not applied, and the results match the
|
|
50
|
+
unfiltered version in the first row.
|
|
51
|
+
- In the fifth row, the excepted filter is State, which matches the
|
|
52
|
+
visualization filter. So, the results are filtered.
|
|
53
|
+
|
|
54
|
+
## Example 2
|
|
55
|
+
|
|
56
|
+
In the table below, you can see how the WITHOUT PARENT
|
|
57
|
+
FILTER EXCEPT keyword affects the filtered version of the visualization.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
| Definition | Visualization Filter | Metric Value |
|
|
61
|
+
|--------------------------|--------------------------|--------------|
|
|
62
|
+
| \`SELECT M1\` | (none) | 500 |
|
|
63
|
+
| \`SELECT M1\` | F1: Group = X | 350 |
|
|
64
|
+
| \`SELECT M1\` | F1: Group = | 250 |
|
|
65
|
+
| | X; F2: Priority is Y | |
|
|
66
|
+
| \`SELECT M1 WITHOUT PARENT FILTER EXCEPT Group\` | F1: Group = X; F2: Priority is Y | 350 |
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
In the above example in the fourth row, the
|
|
70
|
+
WITHOUT PARENT FILTER EXCEPT removes all parent filters from the metric,
|
|
71
|
+
except for one: Group, so the Priority filter is not applied to the
|
|
72
|
+
metric. The generated metric value equates to the value generated in the
|
|
73
|
+
version in the second row.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## Example 3
|
|
77
|
+
|
|
78
|
+
|Definition | visualization Filter|
|
|
79
|
+
|---------------------------------------------------------------------------|---------------|
|
|
80
|
+
|\`SELECT (SELECT M1 WITHOUT PF EXCEPT Date) WHERE (SELECT M2 BY Date) > Y\` | Group = X |
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
- M2 is filtered by group.
|
|
84
|
+
- M1 is not filtered by group, only by the numeric range filter in the
|
|
85
|
+
\`WHERE\` part.
|
|
86
|
+
|
|
87
|
+
## Example 4
|
|
88
|
+
|
|
89
|
+
| Definition | Visualization Filter |
|
|
90
|
+
|-----------------------------------------------------|---------------|
|
|
91
|
+
| \`SELECT (SELECT M1 WITHOUT PF EXCEPT Date) WHERE (SELECT M2 BY Date) > Y\` | Group = X Date = Z |
|
|
92
|
+
|
|
93
|
+
- M2 is filtered by group, date.
|
|
94
|
+
- M1 is filtered by date and the numeric range in the \`WHERE\` part.`;
|
package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-filter.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "Removes parent filters from being applied to the metric. All parent\nfilters specified in visualization, dashboards, and any metrics in which this\nmetric is nested are ignored.\n\nThis clause can be shortened to WITHOUT PF.\n\n**Example**\n\nIn the table below, you can see how the WITHOUT PARENT FILTER clause\naffects the filtered version of the visualization.\n\n\n| Definition | Visualization Filter | Metric Value |\n|-----------------------------------|-----------------|--------------|\n| `SELECT M1` | (none) | 500 |\n| `SELECT M1` | F1: Group = X | 350 |\n| `SELECT M1 WITHOUT PARENT FILTER` | F1: Group = X | 500 |\n\n\nSince the metric in the third row removes the parent filter in the\nvisualization, the returned value matches the calculation when no visualization filter\nis applied in the first row.\n\n## Syntax\n\n```\nSELECT ... WITHOUT PARENT FILTER\n```\n\n```\nSELECT ... WITHOUT PF\n```";
|
|
2
|
+
//# sourceMappingURL=without-parent-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"without-parent-filter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-filter.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,6/BA+Bb,CAAC"}
|
package/esm/docs/en/docs/create-metrics/maql/filters/overriding-parent/without-parent-filter.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `Removes parent filters from being applied to the metric. All parent
|
|
3
|
+
filters specified in visualization, dashboards, and any metrics in which this
|
|
4
|
+
metric is nested are ignored.
|
|
5
|
+
|
|
6
|
+
This clause can be shortened to WITHOUT PF.
|
|
7
|
+
|
|
8
|
+
**Example**
|
|
9
|
+
|
|
10
|
+
In the table below, you can see how the WITHOUT PARENT FILTER clause
|
|
11
|
+
affects the filtered version of the visualization.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
| Definition | Visualization Filter | Metric Value |
|
|
15
|
+
|-----------------------------------|-----------------|--------------|
|
|
16
|
+
| \`SELECT M1\` | (none) | 500 |
|
|
17
|
+
| \`SELECT M1\` | F1: Group = X | 350 |
|
|
18
|
+
| \`SELECT M1 WITHOUT PARENT FILTER\` | F1: Group = X | 500 |
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
Since the metric in the third row removes the parent filter in the
|
|
22
|
+
visualization, the returned value matches the calculation when no visualization filter
|
|
23
|
+
is applied in the first row.
|
|
24
|
+
|
|
25
|
+
## Syntax
|
|
26
|
+
|
|
27
|
+
\`\`\`
|
|
28
|
+
SELECT ... WITHOUT PARENT FILTER
|
|
29
|
+
\`\`\`
|
|
30
|
+
|
|
31
|
+
\`\`\`
|
|
32
|
+
SELECT ... WITHOUT PF
|
|
33
|
+
\`\`\``;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# For Each\nDisplay all values for a given label. For datetime attributes continuous series of values is generated.\n\n\n### MAQL Syntax\n\n```\nSELECT \u2026 BY \u2026 FOR EACH {attribute/label}, {attribute/label}, \u2026 FOR PREVIOUS \u2026 WHERE \u2026 HAVING \u2026 USING \u2026 WITHOUT PF \u2026\n```\n\nExample:\n\n```\nSELECT SUM({fact/lineitem.l_extendedprice}) FOR EACH {attribute/o_orderdatetime.month}, {attribute/part.p_brand}\n```\n";
|
|
2
|
+
//# sourceMappingURL=for-each.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"for-each.d.ts","sourceRoot":"","sources":["../../../../../../src/docs/en/docs/create-metrics/maql/for-each.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,mcAenB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// (C) 2023-2026 GoodData Corporation
|
|
2
|
+
export const content = `# For Each
|
|
3
|
+
Display all values for a given label. For datetime attributes continuous series of values is generated.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### MAQL Syntax
|
|
7
|
+
|
|
8
|
+
\`\`\`
|
|
9
|
+
SELECT … BY … FOR EACH {attribute/label}, {attribute/label}, … FOR PREVIOUS … WHERE … HAVING … USING … WITHOUT PF …
|
|
10
|
+
\`\`\`
|
|
11
|
+
|
|
12
|
+
Example:
|
|
13
|
+
|
|
14
|
+
\`\`\`
|
|
15
|
+
SELECT SUM({fact/lineitem.l_extendedprice}) FOR EACH {attribute/o_orderdatetime.month}, {attribute/part.p_brand}
|
|
16
|
+
\`\`\`
|
|
17
|
+
`;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# AND\nAND logical operator works in the following way:\n\n- If both expressions are true (e.g. not FALSE and not NULL), then the\n result is true.\n- In all other cases, the result is false.\n\nIf you combine filters using AND, both filters are applied when\ncomputing the metric.\n\n## Examples:\n\n```\nSELECT {metric/payment} WHERE {label/date.year} = \"2006\" AND {label/date.month} = \"5\"\n```\n\nWhile OR combines filters in a way that allows more data to pass through\nvisualization computations, AND restricts, or limits, the amount of data that\nis used in computations.\n\nConsider the case where our metric has a filter that serves to include\nall data from 2006 as well as data from the first four months of 2007.\nAdding an additional AND clause onto the metric definition limits the\ndata that is used in the metric's computations because now there are\nmore conditions than before that data must meet in order to be included in computations.\n\nIn the following example, payments must come from 2006 or the first four\nmonths of 2007 to be included in metric computations. They must also be\ngreater than $10,000.\n\n```\nSELECT SUM({metric/payment}) WHERE ({label/date.year} = \"2006\" OR {label/date.month} IN (\"2007-01\", \"2007-02\", \"2007-03\", \"2007-04\")) AND {metric/payment} > 10000\n```\n\nPayment values that come from 2006 or the first four months of 2007 but\nare less than 10,000 will be excluded.";
|
|
2
|
+
//# sourceMappingURL=and.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"and.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/logical-operators/and.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,m6CAmCmB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# AND
|
|
3
|
+
AND logical operator works in the following way:
|
|
4
|
+
|
|
5
|
+
- If both expressions are true (e.g. not FALSE and not NULL), then the
|
|
6
|
+
result is true.
|
|
7
|
+
- In all other cases, the result is false.
|
|
8
|
+
|
|
9
|
+
If you combine filters using AND, both filters are applied when
|
|
10
|
+
computing the metric.
|
|
11
|
+
|
|
12
|
+
## Examples:
|
|
13
|
+
|
|
14
|
+
\`\`\`
|
|
15
|
+
SELECT {metric/payment} WHERE {label/date.year} = "2006" AND {label/date.month} = "5"
|
|
16
|
+
\`\`\`
|
|
17
|
+
|
|
18
|
+
While OR combines filters in a way that allows more data to pass through
|
|
19
|
+
visualization computations, AND restricts, or limits, the amount of data that
|
|
20
|
+
is used in computations.
|
|
21
|
+
|
|
22
|
+
Consider the case where our metric has a filter that serves to include
|
|
23
|
+
all data from 2006 as well as data from the first four months of 2007.
|
|
24
|
+
Adding an additional AND clause onto the metric definition limits the
|
|
25
|
+
data that is used in the metric's computations because now there are
|
|
26
|
+
more conditions than before that data must meet in order to be included in computations.
|
|
27
|
+
|
|
28
|
+
In the following example, payments must come from 2006 or the first four
|
|
29
|
+
months of 2007 to be included in metric computations. They must also be
|
|
30
|
+
greater than $10,000.
|
|
31
|
+
|
|
32
|
+
\`\`\`
|
|
33
|
+
SELECT SUM({metric/payment}) WHERE ({label/date.year} = "2006" OR {label/date.month} IN ("2007-01", "2007-02", "2007-03", "2007-04")) AND {metric/payment} > 10000
|
|
34
|
+
\`\`\`
|
|
35
|
+
|
|
36
|
+
Payment values that come from 2006 or the first four months of 2007 but
|
|
37
|
+
are less than 10,000 will be excluded.`;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# NOT\nNOT is a logical operator that negates the filter it precedes.\n\nIf you specify a filter and precede it with NOT, then everything that is\nspecified by the filter is excluded from the computation.\n\n**Example:**\n\n```\nSELECT {metric/profit} WHERE NOT ({label/date_ordered.year} = \"2006\" AND {label/date_ordered.month} = \"5\")\n```";
|
|
2
|
+
//# sourceMappingURL=not.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"not.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/logical-operators/not.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,6VAUb,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# NOT
|
|
3
|
+
NOT is a logical operator that negates the filter it precedes.
|
|
4
|
+
|
|
5
|
+
If you specify a filter and precede it with NOT, then everything that is
|
|
6
|
+
specified by the filter is excluded from the computation.
|
|
7
|
+
|
|
8
|
+
**Example:**
|
|
9
|
+
|
|
10
|
+
\`\`\`
|
|
11
|
+
SELECT {metric/profit} WHERE NOT ({label/date_ordered.year} = "2006" AND {label/date_ordered.month} = "5")
|
|
12
|
+
\`\`\``;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# OR\nOR logical operator works in the following way:\n\n- If either expression is true, then the result is true.\n- If both expressions are false, then the result is false.\n\n## Examples\n\nIn the following example, all metric values associated with the years 2006 and 2005 will be returned.\n\n```\nSELECT {metric/payment} WHERE {label/date_ordered.year} = \"2006\" OR {label/date_ordered.year} = \"2005\"\n```\n\n`OR` can also be used to combine two different types of filters. Consider\nthe case where you want to return the total of all payments from the\nyear 2006 and the first four months of 2007:\n\n```\nSELECT SUM({metric/payment}) WHERE {label/date_ordered.year} = \"2006\" OR {label/date_ordered.month} IN (\"2007-01\", \"2007-02\", \"2007-03\", \"2007-04\")\n```";
|
|
2
|
+
//# sourceMappingURL=or.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"or.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/logical-operators/or.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,kxBAoBb,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# OR
|
|
3
|
+
OR logical operator works in the following way:
|
|
4
|
+
|
|
5
|
+
- If either expression is true, then the result is true.
|
|
6
|
+
- If both expressions are false, then the result is false.
|
|
7
|
+
|
|
8
|
+
## Examples
|
|
9
|
+
|
|
10
|
+
In the following example, all metric values associated with the years 2006 and 2005 will be returned.
|
|
11
|
+
|
|
12
|
+
\`\`\`
|
|
13
|
+
SELECT {metric/payment} WHERE {label/date_ordered.year} = "2006" OR {label/date_ordered.year} = "2005"
|
|
14
|
+
\`\`\`
|
|
15
|
+
|
|
16
|
+
\`OR\` can also be used to combine two different types of filters. Consider
|
|
17
|
+
the case where you want to return the total of all payments from the
|
|
18
|
+
year 2006 and the first four months of 2007:
|
|
19
|
+
|
|
20
|
+
\`\`\`
|
|
21
|
+
SELECT SUM({metric/payment}) WHERE {label/date_ordered.year} = "2006" OR {label/date_ordered.month} IN ("2007-01", "2007-02", "2007-03", "2007-04")
|
|
22
|
+
\`\`\``;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# MAQL and Multidimensionality\nMultidimensionality is a fundamental principle of GoodData's MAQL (Multi-Dimension Analytical Query Language).\n\nMultidimensional modeling works with the concepts of facts and dimensions meaning that MAQL metrics are context aware.\n\nMetrics are sliced by dimension context that does not need to be specified in the MAQL expressions themselves. This multidimensional capability is one of the features that sets MAQL apart from SQL.\n\n## Examples of Multidimensionality\n\nIn this section, we will use several examples to show you how MAQL works with dimensionality.\n\n### Example 1\n\nIn this example, we created a SUM metric to display *amount sold* of a particular product.\n\n```\nSELECT SUM({fact/amount})\n```\n\nYou can apply additional *dimensions* (in this case *Product* and *Year*) to this simple metric to break down the metric:\n\n\n |Metric | Dimensionality | What it returns (business meaning)|\n |-------------| ---------------- |--------------------------------------------|\n |Amount Sold |(empty) | total all-time sales (1 row)|\n |Amount Sold |Product | all-time sales for each sold product|\n |Amount Sold |Product, Year | sales for each existing year and product combination|\n\n### Example 2\n\n```\nSELECT SUM({fact/amount}) WHERE SUM({fact/amount}) > 25\n```\n\nThe dimensionality of the result and dimensionality of the filter are the same and defined by the dimensionality of the visualization.\n\n\n |Metric |Dimensionality |What it returns (business meaning)|\n |----------------- |---------------- |---------------------------------------------|\n |Amount Sold 25+ |(empty) |Total sales of everything every time (if the total is >25).|\n |Amount Sold 25+ |Product |Total sales of each product if sales for that product is >25.|\n |Amount Sold 25+ |Product, Year |Sales of each product each year if at least 25 pieces of that product were sold within that year.|\n\n### Example 3\n\n```\nSELECT SUM({fact/amount}) \n WHERE (SELECT SUM({fact/quantity}) BY {attribute/product} ALL OTHER) > 25\n```\n\nThe dimensionality of the main (result) metric is different from dimensionality of the filtering metric. The dimensionality of the filtering metric is locked to Product.\n\n\n |Metric |Dimensionality |What it returns (business meaning)|\n |----------------- |---------------- |---------------------------------------------|\n |Amount Sold 25+ |(empty) |Total sales of products with more than 25 sold items.|\n |Amount Sold 25+ | Product |Total sales of each product with more than 25 sold items.|\n |Amount Sold 25+ | Product, Year |Sales of each product and year for products with more than 25 sold items.|";
|
|
2
|
+
//# sourceMappingURL=maql-and-multidimensionality.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maql-and-multidimensionality.d.ts","sourceRoot":"","sources":["../../../../../../src/docs/en/docs/create-metrics/maql/maql-and-multidimensionality.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,mvFAyD+F,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# MAQL and Multidimensionality
|
|
3
|
+
Multidimensionality is a fundamental principle of GoodData's MAQL (Multi-Dimension Analytical Query Language).
|
|
4
|
+
|
|
5
|
+
Multidimensional modeling works with the concepts of facts and dimensions meaning that MAQL metrics are context aware.
|
|
6
|
+
|
|
7
|
+
Metrics are sliced by dimension context that does not need to be specified in the MAQL expressions themselves. This multidimensional capability is one of the features that sets MAQL apart from SQL.
|
|
8
|
+
|
|
9
|
+
## Examples of Multidimensionality
|
|
10
|
+
|
|
11
|
+
In this section, we will use several examples to show you how MAQL works with dimensionality.
|
|
12
|
+
|
|
13
|
+
### Example 1
|
|
14
|
+
|
|
15
|
+
In this example, we created a SUM metric to display *amount sold* of a particular product.
|
|
16
|
+
|
|
17
|
+
\`\`\`
|
|
18
|
+
SELECT SUM({fact/amount})
|
|
19
|
+
\`\`\`
|
|
20
|
+
|
|
21
|
+
You can apply additional *dimensions* (in this case *Product* and *Year*) to this simple metric to break down the metric:
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|Metric | Dimensionality | What it returns (business meaning)|
|
|
25
|
+
|-------------| ---------------- |--------------------------------------------|
|
|
26
|
+
|Amount Sold |(empty) | total all-time sales (1 row)|
|
|
27
|
+
|Amount Sold |Product | all-time sales for each sold product|
|
|
28
|
+
|Amount Sold |Product, Year | sales for each existing year and product combination|
|
|
29
|
+
|
|
30
|
+
### Example 2
|
|
31
|
+
|
|
32
|
+
\`\`\`
|
|
33
|
+
SELECT SUM({fact/amount}) WHERE SUM({fact/amount}) > 25
|
|
34
|
+
\`\`\`
|
|
35
|
+
|
|
36
|
+
The dimensionality of the result and dimensionality of the filter are the same and defined by the dimensionality of the visualization.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|Metric |Dimensionality |What it returns (business meaning)|
|
|
40
|
+
|----------------- |---------------- |---------------------------------------------|
|
|
41
|
+
|Amount Sold 25+ |(empty) |Total sales of everything every time (if the total is \>25).|
|
|
42
|
+
|Amount Sold 25+ |Product |Total sales of each product if sales for that product is \>25.|
|
|
43
|
+
|Amount Sold 25+ |Product, Year |Sales of each product each year if at least 25 pieces of that product were sold within that year.|
|
|
44
|
+
|
|
45
|
+
### Example 3
|
|
46
|
+
|
|
47
|
+
\`\`\`
|
|
48
|
+
SELECT SUM({fact/amount})
|
|
49
|
+
WHERE (SELECT SUM({fact/quantity}) BY {attribute/product} ALL OTHER) > 25
|
|
50
|
+
\`\`\`
|
|
51
|
+
|
|
52
|
+
The dimensionality of the main (result) metric is different from dimensionality of the filtering metric. The dimensionality of the filtering metric is locked to Product.
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|Metric |Dimensionality |What it returns (business meaning)|
|
|
56
|
+
|----------------- |---------------- |---------------------------------------------|
|
|
57
|
+
|Amount Sold 25+ |(empty) |Total sales of products with more than 25 sold items.|
|
|
58
|
+
|Amount Sold 25+ | Product |Total sales of each product with more than 25 sold items.|
|
|
59
|
+
|Amount Sold 25+ | Product, Year |Sales of each product and year for products with more than 25 sold items.|`;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# ABS\nThe absolute value function (ABS) returns an absolute value of a number\n(e.g., Revenue) as a positive number:\n\n- positive inputs will remain unchanged\n- negative inputs will be rendered positive\n\n## Syntax\n\n```\nSELECT ABS(\u2026)\nSELECT ABS(number)\nSELECT ABS(metric)\n```\n\n## Examples\n\n```\nSELECT ABS(-5) returns the value \"5\"\nSELECT ABS(10) returns the value \"10\"\nSELECT ABS(({metric/total_amount})-(SELECT {metric/total_amount} WITHOUT PF))\n```";
|
|
2
|
+
//# sourceMappingURL=abs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abs.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/math/abs.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,seAqBb,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# ABS
|
|
3
|
+
The absolute value function (ABS) returns an absolute value of a number
|
|
4
|
+
(e.g., Revenue) as a positive number:
|
|
5
|
+
|
|
6
|
+
- positive inputs will remain unchanged
|
|
7
|
+
- negative inputs will be rendered positive
|
|
8
|
+
|
|
9
|
+
## Syntax
|
|
10
|
+
|
|
11
|
+
\`\`\`
|
|
12
|
+
SELECT ABS(…)
|
|
13
|
+
SELECT ABS(number)
|
|
14
|
+
SELECT ABS(metric)
|
|
15
|
+
\`\`\`
|
|
16
|
+
|
|
17
|
+
## Examples
|
|
18
|
+
|
|
19
|
+
\`\`\`
|
|
20
|
+
SELECT ABS(-5) returns the value "5"
|
|
21
|
+
SELECT ABS(10) returns the value "10"
|
|
22
|
+
SELECT ABS(({metric/total_amount})-(SELECT {metric/total_amount} WITHOUT PF))
|
|
23
|
+
\`\`\``;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# Arithmetic Operations\nPredefined metrics can be manipulated with any basic arithmetic\noperation: addition (+), subtraction (-), multiplication (*), and\ndivision (/).\n\nBy using numerical variables, you can also add dynamic values into your arithmetic operations.\n\n## Adding, Subtracting, Multiplying, and Dividing\n\nAdd, subtract, multiply, or divide predefined metrics.\n\n## Syntax\n\n```\nSELECT metric1 + metric2\nSELECT metric1 - metric2\nSELECT metric1 * metric2\nSELECT metric1 / metric2\n```\n\n## Examples\n\n```\nSELECT {metric/expenses} + {metric/salary}\nSELECT {metric/revenue} - {metric/cost}\nSELECT {metric/profit} * 0.03\nSELECT {metric/new_revenue} / {metric/revenue_last_year}\n```";
|
|
2
|
+
//# sourceMappingURL=arithmetic-operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arithmetic-operations.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/math/arithmetic-operations.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,0sBA2Bb,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# Arithmetic Operations
|
|
3
|
+
Predefined metrics can be manipulated with any basic arithmetic
|
|
4
|
+
operation: addition (+), subtraction (-), multiplication (*), and
|
|
5
|
+
division (/).
|
|
6
|
+
|
|
7
|
+
By using numerical variables, you can also add dynamic values into your arithmetic operations.
|
|
8
|
+
|
|
9
|
+
## Adding, Subtracting, Multiplying, and Dividing
|
|
10
|
+
|
|
11
|
+
Add, subtract, multiply, or divide predefined metrics.
|
|
12
|
+
|
|
13
|
+
## Syntax
|
|
14
|
+
|
|
15
|
+
\`\`\`
|
|
16
|
+
SELECT metric1 + metric2
|
|
17
|
+
SELECT metric1 - metric2
|
|
18
|
+
SELECT metric1 * metric2
|
|
19
|
+
SELECT metric1 / metric2
|
|
20
|
+
\`\`\`
|
|
21
|
+
|
|
22
|
+
## Examples
|
|
23
|
+
|
|
24
|
+
\`\`\`
|
|
25
|
+
SELECT {metric/expenses} + {metric/salary}
|
|
26
|
+
SELECT {metric/revenue} - {metric/cost}
|
|
27
|
+
SELECT {metric/profit} * 0.03
|
|
28
|
+
SELECT {metric/new_revenue} / {metric/revenue_last_year}
|
|
29
|
+
\`\`\``;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# CEILING\nThe CEILING function rounds an input value to the nearest integer that\nis greater than it.\n\n## Syntax\n\n```\nSELECT CEILING(\u2026)\nCEILING(constant)\nCEILING(fact)\nCEILING(metric)\nCEILING(metric_expression)\n```\n\n## Examples\n\n```\nSELECT CEILING(12.2) = 13\nSELECT CEILING(12.7) = 13\n```";
|
|
2
|
+
//# sourceMappingURL=ceiling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ceiling.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/math/ceiling.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,4TAmBb,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# CEILING
|
|
3
|
+
The CEILING function rounds an input value to the nearest integer that
|
|
4
|
+
is greater than it.
|
|
5
|
+
|
|
6
|
+
## Syntax
|
|
7
|
+
|
|
8
|
+
\`\`\`
|
|
9
|
+
SELECT CEILING(…)
|
|
10
|
+
CEILING(constant)
|
|
11
|
+
CEILING(fact)
|
|
12
|
+
CEILING(metric)
|
|
13
|
+
CEILING(metric_expression)
|
|
14
|
+
\`\`\`
|
|
15
|
+
|
|
16
|
+
## Examples
|
|
17
|
+
|
|
18
|
+
\`\`\`
|
|
19
|
+
SELECT CEILING(12.2) = 13
|
|
20
|
+
SELECT CEILING(12.7) = 13
|
|
21
|
+
\`\`\``;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# EXP\nThe exponential function EXP returns *e* raised to the power of a number\n(e.g., Annual rate).\n\nAs the inverse of the LN(*n*) function, EXP(*n*) returns the value of\nthe constant e, 2.71828182845904, raised to the power of the positive\nreal number, n.\n\nEXP( ) takes as arguments any numeric data, including metrics, metrics\nexpressions, and constants.\n\n## Syntax\n\n```\nEXP(\u2026)\nEXP(number)\n```\n\n## Examples\n\n```\nSELECT EXP(10)\nSELECT EXP(1/12)\nSELECT EXP(1.5)\nSELECT EXP(SUM({fact/amount}))\n```";
|
|
2
|
+
//# sourceMappingURL=exp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exp.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/math/exp.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,mhBAyBb,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# EXP
|
|
3
|
+
The exponential function EXP returns *e* raised to the power of a number
|
|
4
|
+
(e.g., Annual rate).
|
|
5
|
+
|
|
6
|
+
As the inverse of the LN(*n*) function, EXP(*n*) returns the value of
|
|
7
|
+
the constant e, 2.71828182845904, raised to the power of the positive
|
|
8
|
+
real number, n.
|
|
9
|
+
|
|
10
|
+
EXP( ) takes as arguments any numeric data, including metrics, metrics
|
|
11
|
+
expressions, and constants.
|
|
12
|
+
|
|
13
|
+
## Syntax
|
|
14
|
+
|
|
15
|
+
\`\`\`
|
|
16
|
+
EXP(…)
|
|
17
|
+
EXP(number)
|
|
18
|
+
\`\`\`
|
|
19
|
+
|
|
20
|
+
## Examples
|
|
21
|
+
|
|
22
|
+
\`\`\`
|
|
23
|
+
SELECT EXP(10)
|
|
24
|
+
SELECT EXP(1/12)
|
|
25
|
+
SELECT EXP(1.5)
|
|
26
|
+
SELECT EXP(SUM({fact/amount}))
|
|
27
|
+
\`\`\``;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# FLOOR\nThe FLOOR function rounds an input value to the nearest integer that is\nless than it.\n\n## Syntax\n\n```\nSELECT FLOOR(\u2026)\nFLOOR(constant)\nFLOOR(fact)\nFLOOR(metric)\nFLOOR(metric_expression)\n```\n\n## Examples\n\n```\nSELECT FLOOR(12.2) = 12\nSELECT FLOOR(12.7) = 12\n```";
|
|
2
|
+
//# sourceMappingURL=floor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floor.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/math/floor.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,uSAmBb,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// (C) 2021-2026 GoodData Corporation
|
|
2
|
+
export const content = `# FLOOR
|
|
3
|
+
The FLOOR function rounds an input value to the nearest integer that is
|
|
4
|
+
less than it.
|
|
5
|
+
|
|
6
|
+
## Syntax
|
|
7
|
+
|
|
8
|
+
\`\`\`
|
|
9
|
+
SELECT FLOOR(…)
|
|
10
|
+
FLOOR(constant)
|
|
11
|
+
FLOOR(fact)
|
|
12
|
+
FLOOR(metric)
|
|
13
|
+
FLOOR(metric_expression)
|
|
14
|
+
\`\`\`
|
|
15
|
+
|
|
16
|
+
## Examples
|
|
17
|
+
|
|
18
|
+
\`\`\`
|
|
19
|
+
SELECT FLOOR(12.2) = 12
|
|
20
|
+
SELECT FLOOR(12.7) = 12
|
|
21
|
+
\`\`\``;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const content = "# GREATEST\nThe GREATEST function identifies the highest value from a selection of\nfacts or metrics within one row.\n\n## Syntax\n\n```\nSELECT GREATEST(\u2026, \u2026, \u2026)\nSELECT GREATEST(fact, fact)\nSELECT GREATEST(metric, metric)\nSELECT GREATEST(fact, metric, metric, fact)\n```";
|
|
2
|
+
//# sourceMappingURL=greatest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"greatest.d.ts","sourceRoot":"","sources":["../../../../../../../src/docs/en/docs/create-metrics/maql/math/greatest.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,sSAWb,CAAC"}
|