@malloydata/render 0.0.144-dev240503150037 → 0.0.144-dev240509111305
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/dist/index.d.ts +1 -0
- package/dist/module/index.mjs +127 -130
- package/dist/module/index.umd.js +11 -11
- package/dist/webcomponent/malloy-render.mjs +127 -130
- package/dist/webcomponent/malloy-render.umd.js +11 -11
- package/package.json +2 -2
package/dist/module/index.mjs
CHANGED
|
@@ -2481,7 +2481,7 @@ I5.fnUnicode = Khe;
|
|
|
2481
2481
|
})(mV);
|
|
2482
2482
|
Object.defineProperty(A5, "__esModule", { value: !0 });
|
|
2483
2483
|
A5.PostgresDialect = void 0;
|
|
2484
|
-
const Xhe = Kt,
|
|
2484
|
+
const Xhe = Kt, Mt = ne, XP = mV, lp = ed, Jhe = {
|
|
2485
2485
|
day_of_week: "dow",
|
|
2486
2486
|
day_of_year: "doy"
|
|
2487
2487
|
}, Zhe = {
|
|
@@ -2649,55 +2649,55 @@ $$ LANGUAGE SQL;
|
|
|
2649
2649
|
throw new Error("Not implemented Yet");
|
|
2650
2650
|
}
|
|
2651
2651
|
sqlNow() {
|
|
2652
|
-
return (0,
|
|
2652
|
+
return (0, Mt.mkExpr)`LOCALTIMESTAMP`;
|
|
2653
2653
|
}
|
|
2654
2654
|
sqlTrunc(e, n, r) {
|
|
2655
|
-
const i = r === "week", s = i ? (0,
|
|
2655
|
+
const i = r === "week", s = i ? (0, Mt.mkExpr)`${n.value} + INTERVAL '1' DAY` : n.value;
|
|
2656
2656
|
if (n.valueType === "timestamp") {
|
|
2657
2657
|
const u = (0, lp.qtz)(e);
|
|
2658
2658
|
if (u) {
|
|
2659
|
-
const a = (0,
|
|
2660
|
-
let l = (0,
|
|
2661
|
-
l = (0,
|
|
2662
|
-
const c = (0,
|
|
2663
|
-
return (0,
|
|
2659
|
+
const a = (0, Mt.mkExpr)`(${s}::TIMESTAMPTZ AT TIME ZONE '${u}')`;
|
|
2660
|
+
let l = (0, Mt.mkExpr)`DATE_TRUNC('${r}', ${a})`;
|
|
2661
|
+
l = (0, Mt.mkExpr)`${l}::TIMESTAMP`;
|
|
2662
|
+
const c = (0, Mt.mkExpr)`${l} AT TIME ZONE '${u}'`;
|
|
2663
|
+
return (0, Mt.mkExpr)`(${c})::TIMESTAMP`;
|
|
2664
2664
|
}
|
|
2665
2665
|
}
|
|
2666
|
-
let o = (0,
|
|
2667
|
-
return i && (o = (0,
|
|
2666
|
+
let o = (0, Mt.mkExpr)`DATE_TRUNC('${r}', ${s})`;
|
|
2667
|
+
return i && (o = (0, Mt.mkExpr)`(${o} - INTERVAL '1' DAY)`), o;
|
|
2668
2668
|
}
|
|
2669
2669
|
sqlExtract(e, n, r) {
|
|
2670
2670
|
const i = Jhe[r] || r;
|
|
2671
2671
|
let s = n.value;
|
|
2672
2672
|
if (n.valueType === "timestamp") {
|
|
2673
2673
|
const u = (0, lp.qtz)(e);
|
|
2674
|
-
u && (s = (0,
|
|
2674
|
+
u && (s = (0, Mt.mkExpr)`(${s}::TIMESTAMPTZ AT TIME ZONE '${u}')`);
|
|
2675
2675
|
}
|
|
2676
|
-
const o = (0,
|
|
2677
|
-
return r === "day_of_week" ? (0,
|
|
2676
|
+
const o = (0, Mt.mkExpr)`EXTRACT(${i} FROM ${s})`;
|
|
2677
|
+
return r === "day_of_week" ? (0, Mt.mkExpr)`(${o}+1)` : o;
|
|
2678
2678
|
}
|
|
2679
2679
|
sqlAlterTime(e, n, r, i) {
|
|
2680
|
-
i === "quarter" && (i = "month", r = (0,
|
|
2681
|
-
const s = (0,
|
|
2682
|
-
return (0,
|
|
2680
|
+
i === "quarter" && (i = "month", r = (0, Mt.mkExpr)`${r}*3`);
|
|
2681
|
+
const s = (0, Mt.mkExpr)`make_interval(${Zhe[i]}=>${r})`;
|
|
2682
|
+
return (0, Mt.mkExpr)`((${n.value})${e}${s})`;
|
|
2683
2683
|
}
|
|
2684
2684
|
sqlCast(e, n) {
|
|
2685
2685
|
const r = `${n.srcType}::${n.dstType}`, i = (0, lp.qtz)(e);
|
|
2686
2686
|
if (r === "timestamp::date" && i) {
|
|
2687
|
-
const s = (0,
|
|
2688
|
-
return (0,
|
|
2687
|
+
const s = (0, Mt.mkExpr)`${n.expr}::TIMESTAMPTZ`;
|
|
2688
|
+
return (0, Mt.mkExpr)`CAST((${s}) AT TIME ZONE '${i}' AS DATE)`;
|
|
2689
2689
|
} else if (r === "date::timestamp" && i)
|
|
2690
|
-
return (0,
|
|
2690
|
+
return (0, Mt.mkExpr)`CAST((${n.expr})::TIMESTAMP AT TIME ZONE '${i}' AS TIMESTAMP)`;
|
|
2691
2691
|
if (n.srcType !== n.dstType) {
|
|
2692
2692
|
const s = typeof n.dstType == "string" ? this.malloyTypeToSQLType({ type: n.dstType }) : n.dstType.raw;
|
|
2693
2693
|
if (n.safe)
|
|
2694
2694
|
throw new Error("Postgres dialect doesn't support Safe Cast");
|
|
2695
|
-
return (0,
|
|
2695
|
+
return (0, Mt.mkExpr)`${"CAST"}(${n.expr} AS ${s})`;
|
|
2696
2696
|
}
|
|
2697
2697
|
return n.expr;
|
|
2698
2698
|
}
|
|
2699
2699
|
sqlRegexpMatch(e, n) {
|
|
2700
|
-
return (0,
|
|
2700
|
+
return (0, Mt.mkExpr)`(${e} ~ ${n})`;
|
|
2701
2701
|
}
|
|
2702
2702
|
sqlLiteralTime(e, n, r, i) {
|
|
2703
2703
|
if (r === "date")
|
|
@@ -2708,9 +2708,9 @@ $$ LANGUAGE SQL;
|
|
|
2708
2708
|
sqlMeasureTime(e, n, r) {
|
|
2709
2709
|
let i = e.value, s = n.value;
|
|
2710
2710
|
if (JP[r]) {
|
|
2711
|
-
i = (0,
|
|
2712
|
-
const o = (0,
|
|
2713
|
-
return r === "second" ? (0,
|
|
2711
|
+
i = (0, Mt.mkExpr)`EXTRACT(EPOCH FROM ${i})`, s = (0, Mt.mkExpr)`EXTRACT(EPOCH FROM ${s})`;
|
|
2712
|
+
const o = (0, Mt.mkExpr)`${s}-${i}`;
|
|
2713
|
+
return r === "second" ? (0, Mt.mkExpr)`FLOOR(${o})` : (0, Mt.mkExpr)`FLOOR((${o})/${JP[r].toString()}.0)`;
|
|
2714
2714
|
}
|
|
2715
2715
|
throw new Error(`Unknown or unhandled postgres time unit: ${r}`);
|
|
2716
2716
|
}
|
|
@@ -2735,9 +2735,9 @@ $$ LANGUAGE SQL;
|
|
|
2735
2735
|
}
|
|
2736
2736
|
sqlSampleTable(e, n) {
|
|
2737
2737
|
if (n !== void 0) {
|
|
2738
|
-
if ((0,
|
|
2738
|
+
if ((0, Mt.isSamplingEnable)(n) && n.enable && (n = this.defaultSampling), (0, Mt.isSamplingRows)(n))
|
|
2739
2739
|
return `(SELECT * FROM ${e} TABLESAMPLE SYSTEM_ROWS(${n.rows}))`;
|
|
2740
|
-
if ((0,
|
|
2740
|
+
if ((0, Mt.isSamplingPercent)(n))
|
|
2741
2741
|
return `(SELECT * FROM ${e} TABLESAMPLE SYSTEM (${n.percent}))`;
|
|
2742
2742
|
}
|
|
2743
2743
|
return e;
|
|
@@ -2962,7 +2962,7 @@ Q5.fnUnicode = h2e;
|
|
|
2962
2962
|
})(AV);
|
|
2963
2963
|
Object.defineProperty($5, "__esModule", { value: !0 });
|
|
2964
2964
|
$5.DuckDBDialect = void 0;
|
|
2965
|
-
const
|
|
2965
|
+
const qt = ne, p2e = Kt, g2e = AV, Jd = ed, ZP = "-- hack: split on this", m2e = {
|
|
2966
2966
|
day_of_week: "dow",
|
|
2967
2967
|
day_of_year: "doy"
|
|
2968
2968
|
}, y2e = {
|
|
@@ -3093,56 +3093,56 @@ ${ZP}
|
|
|
3093
3093
|
}
|
|
3094
3094
|
sqlMeasureTime(e, n, r) {
|
|
3095
3095
|
let i = e.value, s = n.value;
|
|
3096
|
-
return (0, Jd.inDays)(r) || (e.valueType === "date" && (i = (0,
|
|
3096
|
+
return (0, Jd.inDays)(r) || (e.valueType === "date" && (i = (0, qt.mkExpr)`(${i})::TIMESTAMP`), n.valueType === "date" && (s = (0, qt.mkExpr)`(${s})::TIMESTAMP`)), (0, qt.mkExpr)`DATE_SUB('${r}',${i},${s})`;
|
|
3097
3097
|
}
|
|
3098
3098
|
sqlNow() {
|
|
3099
|
-
return (0,
|
|
3099
|
+
return (0, qt.mkExpr)`LOCALTIMESTAMP`;
|
|
3100
3100
|
}
|
|
3101
3101
|
sqlTrunc(e, n, r) {
|
|
3102
|
-
const i = r === "week", s = i ? (0,
|
|
3102
|
+
const i = r === "week", s = i ? (0, qt.mkExpr)`${n.value} + INTERVAL 1 DAY` : n.value;
|
|
3103
3103
|
if (n.valueType === "timestamp") {
|
|
3104
3104
|
const u = (0, Jd.qtz)(e);
|
|
3105
3105
|
if (u) {
|
|
3106
|
-
const a = (0,
|
|
3107
|
-
let l = (0,
|
|
3108
|
-
l = (0,
|
|
3109
|
-
const c = (0,
|
|
3110
|
-
return (0,
|
|
3106
|
+
const a = (0, qt.mkExpr)`(${s}::TIMESTAMPTZ AT TIME ZONE '${u}')`;
|
|
3107
|
+
let l = (0, qt.mkExpr)`DATE_TRUNC('${r}', ${a})`;
|
|
3108
|
+
l = (0, qt.mkExpr)`${l}::TIMESTAMP`;
|
|
3109
|
+
const c = (0, qt.mkExpr)`${l} AT TIME ZONE '${u}'`;
|
|
3110
|
+
return (0, qt.mkExpr)`(${c})::TIMESTAMP`;
|
|
3111
3111
|
}
|
|
3112
3112
|
}
|
|
3113
|
-
let o = (0,
|
|
3114
|
-
return i && (o = (0,
|
|
3113
|
+
let o = (0, qt.mkExpr)`DATE_TRUNC('${r}', ${s})`;
|
|
3114
|
+
return i && (o = (0, qt.mkExpr)`(${o} - INTERVAL 1 DAY)`), o;
|
|
3115
3115
|
}
|
|
3116
3116
|
sqlExtract(e, n, r) {
|
|
3117
3117
|
const i = m2e[r] || r;
|
|
3118
3118
|
let s = n.value;
|
|
3119
3119
|
if (n.valueType === "timestamp") {
|
|
3120
3120
|
const u = (0, Jd.qtz)(e);
|
|
3121
|
-
u && (s = (0,
|
|
3121
|
+
u && (s = (0, qt.mkExpr)`(${s}::TIMESTAMPTZ AT TIME ZONE '${u}')`);
|
|
3122
3122
|
}
|
|
3123
|
-
const o = (0,
|
|
3124
|
-
return r === "day_of_week" ? (0,
|
|
3123
|
+
const o = (0, qt.mkExpr)`EXTRACT(${i} FROM ${s})`;
|
|
3124
|
+
return r === "day_of_week" ? (0, qt.mkExpr)`(${o}+1)` : o;
|
|
3125
3125
|
}
|
|
3126
3126
|
sqlAlterTime(e, n, r, i) {
|
|
3127
|
-
i === "quarter" && (i = "month", r = (0,
|
|
3128
|
-
const s = (0,
|
|
3129
|
-
return (0,
|
|
3127
|
+
i === "quarter" && (i = "month", r = (0, qt.mkExpr)`${r}*3`), i === "week" && (i = "day", r = (0, qt.mkExpr)`${r}*7`);
|
|
3128
|
+
const s = (0, qt.mkExpr)`INTERVAL (${r}) ${i}`;
|
|
3129
|
+
return (0, qt.mkExpr)`${n.value} ${e} ${s}`;
|
|
3130
3130
|
}
|
|
3131
3131
|
sqlCast(e, n) {
|
|
3132
3132
|
const r = `${n.srcType}::${n.dstType}`, i = (0, Jd.qtz)(e);
|
|
3133
3133
|
if (r === "timestamp::date" && i) {
|
|
3134
|
-
const s = (0,
|
|
3135
|
-
return (0,
|
|
3134
|
+
const s = (0, qt.mkExpr)`${n.expr}::TIMESTAMPTZ`;
|
|
3135
|
+
return (0, qt.mkExpr)`CAST((${s}) AT TIME ZONE '${i}' AS DATE)`;
|
|
3136
3136
|
} else if (r === "date::timestamp" && i)
|
|
3137
|
-
return (0,
|
|
3137
|
+
return (0, qt.mkExpr)`CAST((${n.expr})::TIMESTAMP AT TIME ZONE '${i}' AS TIMESTAMP)`;
|
|
3138
3138
|
if (n.srcType !== n.dstType) {
|
|
3139
3139
|
const s = typeof n.dstType == "string" ? this.malloyTypeToSQLType({ type: n.dstType }) : n.dstType.raw, o = n.safe ? "TRY_CAST" : "CAST";
|
|
3140
|
-
return (0,
|
|
3140
|
+
return (0, qt.mkExpr)`${o}(${n.expr} AS ${s})`;
|
|
3141
3141
|
}
|
|
3142
3142
|
return n.expr;
|
|
3143
3143
|
}
|
|
3144
3144
|
sqlRegexpMatch(e, n) {
|
|
3145
|
-
return (0,
|
|
3145
|
+
return (0, qt.mkExpr)`REGEXP_MATCHES(${e}, ${n})`;
|
|
3146
3146
|
}
|
|
3147
3147
|
sqlLiteralTime(e, n, r, i) {
|
|
3148
3148
|
if (r === "date")
|
|
@@ -3177,9 +3177,9 @@ ${ZP}
|
|
|
3177
3177
|
// default duckdb to sampling 50K rows.
|
|
3178
3178
|
sqlSampleTable(e, n) {
|
|
3179
3179
|
if (n !== void 0) {
|
|
3180
|
-
if ((0,
|
|
3180
|
+
if ((0, qt.isSamplingEnable)(n) && n.enable && (n = this.defaultSampling), (0, qt.isSamplingRows)(n))
|
|
3181
3181
|
return `(SELECT * FROM ${e} USING SAMPLE ${n.rows})`;
|
|
3182
|
-
if ((0,
|
|
3182
|
+
if ((0, qt.isSamplingPercent)(n))
|
|
3183
3183
|
return `(SELECT * FROM ${e} USING SAMPLE ${n.percent} PERCENT (bernoulli))`;
|
|
3184
3184
|
}
|
|
3185
3185
|
return e;
|
|
@@ -3885,7 +3885,7 @@ fC.fnReverse = t1e;
|
|
|
3885
3885
|
})(bV);
|
|
3886
3886
|
Object.defineProperty(nC, "__esModule", { value: !0 });
|
|
3887
3887
|
nC.TrinoDialect = void 0;
|
|
3888
|
-
const tM = Kt,
|
|
3888
|
+
const tM = Kt, Ht = ne, n1e = bV, nM = ed;
|
|
3889
3889
|
function r1e(t) {
|
|
3890
3890
|
return [
|
|
3891
3891
|
"microsecond",
|
|
@@ -4017,7 +4017,7 @@ class o1e extends nM.Dialect {
|
|
|
4017
4017
|
dialectExpr(e, n) {
|
|
4018
4018
|
switch (n.function) {
|
|
4019
4019
|
case "div":
|
|
4020
|
-
return (0,
|
|
4020
|
+
return (0, Ht.mkExpr)`CAST(${n.numerator} AS DOUBLE)/${n.denominator}`;
|
|
4021
4021
|
}
|
|
4022
4022
|
return super.dialectExpr(e, n);
|
|
4023
4023
|
}
|
|
@@ -4109,57 +4109,54 @@ ${(0, tM.indent)(n)}
|
|
|
4109
4109
|
return '"' + e + '"';
|
|
4110
4110
|
}
|
|
4111
4111
|
sqlNow() {
|
|
4112
|
-
return (0,
|
|
4112
|
+
return (0, Ht.mkExpr)`LOCALTIMESTAMP`;
|
|
4113
4113
|
}
|
|
4114
4114
|
sqlTrunc(e, n, r) {
|
|
4115
|
-
const i = r === "week", s = i ? (0,
|
|
4115
|
+
const i = r === "week", s = i ? (0, Ht.mkExpr)`DATE_ADD('day', 1, ${n.value})` : n.value;
|
|
4116
4116
|
if (n.valueType === "timestamp") {
|
|
4117
4117
|
const u = JE(e);
|
|
4118
4118
|
if (u) {
|
|
4119
|
-
const a = (0,
|
|
4120
|
-
|
|
4121
|
-
l = (0, Pt.mkExpr)`CAST(${l}, TIMESTAMP)`;
|
|
4122
|
-
const c = (0, Pt.mkExpr)`${l} AT TIME ZONE '${u}'`;
|
|
4123
|
-
return (0, Pt.mkExpr)`CAST((${c}),TIMESTAMP)`;
|
|
4119
|
+
const a = (0, Ht.mkExpr)`AT_TIMEZONE(${s},'${u}')`, l = (0, Ht.mkExpr)`DATE_TRUNC('${r}', ${a})`;
|
|
4120
|
+
return (0, Ht.mkExpr)`AT_TIMEZONE(${l},'${u}')`;
|
|
4124
4121
|
}
|
|
4125
4122
|
}
|
|
4126
|
-
let o = (0,
|
|
4127
|
-
return i && (o = (0,
|
|
4123
|
+
let o = (0, Ht.mkExpr)`DATE_TRUNC('${r}', ${s})`;
|
|
4124
|
+
return i && (o = (0, Ht.mkExpr)`DATE_ADD('day',-1, ${o})`), o;
|
|
4128
4125
|
}
|
|
4129
4126
|
sqlExtract(e, n, r) {
|
|
4130
4127
|
const i = i1e[r] || r;
|
|
4131
4128
|
let s = n.value;
|
|
4132
4129
|
if (n.valueType === "timestamp") {
|
|
4133
4130
|
const u = JE(e);
|
|
4134
|
-
u && (s = (0,
|
|
4131
|
+
u && (s = (0, Ht.mkExpr)`at_timezone(${s},'${u}')`);
|
|
4135
4132
|
}
|
|
4136
|
-
const o = (0,
|
|
4137
|
-
return r === "day_of_week" ? (0,
|
|
4133
|
+
const o = (0, Ht.mkExpr)`EXTRACT(${i} FROM ${s})`;
|
|
4134
|
+
return r === "day_of_week" ? (0, Ht.mkExpr)`mod(${o}+1,7)` : o;
|
|
4138
4135
|
}
|
|
4139
4136
|
sqlAlterTime(e, n, r, i) {
|
|
4140
|
-
return i === "quarter" && (i = "month", r = (0,
|
|
4137
|
+
return i === "quarter" && (i = "month", r = (0, Ht.mkExpr)`${r}*3`), i === "week" && (i = "day", r = (0, Ht.mkExpr)`${r}*7`), e === "-" && (r = (0, Ht.mkExpr)`(${r})*-1`), (0, Ht.mkExpr)`DATE_ADD('${i}', ${r}, ${n.value})`;
|
|
4141
4138
|
}
|
|
4142
4139
|
sqlCast(e, n) {
|
|
4143
|
-
const r = `${n.srcType}
|
|
4144
|
-
if (r === "timestamp
|
|
4145
|
-
const s = (0,
|
|
4146
|
-
return (0,
|
|
4147
|
-
} else if (r === "date
|
|
4148
|
-
return (0,
|
|
4140
|
+
const r = `${n.srcType}=>${n.dstType}`, i = JE(e);
|
|
4141
|
+
if (r === "timestamp=>date" && i) {
|
|
4142
|
+
const s = (0, Ht.mkExpr)`CAST(${n.expr} as TIMESTAMP)`;
|
|
4143
|
+
return (0, Ht.mkExpr)`CAST((${s}) AT TIME ZONE '${i}' AS DATE)`;
|
|
4144
|
+
} else if (r === "date=>timestamp" && i)
|
|
4145
|
+
return (0, Ht.mkExpr)`CAST(CONCAT(CAST(CAST(${n.expr} AS TIMESTAMP) AS VARCHAR), ' ${i}') AS TIMESTAMP WITH TIME ZONE)`;
|
|
4149
4146
|
if (n.srcType !== n.dstType) {
|
|
4150
4147
|
const s = typeof n.dstType == "string" ? this.malloyTypeToSQLType({ type: n.dstType }) : n.dstType.raw, o = n.safe ? "TRY_CAST" : "CAST";
|
|
4151
|
-
return (0,
|
|
4148
|
+
return (0, Ht.mkExpr)`${o}(${n.expr} AS ${s})`;
|
|
4152
4149
|
}
|
|
4153
4150
|
return n.expr;
|
|
4154
4151
|
}
|
|
4155
4152
|
sqlRegexpMatch(e, n) {
|
|
4156
|
-
return (0,
|
|
4153
|
+
return (0, Ht.mkExpr)`REGEXP_LIKE(${e}, ${n})`;
|
|
4157
4154
|
}
|
|
4158
4155
|
sqlLiteralTime(e, n, r, i) {
|
|
4159
4156
|
if (r === "date")
|
|
4160
4157
|
return `DATE '${n}'`;
|
|
4161
4158
|
const s = i || JE(e);
|
|
4162
|
-
return s ? `
|
|
4159
|
+
return s ? `TIMESTAMP '${n} ${s}'` : `TIMESTAMP '${n}'`;
|
|
4163
4160
|
}
|
|
4164
4161
|
sqlMeasureTime(e, n, r) {
|
|
4165
4162
|
const i = {
|
|
@@ -4178,17 +4175,17 @@ ${(0, tM.indent)(n)}
|
|
|
4178
4175
|
throw new Error(`Measure in '${u} not implemented`);
|
|
4179
4176
|
if (e.valueType !== n.valueType)
|
|
4180
4177
|
throw new Error("Can't measure difference between different types");
|
|
4181
|
-
e.valueType === "date" && (s = (0,
|
|
4182
|
-
let l = (0,
|
|
4183
|
-
return a !== 1 && (l = (0,
|
|
4178
|
+
e.valueType === "date" && (s = (0, Ht.mkExpr)`CAST(${s} AS TIMESTAMP)`, o = (0, Ht.mkExpr)`CAST(${o} AS TIMESTAMP)`);
|
|
4179
|
+
let l = (0, Ht.mkExpr)`DATE_DIFF('${u}',${s},${o})`;
|
|
4180
|
+
return a !== 1 && (l = (0, Ht.mkExpr)`FLOOR(CAST(${l} AS DOUBLE)/${a.toString()}.0)`), l;
|
|
4184
4181
|
}
|
|
4185
4182
|
throw new Error(`Measure '${r} not implemented`);
|
|
4186
4183
|
}
|
|
4187
4184
|
sqlSampleTable(e, n) {
|
|
4188
4185
|
if (n !== void 0) {
|
|
4189
|
-
if ((0,
|
|
4186
|
+
if ((0, Ht.isSamplingEnable)(n) && n.enable && (n = this.defaultSampling), (0, Ht.isSamplingRows)(n))
|
|
4190
4187
|
throw new Error("Trino doesn't support sampling by rows only percent");
|
|
4191
|
-
if ((0,
|
|
4188
|
+
if ((0, Ht.isSamplingPercent)(n))
|
|
4192
4189
|
return `(SELECT * FROM ${e} TABLESAMPLE SYSTEM (${n.percent}))`;
|
|
4193
4190
|
}
|
|
4194
4191
|
return e;
|
|
@@ -126069,7 +126066,7 @@ function cVe(t) {
|
|
|
126069
126066
|
return [];
|
|
126070
126067
|
}
|
|
126071
126068
|
}
|
|
126072
|
-
var ja, We, Ae, ti,
|
|
126069
|
+
var ja, We, Ae, ti, Pt, iR = 1, LE = 2, Wx = 3, nf = 4, sR = 5, $d = 6, Zi = 7, IE = 8, fVe = 9;
|
|
126073
126070
|
ja = {};
|
|
126074
126071
|
ja[iR] = "Boolean";
|
|
126075
126072
|
ja[LE] = "<end>";
|
|
@@ -126442,7 +126439,7 @@ function jVe() {
|
|
|
126442
126439
|
}
|
|
126443
126440
|
function UVe() {
|
|
126444
126441
|
var t, e, n, r;
|
|
126445
|
-
return
|
|
126442
|
+
return Pt = null, Que(), t = Ae, e = MVe(), n = jVe(), r = PVe(e.value, n.value), {
|
|
126446
126443
|
literal: e.literal + n.literal,
|
|
126447
126444
|
value: r,
|
|
126448
126445
|
regex: {
|
|
@@ -126467,12 +126464,12 @@ function Wue() {
|
|
|
126467
126464
|
return $E(t) ? IVe() : t === 40 || t === 41 || t === 59 ? P7() : t === 39 || t === 34 ? kVe() : t === 46 ? il(We.charCodeAt(Ae + 1)) ? JQ() : P7() : il(t) ? JQ() : P7();
|
|
126468
126465
|
}
|
|
126469
126466
|
function is() {
|
|
126470
|
-
const t =
|
|
126471
|
-
return Ae = t.end,
|
|
126467
|
+
const t = Pt;
|
|
126468
|
+
return Ae = t.end, Pt = Wue(), Ae = t.end, t;
|
|
126472
126469
|
}
|
|
126473
126470
|
function Vue() {
|
|
126474
126471
|
const t = Ae;
|
|
126475
|
-
|
|
126472
|
+
Pt = Wue(), Ae = t;
|
|
126476
126473
|
}
|
|
126477
126474
|
function HVe(t) {
|
|
126478
126475
|
const e = new Eu(xVe);
|
|
@@ -126526,25 +126523,25 @@ function ni(t) {
|
|
|
126526
126523
|
(e.type !== Zi || e.value !== t) && uR(e);
|
|
126527
126524
|
}
|
|
126528
126525
|
function rn(t) {
|
|
126529
|
-
return
|
|
126526
|
+
return Pt.type === Zi && Pt.value === t;
|
|
126530
126527
|
}
|
|
126531
126528
|
function M7(t) {
|
|
126532
|
-
return
|
|
126529
|
+
return Pt.type === nf && Pt.value === t;
|
|
126533
126530
|
}
|
|
126534
126531
|
function VVe() {
|
|
126535
126532
|
const t = [];
|
|
126536
|
-
for (Ae =
|
|
126533
|
+
for (Ae = Pt.start, ni("["); !rn("]"); )
|
|
126537
126534
|
rn(",") ? (is(), t.push(null)) : (t.push(Vx()), rn("]") || ni(","));
|
|
126538
126535
|
return is(), HVe(t);
|
|
126539
126536
|
}
|
|
126540
126537
|
function nG() {
|
|
126541
|
-
Ae =
|
|
126538
|
+
Ae = Pt.start;
|
|
126542
126539
|
const t = is();
|
|
126543
126540
|
return t.type === IE || t.type === $d ? (t.octal && Ot(t, zue), fm(t)) : fk(t.value);
|
|
126544
126541
|
}
|
|
126545
126542
|
function YVe() {
|
|
126546
126543
|
var t, e, n, r;
|
|
126547
|
-
if (Ae =
|
|
126544
|
+
if (Ae = Pt.start, t = Pt, t.type === Wx)
|
|
126548
126545
|
return n = nG(), ni(":"), r = Vx(), tG("init", n, r);
|
|
126549
126546
|
if (t.type === LE || t.type === Zi)
|
|
126550
126547
|
uR(t);
|
|
@@ -126553,7 +126550,7 @@ function YVe() {
|
|
|
126553
126550
|
}
|
|
126554
126551
|
function KVe() {
|
|
126555
126552
|
var t = [], e, n, r, i = {}, s = String;
|
|
126556
|
-
for (Ae =
|
|
126553
|
+
for (Ae = Pt.start, ni("{"); !rn("}"); )
|
|
126557
126554
|
e = YVe(), e.key.type === Hue ? n = e.key.name : n = s(e.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? Ot({}, RVe) : i[r] = !0, t.push(e), rn("}") || ni(",");
|
|
126558
126555
|
return ni("}"), GVe(t);
|
|
126559
126556
|
}
|
|
@@ -126573,10 +126570,10 @@ function ZVe() {
|
|
|
126573
126570
|
return VVe();
|
|
126574
126571
|
if (rn("{"))
|
|
126575
126572
|
return KVe();
|
|
126576
|
-
if (t =
|
|
126573
|
+
if (t = Pt.type, Ae = Pt.start, t === Wx || JVe[Pt.value])
|
|
126577
126574
|
n = fk(is().value);
|
|
126578
126575
|
else if (t === IE || t === $d)
|
|
126579
|
-
|
|
126576
|
+
Pt.octal && Ot(Pt, zue), n = fm(is());
|
|
126580
126577
|
else {
|
|
126581
126578
|
if (t === nf)
|
|
126582
126579
|
throw new Error(A3);
|
|
@@ -126592,7 +126589,7 @@ function eYe() {
|
|
|
126592
126589
|
return ni(")"), t;
|
|
126593
126590
|
}
|
|
126594
126591
|
function tYe() {
|
|
126595
|
-
Ae =
|
|
126592
|
+
Ae = Pt.start;
|
|
126596
126593
|
const t = is();
|
|
126597
126594
|
return qVe(t) || uR(t), fk(t.value);
|
|
126598
126595
|
}
|
|
@@ -126619,13 +126616,13 @@ function iYe() {
|
|
|
126619
126616
|
}
|
|
126620
126617
|
function rG() {
|
|
126621
126618
|
const t = iYe();
|
|
126622
|
-
if (
|
|
126619
|
+
if (Pt.type === Zi && (rn("++") || rn("--")))
|
|
126623
126620
|
throw new Error(A3);
|
|
126624
126621
|
return t;
|
|
126625
126622
|
}
|
|
126626
126623
|
function Uv() {
|
|
126627
126624
|
var t, e;
|
|
126628
|
-
if (
|
|
126625
|
+
if (Pt.type !== Zi && Pt.type !== nf)
|
|
126629
126626
|
e = rG();
|
|
126630
126627
|
else {
|
|
126631
126628
|
if (rn("++") || rn("--"))
|
|
@@ -126693,12 +126690,12 @@ function iG(t) {
|
|
|
126693
126690
|
}
|
|
126694
126691
|
function sYe() {
|
|
126695
126692
|
var t, e, n, r, i, s, o, u, a, l;
|
|
126696
|
-
if (t =
|
|
126693
|
+
if (t = Pt, a = Uv(), r = Pt, i = iG(r), i === 0)
|
|
126697
126694
|
return a;
|
|
126698
|
-
for (r.prec = i, is(), e = [t,
|
|
126695
|
+
for (r.prec = i, is(), e = [t, Pt], o = Uv(), s = [a, r, o]; (i = iG(Pt)) > 0; ) {
|
|
126699
126696
|
for (; s.length > 2 && i <= s[s.length - 2].prec; )
|
|
126700
126697
|
o = s.pop(), u = s.pop().value, a = s.pop(), e.pop(), n = ZQ(u, a, o), s.push(n);
|
|
126701
|
-
r = is(), r.prec = i, s.push(r), e.push(
|
|
126698
|
+
r = is(), r.prec = i, s.push(r), e.push(Pt), n = Uv(), s.push(n);
|
|
126702
126699
|
}
|
|
126703
126700
|
for (l = s.length - 1, n = s[l], e.pop(); l > 1; )
|
|
126704
126701
|
e.pop(), n = ZQ(s[l - 1].value, s[l - 2], n), l -= 2;
|
|
@@ -126715,9 +126712,9 @@ function xk() {
|
|
|
126715
126712
|
return t;
|
|
126716
126713
|
}
|
|
126717
126714
|
function Yue(t) {
|
|
126718
|
-
We = t, Ae = 0, ti = We.length,
|
|
126715
|
+
We = t, Ae = 0, ti = We.length, Pt = null, Vue();
|
|
126719
126716
|
const e = xk();
|
|
126720
|
-
if (
|
|
126717
|
+
if (Pt.type !== LE)
|
|
126721
126718
|
throw new Error("Unexpect token after expression.");
|
|
126722
126719
|
return e;
|
|
126723
126720
|
}
|
|
@@ -128902,7 +128899,7 @@ function XJe(t, e) {
|
|
|
128902
128899
|
let r = t.update;
|
|
128903
128900
|
t.init && (r ? Se("Signals can not include both init and update expressions.") : (r = t.init, n.initonly = !0)), r && (r = fa(r, e), n.update = r.$expr, n.params = r.$params), t.on && t.on.forEach((i) => VJe(i, e, n.id));
|
|
128904
128901
|
}
|
|
128905
|
-
const
|
|
128902
|
+
const jt = (t) => (e, n, r) => xR(t, n, e || void 0, r), $ae = jt("aggregate"), JJe = jt("axisticks"), Bae = jt("bound"), Au = jt("collect"), RG = jt("compare"), ZJe = jt("datajoin"), kae = jt("encode"), eZe = jt("expression"), tZe = jt("facet"), nZe = jt("field"), rZe = jt("key"), iZe = jt("legendentries"), sZe = jt("load"), oZe = jt("mark"), uZe = jt("multiextent"), aZe = jt("multivalues"), lZe = jt("overlap"), cZe = jt("params"), Pae = jt("prefacet"), fZe = jt("projection"), xZe = jt("proxy"), dZe = jt("relay"), Mae = jt("render"), hZe = jt("scale"), kd = jt("sieve"), pZe = jt("sortitems"), jae = jt("viewlayout"), gZe = jt("values");
|
|
128906
128903
|
let mZe = 0;
|
|
128907
128904
|
const Uae = {
|
|
128908
128905
|
min: "min",
|
|
@@ -134500,7 +134497,7 @@ function Xrt(t, e, n, r) {
|
|
|
134500
134497
|
function mP(t) {
|
|
134501
134498
|
return t.map((e) => (e.on && !e.on.length && delete e.on, e));
|
|
134502
134499
|
}
|
|
134503
|
-
class
|
|
134500
|
+
class Ut {
|
|
134504
134501
|
constructor(e, n) {
|
|
134505
134502
|
this.debugName = n, this._children = [], this._parent = null, e && (this.parent = e);
|
|
134506
134503
|
}
|
|
@@ -134558,7 +134555,7 @@ class qt {
|
|
|
134558
134555
|
this._children = [], e.removeChild(this), e.parent.removeChild(e), this.parent = n, e.parent = this;
|
|
134559
134556
|
}
|
|
134560
134557
|
}
|
|
134561
|
-
class Ii extends
|
|
134558
|
+
class Ii extends Ut {
|
|
134562
134559
|
/**
|
|
134563
134560
|
* @param source The name of the source. Will change in assemble.
|
|
134564
134561
|
* @param type The type of the output node.
|
|
@@ -134608,7 +134605,7 @@ var cW = function(t, e) {
|
|
|
134608
134605
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
134609
134606
|
return n;
|
|
134610
134607
|
};
|
|
134611
|
-
class ea extends
|
|
134608
|
+
class ea extends Ut {
|
|
134612
134609
|
constructor(e, n) {
|
|
134613
134610
|
super(e), this.formula = n;
|
|
134614
134611
|
}
|
|
@@ -135785,7 +135782,7 @@ function M0e(t) {
|
|
|
135785
135782
|
r.type === "MemberExpression" && P0e(r) && n.add(W8(r).slice(1).join("."));
|
|
135786
135783
|
}), n;
|
|
135787
135784
|
}
|
|
135788
|
-
class K1 extends
|
|
135785
|
+
class K1 extends Ut {
|
|
135789
135786
|
constructor(e, n, r) {
|
|
135790
135787
|
super(e), this.model = n, this.filter = r, this.expr = n_(this.model, this.filter, this), this._dependentFields = M0e(this.expr);
|
|
135791
135788
|
}
|
|
@@ -136216,7 +136213,7 @@ function jit(t, e) {
|
|
|
136216
136213
|
function Uit(t, e) {
|
|
136217
136214
|
return t === "rect" && V4(e) ? 1 : 0;
|
|
136218
136215
|
}
|
|
136219
|
-
class H2 extends
|
|
136216
|
+
class H2 extends Ut {
|
|
136220
136217
|
constructor(e, n) {
|
|
136221
136218
|
super(e), this.transform = n, this._dependentFields = M0e(this.transform.calculate);
|
|
136222
136219
|
}
|
|
@@ -137020,7 +137017,7 @@ function _W(t, e, n) {
|
|
|
137020
137017
|
const l = Object.assign(Object.assign(Object.assign({ bin: s, field: t.field, as: [r] }, u ? { signal: u } : {}), a ? { extentSignal: a } : {}), i ? { span: i } : {});
|
|
137021
137018
|
return { key: o, binComponent: l };
|
|
137022
137019
|
}
|
|
137023
|
-
class ta extends
|
|
137020
|
+
class ta extends Ut {
|
|
137024
137021
|
constructor(e, n) {
|
|
137025
137022
|
super(e), this.bins = n;
|
|
137026
137023
|
}
|
|
@@ -137110,7 +137107,7 @@ function Dst(t, e) {
|
|
|
137110
137107
|
r in t ? t[r][s] = /* @__PURE__ */ new Set([...(n = t[r][s]) !== null && n !== void 0 ? n : [], ...i[s]]) : t[r] = { [s]: i[s] };
|
|
137111
137108
|
}
|
|
137112
137109
|
}
|
|
137113
|
-
class Xo extends
|
|
137110
|
+
class Xo extends Ut {
|
|
137114
137111
|
/**
|
|
137115
137112
|
* @param dimensions string set for dimensions
|
|
137116
137113
|
* @param measures dictionary mapping field name => dict of aggregation functions and names to use
|
|
@@ -137195,7 +137192,7 @@ class Xo extends qt {
|
|
|
137195
137192
|
};
|
|
137196
137193
|
}
|
|
137197
137194
|
}
|
|
137198
|
-
class X1 extends
|
|
137195
|
+
class X1 extends Ut {
|
|
137199
137196
|
/**
|
|
137200
137197
|
* @param model The facet model.
|
|
137201
137198
|
* @param name The name that this facet source will have.
|
|
@@ -137401,7 +137398,7 @@ function Ist(t) {
|
|
|
137401
137398
|
}
|
|
137402
137399
|
return e;
|
|
137403
137400
|
}
|
|
137404
|
-
class Jr extends
|
|
137401
|
+
class Jr extends Ut {
|
|
137405
137402
|
constructor(e, n) {
|
|
137406
137403
|
super(e), this._parse = n;
|
|
137407
137404
|
}
|
|
@@ -137477,7 +137474,7 @@ class Jr extends qt {
|
|
|
137477
137474
|
}).filter((n) => n !== null);
|
|
137478
137475
|
}
|
|
137479
137476
|
}
|
|
137480
|
-
class Sc extends
|
|
137477
|
+
class Sc extends Ut {
|
|
137481
137478
|
clone() {
|
|
137482
137479
|
return new Sc(null);
|
|
137483
137480
|
}
|
|
@@ -137497,7 +137494,7 @@ class Sc extends qt {
|
|
|
137497
137494
|
return { type: "identifier", as: R3 };
|
|
137498
137495
|
}
|
|
137499
137496
|
}
|
|
137500
|
-
class QE extends
|
|
137497
|
+
class QE extends Ut {
|
|
137501
137498
|
constructor(e, n) {
|
|
137502
137499
|
super(e), this.params = n;
|
|
137503
137500
|
}
|
|
@@ -137516,7 +137513,7 @@ class QE extends qt {
|
|
|
137516
137513
|
return Object.assign({ type: "graticule" }, this.params === !0 ? {} : this.params);
|
|
137517
137514
|
}
|
|
137518
137515
|
}
|
|
137519
|
-
class GE extends
|
|
137516
|
+
class GE extends Ut {
|
|
137520
137517
|
constructor(e, n) {
|
|
137521
137518
|
super(e), this.params = n;
|
|
137522
137519
|
}
|
|
@@ -137537,7 +137534,7 @@ class GE extends qt {
|
|
|
137537
137534
|
return Object.assign({ type: "sequence" }, this.params);
|
|
137538
137535
|
}
|
|
137539
137536
|
}
|
|
137540
|
-
class Zx extends
|
|
137537
|
+
class Zx extends Ut {
|
|
137541
137538
|
constructor(e) {
|
|
137542
137539
|
super(null), e ?? (e = { name: "source" });
|
|
137543
137540
|
let n;
|
|
@@ -137806,7 +137803,7 @@ class Gst extends jd {
|
|
|
137806
137803
|
}
|
|
137807
137804
|
}
|
|
137808
137805
|
}
|
|
137809
|
-
class Ud extends
|
|
137806
|
+
class Ud extends Ut {
|
|
137810
137807
|
constructor(e, n) {
|
|
137811
137808
|
super(e), this.transform = n;
|
|
137812
137809
|
}
|
|
@@ -137852,7 +137849,7 @@ function Wst(t) {
|
|
|
137852
137849
|
function Vst(t) {
|
|
137853
137850
|
return _e(t) && t.every((e) => je(e)) && t.length > 1;
|
|
137854
137851
|
}
|
|
137855
|
-
class Rl extends
|
|
137852
|
+
class Rl extends Ut {
|
|
137856
137853
|
constructor(e, n) {
|
|
137857
137854
|
super(e), this._stack = n;
|
|
137858
137855
|
}
|
|
@@ -137958,7 +137955,7 @@ class Rl extends qt {
|
|
|
137958
137955
|
}), e;
|
|
137959
137956
|
}
|
|
137960
137957
|
}
|
|
137961
|
-
class J1 extends
|
|
137958
|
+
class J1 extends Ut {
|
|
137962
137959
|
constructor(e, n) {
|
|
137963
137960
|
super(e), this.transform = n;
|
|
137964
137961
|
}
|
|
@@ -139220,7 +139217,7 @@ var wot = function(t, e) {
|
|
|
139220
139217
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
139221
139218
|
return n;
|
|
139222
139219
|
};
|
|
139223
|
-
class UR extends
|
|
139220
|
+
class UR extends Ut {
|
|
139224
139221
|
constructor(e, n) {
|
|
139225
139222
|
var r, i, s;
|
|
139226
139223
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -139245,7 +139242,7 @@ class UR extends qt {
|
|
|
139245
139242
|
return Object.assign({ type: "kde", field: n }, r);
|
|
139246
139243
|
}
|
|
139247
139244
|
}
|
|
139248
|
-
class D3 extends
|
|
139245
|
+
class D3 extends Ut {
|
|
139249
139246
|
constructor(e, n) {
|
|
139250
139247
|
super(e), this.filter = n;
|
|
139251
139248
|
}
|
|
@@ -139289,7 +139286,7 @@ class D3 extends qt {
|
|
|
139289
139286
|
} : null;
|
|
139290
139287
|
}
|
|
139291
139288
|
}
|
|
139292
|
-
class qR extends
|
|
139289
|
+
class qR extends Ut {
|
|
139293
139290
|
constructor(e, n) {
|
|
139294
139291
|
super(e), this.transform = n, this.transform = lt(n);
|
|
139295
139292
|
const { flatten: r, as: i = [] } = this.transform;
|
|
@@ -139319,7 +139316,7 @@ class qR extends qt {
|
|
|
139319
139316
|
};
|
|
139320
139317
|
}
|
|
139321
139318
|
}
|
|
139322
|
-
class HR extends
|
|
139319
|
+
class HR extends Ut {
|
|
139323
139320
|
constructor(e, n) {
|
|
139324
139321
|
var r, i, s;
|
|
139325
139322
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -139347,7 +139344,7 @@ class HR extends qt {
|
|
|
139347
139344
|
};
|
|
139348
139345
|
}
|
|
139349
139346
|
}
|
|
139350
|
-
class Bh extends
|
|
139347
|
+
class Bh extends Ut {
|
|
139351
139348
|
constructor(e, n, r, i) {
|
|
139352
139349
|
super(e), this.fields = n, this.geojson = r, this.signal = i;
|
|
139353
139350
|
}
|
|
@@ -139397,7 +139394,7 @@ class Bh extends qt {
|
|
|
139397
139394
|
];
|
|
139398
139395
|
}
|
|
139399
139396
|
}
|
|
139400
|
-
class F3 extends
|
|
139397
|
+
class F3 extends Ut {
|
|
139401
139398
|
constructor(e, n, r, i) {
|
|
139402
139399
|
super(e), this.projection = n, this.fields = r, this.as = i;
|
|
139403
139400
|
}
|
|
@@ -139440,7 +139437,7 @@ class F3 extends qt {
|
|
|
139440
139437
|
};
|
|
139441
139438
|
}
|
|
139442
139439
|
}
|
|
139443
|
-
class hx extends
|
|
139440
|
+
class hx extends Ut {
|
|
139444
139441
|
constructor(e, n) {
|
|
139445
139442
|
super(e), this.transform = n;
|
|
139446
139443
|
}
|
|
@@ -139497,7 +139494,7 @@ var Lot = function(t, e) {
|
|
|
139497
139494
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
139498
139495
|
return n;
|
|
139499
139496
|
};
|
|
139500
|
-
class zR extends
|
|
139497
|
+
class zR extends Ut {
|
|
139501
139498
|
constructor(e, n) {
|
|
139502
139499
|
var r, i, s;
|
|
139503
139500
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -139522,7 +139519,7 @@ class zR extends qt {
|
|
|
139522
139519
|
return Object.assign({ type: "loess", x: r, y: n }, i);
|
|
139523
139520
|
}
|
|
139524
139521
|
}
|
|
139525
|
-
class w3 extends
|
|
139522
|
+
class w3 extends Ut {
|
|
139526
139523
|
constructor(e, n, r) {
|
|
139527
139524
|
super(e), this.transform = n, this.secondary = r;
|
|
139528
139525
|
}
|
|
@@ -139582,7 +139579,7 @@ var Iot = function(t, e) {
|
|
|
139582
139579
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
139583
139580
|
return n;
|
|
139584
139581
|
};
|
|
139585
|
-
class QR extends
|
|
139582
|
+
class QR extends Ut {
|
|
139586
139583
|
constructor(e, n) {
|
|
139587
139584
|
var r, i, s;
|
|
139588
139585
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -139616,7 +139613,7 @@ var $ot = function(t, e) {
|
|
|
139616
139613
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
139617
139614
|
return n;
|
|
139618
139615
|
};
|
|
139619
|
-
class GR extends
|
|
139616
|
+
class GR extends Ut {
|
|
139620
139617
|
constructor(e, n) {
|
|
139621
139618
|
var r, i, s;
|
|
139622
139619
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -139641,7 +139638,7 @@ class GR extends qt {
|
|
|
139641
139638
|
return Object.assign({ type: "regression", x: r, y: n }, i);
|
|
139642
139639
|
}
|
|
139643
139640
|
}
|
|
139644
|
-
class WR extends
|
|
139641
|
+
class WR extends Ut {
|
|
139645
139642
|
constructor(e, n) {
|
|
139646
139643
|
super(e), this.transform = n;
|
|
139647
139644
|
}
|
|
@@ -139666,7 +139663,7 @@ class WR extends qt {
|
|
|
139666
139663
|
return Object.assign(Object.assign(Object.assign({ type: "pivot", field: e, value: n }, i !== void 0 ? { limit: i } : {}), s !== void 0 ? { op: s } : {}), r !== void 0 ? { groupby: r } : {});
|
|
139667
139664
|
}
|
|
139668
139665
|
}
|
|
139669
|
-
class VR extends
|
|
139666
|
+
class VR extends Ut {
|
|
139670
139667
|
constructor(e, n) {
|
|
139671
139668
|
super(e), this.transform = n;
|
|
139672
139669
|
}
|