@malloydata/render 0.0.144-dev240503150037 → 0.0.144-dev240503230218
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/module/index.mjs +12469 -12230
- package/dist/module/index.umd.js +245 -245
- package/dist/webcomponent/malloy-render.mjs +127 -130
- package/dist/webcomponent/malloy-render.umd.js +11 -11
- package/package.json +2 -2
|
@@ -3304,7 +3304,7 @@ kC.fnUnicode = Zxe;
|
|
|
3304
3304
|
})(FG);
|
|
3305
3305
|
Object.defineProperty(_C, "__esModule", { value: !0 });
|
|
3306
3306
|
_C.PostgresDialect = void 0;
|
|
3307
|
-
const ede = Yt,
|
|
3307
|
+
const ede = Yt, Pt = ne, EP = FG, X2 = zx, tde = {
|
|
3308
3308
|
day_of_week: "dow",
|
|
3309
3309
|
day_of_year: "doy"
|
|
3310
3310
|
}, nde = {
|
|
@@ -3472,55 +3472,55 @@ $$ LANGUAGE SQL;
|
|
|
3472
3472
|
throw new Error("Not implemented Yet");
|
|
3473
3473
|
}
|
|
3474
3474
|
sqlNow() {
|
|
3475
|
-
return (0,
|
|
3475
|
+
return (0, Pt.mkExpr)`LOCALTIMESTAMP`;
|
|
3476
3476
|
}
|
|
3477
3477
|
sqlTrunc(e, n, r) {
|
|
3478
|
-
const i = r === "week", s = i ? (0,
|
|
3478
|
+
const i = r === "week", s = i ? (0, Pt.mkExpr)`${n.value} + INTERVAL '1' DAY` : n.value;
|
|
3479
3479
|
if (n.valueType === "timestamp") {
|
|
3480
3480
|
const u = (0, X2.qtz)(e);
|
|
3481
3481
|
if (u) {
|
|
3482
|
-
const a = (0,
|
|
3483
|
-
let l = (0,
|
|
3484
|
-
l = (0,
|
|
3485
|
-
const c = (0,
|
|
3486
|
-
return (0,
|
|
3482
|
+
const a = (0, Pt.mkExpr)`(${s}::TIMESTAMPTZ AT TIME ZONE '${u}')`;
|
|
3483
|
+
let l = (0, Pt.mkExpr)`DATE_TRUNC('${r}', ${a})`;
|
|
3484
|
+
l = (0, Pt.mkExpr)`${l}::TIMESTAMP`;
|
|
3485
|
+
const c = (0, Pt.mkExpr)`${l} AT TIME ZONE '${u}'`;
|
|
3486
|
+
return (0, Pt.mkExpr)`(${c})::TIMESTAMP`;
|
|
3487
3487
|
}
|
|
3488
3488
|
}
|
|
3489
|
-
let o = (0,
|
|
3490
|
-
return i && (o = (0,
|
|
3489
|
+
let o = (0, Pt.mkExpr)`DATE_TRUNC('${r}', ${s})`;
|
|
3490
|
+
return i && (o = (0, Pt.mkExpr)`(${o} - INTERVAL '1' DAY)`), o;
|
|
3491
3491
|
}
|
|
3492
3492
|
sqlExtract(e, n, r) {
|
|
3493
3493
|
const i = tde[r] || r;
|
|
3494
3494
|
let s = n.value;
|
|
3495
3495
|
if (n.valueType === "timestamp") {
|
|
3496
3496
|
const u = (0, X2.qtz)(e);
|
|
3497
|
-
u && (s = (0,
|
|
3497
|
+
u && (s = (0, Pt.mkExpr)`(${s}::TIMESTAMPTZ AT TIME ZONE '${u}')`);
|
|
3498
3498
|
}
|
|
3499
|
-
const o = (0,
|
|
3500
|
-
return r === "day_of_week" ? (0,
|
|
3499
|
+
const o = (0, Pt.mkExpr)`EXTRACT(${i} FROM ${s})`;
|
|
3500
|
+
return r === "day_of_week" ? (0, Pt.mkExpr)`(${o}+1)` : o;
|
|
3501
3501
|
}
|
|
3502
3502
|
sqlAlterTime(e, n, r, i) {
|
|
3503
|
-
i === "quarter" && (i = "month", r = (0,
|
|
3504
|
-
const s = (0,
|
|
3505
|
-
return (0,
|
|
3503
|
+
i === "quarter" && (i = "month", r = (0, Pt.mkExpr)`${r}*3`);
|
|
3504
|
+
const s = (0, Pt.mkExpr)`make_interval(${nde[i]}=>${r})`;
|
|
3505
|
+
return (0, Pt.mkExpr)`((${n.value})${e}${s})`;
|
|
3506
3506
|
}
|
|
3507
3507
|
sqlCast(e, n) {
|
|
3508
3508
|
const r = `${n.srcType}::${n.dstType}`, i = (0, X2.qtz)(e);
|
|
3509
3509
|
if (r === "timestamp::date" && i) {
|
|
3510
|
-
const s = (0,
|
|
3511
|
-
return (0,
|
|
3510
|
+
const s = (0, Pt.mkExpr)`${n.expr}::TIMESTAMPTZ`;
|
|
3511
|
+
return (0, Pt.mkExpr)`CAST((${s}) AT TIME ZONE '${i}' AS DATE)`;
|
|
3512
3512
|
} else if (r === "date::timestamp" && i)
|
|
3513
|
-
return (0,
|
|
3513
|
+
return (0, Pt.mkExpr)`CAST((${n.expr})::TIMESTAMP AT TIME ZONE '${i}' AS TIMESTAMP)`;
|
|
3514
3514
|
if (n.srcType !== n.dstType) {
|
|
3515
3515
|
const s = typeof n.dstType == "string" ? this.malloyTypeToSQLType({ type: n.dstType }) : n.dstType.raw;
|
|
3516
3516
|
if (n.safe)
|
|
3517
3517
|
throw new Error("Postgres dialect doesn't support Safe Cast");
|
|
3518
|
-
return (0,
|
|
3518
|
+
return (0, Pt.mkExpr)`${"CAST"}(${n.expr} AS ${s})`;
|
|
3519
3519
|
}
|
|
3520
3520
|
return n.expr;
|
|
3521
3521
|
}
|
|
3522
3522
|
sqlRegexpMatch(e, n) {
|
|
3523
|
-
return (0,
|
|
3523
|
+
return (0, Pt.mkExpr)`(${e} ~ ${n})`;
|
|
3524
3524
|
}
|
|
3525
3525
|
sqlLiteralTime(e, n, r, i) {
|
|
3526
3526
|
if (r === "date")
|
|
@@ -3531,9 +3531,9 @@ $$ LANGUAGE SQL;
|
|
|
3531
3531
|
sqlMeasureTime(e, n, r) {
|
|
3532
3532
|
let i = e.value, s = n.value;
|
|
3533
3533
|
if (AP[r]) {
|
|
3534
|
-
i = (0,
|
|
3535
|
-
const o = (0,
|
|
3536
|
-
return r === "second" ? (0,
|
|
3534
|
+
i = (0, Pt.mkExpr)`EXTRACT(EPOCH FROM ${i})`, s = (0, Pt.mkExpr)`EXTRACT(EPOCH FROM ${s})`;
|
|
3535
|
+
const o = (0, Pt.mkExpr)`${s}-${i}`;
|
|
3536
|
+
return r === "second" ? (0, Pt.mkExpr)`FLOOR(${o})` : (0, Pt.mkExpr)`FLOOR((${o})/${AP[r].toString()}.0)`;
|
|
3537
3537
|
}
|
|
3538
3538
|
throw new Error(`Unknown or unhandled postgres time unit: ${r}`);
|
|
3539
3539
|
}
|
|
@@ -3558,9 +3558,9 @@ $$ LANGUAGE SQL;
|
|
|
3558
3558
|
}
|
|
3559
3559
|
sqlSampleTable(e, n) {
|
|
3560
3560
|
if (n !== void 0) {
|
|
3561
|
-
if ((0,
|
|
3561
|
+
if ((0, Pt.isSamplingEnable)(n) && n.enable && (n = this.defaultSampling), (0, Pt.isSamplingRows)(n))
|
|
3562
3562
|
return `(SELECT * FROM ${e} TABLESAMPLE SYSTEM_ROWS(${n.rows}))`;
|
|
3563
|
-
if ((0,
|
|
3563
|
+
if ((0, Pt.isSamplingPercent)(n))
|
|
3564
3564
|
return `(SELECT * FROM ${e} TABLESAMPLE SYSTEM (${n.percent}))`;
|
|
3565
3565
|
}
|
|
3566
3566
|
return e;
|
|
@@ -3785,7 +3785,7 @@ VC.fnUnicode = mde;
|
|
|
3785
3785
|
})(IG);
|
|
3786
3786
|
Object.defineProperty(PC, "__esModule", { value: !0 });
|
|
3787
3787
|
PC.DuckDBDialect = void 0;
|
|
3788
|
-
const
|
|
3788
|
+
const Ut = ne, yde = Yt, Ede = IG, qd = zx, SP = "-- hack: split on this", Ade = {
|
|
3789
3789
|
day_of_week: "dow",
|
|
3790
3790
|
day_of_year: "doy"
|
|
3791
3791
|
}, Sde = {
|
|
@@ -3916,56 +3916,56 @@ ${SP}
|
|
|
3916
3916
|
}
|
|
3917
3917
|
sqlMeasureTime(e, n, r) {
|
|
3918
3918
|
let i = e.value, s = n.value;
|
|
3919
|
-
return (0, qd.inDays)(r) || (e.valueType === "date" && (i = (0,
|
|
3919
|
+
return (0, qd.inDays)(r) || (e.valueType === "date" && (i = (0, Ut.mkExpr)`(${i})::TIMESTAMP`), n.valueType === "date" && (s = (0, Ut.mkExpr)`(${s})::TIMESTAMP`)), (0, Ut.mkExpr)`DATE_SUB('${r}',${i},${s})`;
|
|
3920
3920
|
}
|
|
3921
3921
|
sqlNow() {
|
|
3922
|
-
return (0,
|
|
3922
|
+
return (0, Ut.mkExpr)`LOCALTIMESTAMP`;
|
|
3923
3923
|
}
|
|
3924
3924
|
sqlTrunc(e, n, r) {
|
|
3925
|
-
const i = r === "week", s = i ? (0,
|
|
3925
|
+
const i = r === "week", s = i ? (0, Ut.mkExpr)`${n.value} + INTERVAL 1 DAY` : n.value;
|
|
3926
3926
|
if (n.valueType === "timestamp") {
|
|
3927
3927
|
const u = (0, qd.qtz)(e);
|
|
3928
3928
|
if (u) {
|
|
3929
|
-
const a = (0,
|
|
3930
|
-
let l = (0,
|
|
3931
|
-
l = (0,
|
|
3932
|
-
const c = (0,
|
|
3933
|
-
return (0,
|
|
3929
|
+
const a = (0, Ut.mkExpr)`(${s}::TIMESTAMPTZ AT TIME ZONE '${u}')`;
|
|
3930
|
+
let l = (0, Ut.mkExpr)`DATE_TRUNC('${r}', ${a})`;
|
|
3931
|
+
l = (0, Ut.mkExpr)`${l}::TIMESTAMP`;
|
|
3932
|
+
const c = (0, Ut.mkExpr)`${l} AT TIME ZONE '${u}'`;
|
|
3933
|
+
return (0, Ut.mkExpr)`(${c})::TIMESTAMP`;
|
|
3934
3934
|
}
|
|
3935
3935
|
}
|
|
3936
|
-
let o = (0,
|
|
3937
|
-
return i && (o = (0,
|
|
3936
|
+
let o = (0, Ut.mkExpr)`DATE_TRUNC('${r}', ${s})`;
|
|
3937
|
+
return i && (o = (0, Ut.mkExpr)`(${o} - INTERVAL 1 DAY)`), o;
|
|
3938
3938
|
}
|
|
3939
3939
|
sqlExtract(e, n, r) {
|
|
3940
3940
|
const i = Ade[r] || r;
|
|
3941
3941
|
let s = n.value;
|
|
3942
3942
|
if (n.valueType === "timestamp") {
|
|
3943
3943
|
const u = (0, qd.qtz)(e);
|
|
3944
|
-
u && (s = (0,
|
|
3944
|
+
u && (s = (0, Ut.mkExpr)`(${s}::TIMESTAMPTZ AT TIME ZONE '${u}')`);
|
|
3945
3945
|
}
|
|
3946
|
-
const o = (0,
|
|
3947
|
-
return r === "day_of_week" ? (0,
|
|
3946
|
+
const o = (0, Ut.mkExpr)`EXTRACT(${i} FROM ${s})`;
|
|
3947
|
+
return r === "day_of_week" ? (0, Ut.mkExpr)`(${o}+1)` : o;
|
|
3948
3948
|
}
|
|
3949
3949
|
sqlAlterTime(e, n, r, i) {
|
|
3950
|
-
i === "quarter" && (i = "month", r = (0,
|
|
3951
|
-
const s = (0,
|
|
3952
|
-
return (0,
|
|
3950
|
+
i === "quarter" && (i = "month", r = (0, Ut.mkExpr)`${r}*3`), i === "week" && (i = "day", r = (0, Ut.mkExpr)`${r}*7`);
|
|
3951
|
+
const s = (0, Ut.mkExpr)`INTERVAL (${r}) ${i}`;
|
|
3952
|
+
return (0, Ut.mkExpr)`${n.value} ${e} ${s}`;
|
|
3953
3953
|
}
|
|
3954
3954
|
sqlCast(e, n) {
|
|
3955
3955
|
const r = `${n.srcType}::${n.dstType}`, i = (0, qd.qtz)(e);
|
|
3956
3956
|
if (r === "timestamp::date" && i) {
|
|
3957
|
-
const s = (0,
|
|
3958
|
-
return (0,
|
|
3957
|
+
const s = (0, Ut.mkExpr)`${n.expr}::TIMESTAMPTZ`;
|
|
3958
|
+
return (0, Ut.mkExpr)`CAST((${s}) AT TIME ZONE '${i}' AS DATE)`;
|
|
3959
3959
|
} else if (r === "date::timestamp" && i)
|
|
3960
|
-
return (0,
|
|
3960
|
+
return (0, Ut.mkExpr)`CAST((${n.expr})::TIMESTAMP AT TIME ZONE '${i}' AS TIMESTAMP)`;
|
|
3961
3961
|
if (n.srcType !== n.dstType) {
|
|
3962
3962
|
const s = typeof n.dstType == "string" ? this.malloyTypeToSQLType({ type: n.dstType }) : n.dstType.raw, o = n.safe ? "TRY_CAST" : "CAST";
|
|
3963
|
-
return (0,
|
|
3963
|
+
return (0, Ut.mkExpr)`${o}(${n.expr} AS ${s})`;
|
|
3964
3964
|
}
|
|
3965
3965
|
return n.expr;
|
|
3966
3966
|
}
|
|
3967
3967
|
sqlRegexpMatch(e, n) {
|
|
3968
|
-
return (0,
|
|
3968
|
+
return (0, Ut.mkExpr)`REGEXP_MATCHES(${e}, ${n})`;
|
|
3969
3969
|
}
|
|
3970
3970
|
sqlLiteralTime(e, n, r, i) {
|
|
3971
3971
|
if (r === "date")
|
|
@@ -4000,9 +4000,9 @@ ${SP}
|
|
|
4000
4000
|
// default duckdb to sampling 50K rows.
|
|
4001
4001
|
sqlSampleTable(e, n) {
|
|
4002
4002
|
if (n !== void 0) {
|
|
4003
|
-
if ((0,
|
|
4003
|
+
if ((0, Ut.isSamplingEnable)(n) && n.enable && (n = this.defaultSampling), (0, Ut.isSamplingRows)(n))
|
|
4004
4004
|
return `(SELECT * FROM ${e} USING SAMPLE ${n.rows})`;
|
|
4005
|
-
if ((0,
|
|
4005
|
+
if ((0, Ut.isSamplingPercent)(n))
|
|
4006
4006
|
return `(SELECT * FROM ${e} USING SAMPLE ${n.percent} PERCENT (bernoulli))`;
|
|
4007
4007
|
}
|
|
4008
4008
|
return e;
|
|
@@ -4708,7 +4708,7 @@ hb.fnReverse = ihe;
|
|
|
4708
4708
|
})(MG);
|
|
4709
4709
|
Object.defineProperty(sb, "__esModule", { value: !0 });
|
|
4710
4710
|
sb.TrinoDialect = void 0;
|
|
4711
|
-
const _P = Yt,
|
|
4711
|
+
const _P = Yt, qt = ne, she = MG, CP = zx;
|
|
4712
4712
|
function ohe(t) {
|
|
4713
4713
|
return [
|
|
4714
4714
|
"microsecond",
|
|
@@ -4840,7 +4840,7 @@ class lhe extends CP.Dialect {
|
|
|
4840
4840
|
dialectExpr(e, n) {
|
|
4841
4841
|
switch (n.function) {
|
|
4842
4842
|
case "div":
|
|
4843
|
-
return (0,
|
|
4843
|
+
return (0, qt.mkExpr)`CAST(${n.numerator} AS DOUBLE)/${n.denominator}`;
|
|
4844
4844
|
}
|
|
4845
4845
|
return super.dialectExpr(e, n);
|
|
4846
4846
|
}
|
|
@@ -4932,57 +4932,54 @@ ${(0, _P.indent)(n)}
|
|
|
4932
4932
|
return '"' + e + '"';
|
|
4933
4933
|
}
|
|
4934
4934
|
sqlNow() {
|
|
4935
|
-
return (0,
|
|
4935
|
+
return (0, qt.mkExpr)`LOCALTIMESTAMP`;
|
|
4936
4936
|
}
|
|
4937
4937
|
sqlTrunc(e, n, r) {
|
|
4938
|
-
const i = r === "week", s = i ? (0,
|
|
4938
|
+
const i = r === "week", s = i ? (0, qt.mkExpr)`DATE_ADD('day', 1, ${n.value})` : n.value;
|
|
4939
4939
|
if (n.valueType === "timestamp") {
|
|
4940
4940
|
const u = $3(e);
|
|
4941
4941
|
if (u) {
|
|
4942
|
-
const a = (0,
|
|
4943
|
-
|
|
4944
|
-
l = (0, kt.mkExpr)`CAST(${l}, TIMESTAMP)`;
|
|
4945
|
-
const c = (0, kt.mkExpr)`${l} AT TIME ZONE '${u}'`;
|
|
4946
|
-
return (0, kt.mkExpr)`CAST((${c}),TIMESTAMP)`;
|
|
4942
|
+
const a = (0, qt.mkExpr)`AT_TIMEZONE(${s},'${u}')`, l = (0, qt.mkExpr)`DATE_TRUNC('${r}', ${a})`;
|
|
4943
|
+
return (0, qt.mkExpr)`AT_TIMEZONE(${l},'${u}')`;
|
|
4947
4944
|
}
|
|
4948
4945
|
}
|
|
4949
|
-
let o = (0,
|
|
4950
|
-
return i && (o = (0,
|
|
4946
|
+
let o = (0, qt.mkExpr)`DATE_TRUNC('${r}', ${s})`;
|
|
4947
|
+
return i && (o = (0, qt.mkExpr)`DATE_ADD('day',-1, ${o})`), o;
|
|
4951
4948
|
}
|
|
4952
4949
|
sqlExtract(e, n, r) {
|
|
4953
4950
|
const i = uhe[r] || r;
|
|
4954
4951
|
let s = n.value;
|
|
4955
4952
|
if (n.valueType === "timestamp") {
|
|
4956
4953
|
const u = $3(e);
|
|
4957
|
-
u && (s = (0,
|
|
4954
|
+
u && (s = (0, qt.mkExpr)`at_timezone(${s},'${u}')`);
|
|
4958
4955
|
}
|
|
4959
|
-
const o = (0,
|
|
4960
|
-
return r === "day_of_week" ? (0,
|
|
4956
|
+
const o = (0, qt.mkExpr)`EXTRACT(${i} FROM ${s})`;
|
|
4957
|
+
return r === "day_of_week" ? (0, qt.mkExpr)`mod(${o}+1,7)` : o;
|
|
4961
4958
|
}
|
|
4962
4959
|
sqlAlterTime(e, n, r, i) {
|
|
4963
|
-
return i === "quarter" && (i = "month", r = (0,
|
|
4960
|
+
return i === "quarter" && (i = "month", r = (0, qt.mkExpr)`${r}*3`), i === "week" && (i = "day", r = (0, qt.mkExpr)`${r}*7`), e === "-" && (r = (0, qt.mkExpr)`(${r})*-1`), (0, qt.mkExpr)`DATE_ADD('${i}', ${r}, ${n.value})`;
|
|
4964
4961
|
}
|
|
4965
4962
|
sqlCast(e, n) {
|
|
4966
|
-
const r = `${n.srcType}
|
|
4967
|
-
if (r === "timestamp
|
|
4968
|
-
const s = (0,
|
|
4969
|
-
return (0,
|
|
4970
|
-
} else if (r === "date
|
|
4971
|
-
return (0,
|
|
4963
|
+
const r = `${n.srcType}=>${n.dstType}`, i = $3(e);
|
|
4964
|
+
if (r === "timestamp=>date" && i) {
|
|
4965
|
+
const s = (0, qt.mkExpr)`CAST(${n.expr} as TIMESTAMP)`;
|
|
4966
|
+
return (0, qt.mkExpr)`CAST((${s}) AT TIME ZONE '${i}' AS DATE)`;
|
|
4967
|
+
} else if (r === "date=>timestamp" && i)
|
|
4968
|
+
return (0, qt.mkExpr)`CAST(CONCAT(CAST(CAST(${n.expr} AS TIMESTAMP) AS VARCHAR), ' ${i}') AS TIMESTAMP WITH TIME ZONE)`;
|
|
4972
4969
|
if (n.srcType !== n.dstType) {
|
|
4973
4970
|
const s = typeof n.dstType == "string" ? this.malloyTypeToSQLType({ type: n.dstType }) : n.dstType.raw, o = n.safe ? "TRY_CAST" : "CAST";
|
|
4974
|
-
return (0,
|
|
4971
|
+
return (0, qt.mkExpr)`${o}(${n.expr} AS ${s})`;
|
|
4975
4972
|
}
|
|
4976
4973
|
return n.expr;
|
|
4977
4974
|
}
|
|
4978
4975
|
sqlRegexpMatch(e, n) {
|
|
4979
|
-
return (0,
|
|
4976
|
+
return (0, qt.mkExpr)`REGEXP_LIKE(${e}, ${n})`;
|
|
4980
4977
|
}
|
|
4981
4978
|
sqlLiteralTime(e, n, r, i) {
|
|
4982
4979
|
if (r === "date")
|
|
4983
4980
|
return `DATE '${n}'`;
|
|
4984
4981
|
const s = i || $3(e);
|
|
4985
|
-
return s ? `
|
|
4982
|
+
return s ? `TIMESTAMP '${n} ${s}'` : `TIMESTAMP '${n}'`;
|
|
4986
4983
|
}
|
|
4987
4984
|
sqlMeasureTime(e, n, r) {
|
|
4988
4985
|
const i = {
|
|
@@ -5001,17 +4998,17 @@ ${(0, _P.indent)(n)}
|
|
|
5001
4998
|
throw new Error(`Measure in '${u} not implemented`);
|
|
5002
4999
|
if (e.valueType !== n.valueType)
|
|
5003
5000
|
throw new Error("Can't measure difference between different types");
|
|
5004
|
-
e.valueType === "date" && (s = (0,
|
|
5005
|
-
let l = (0,
|
|
5006
|
-
return a !== 1 && (l = (0,
|
|
5001
|
+
e.valueType === "date" && (s = (0, qt.mkExpr)`CAST(${s} AS TIMESTAMP)`, o = (0, qt.mkExpr)`CAST(${o} AS TIMESTAMP)`);
|
|
5002
|
+
let l = (0, qt.mkExpr)`DATE_DIFF('${u}',${s},${o})`;
|
|
5003
|
+
return a !== 1 && (l = (0, qt.mkExpr)`FLOOR(CAST(${l} AS DOUBLE)/${a.toString()}.0)`), l;
|
|
5007
5004
|
}
|
|
5008
5005
|
throw new Error(`Measure '${r} not implemented`);
|
|
5009
5006
|
}
|
|
5010
5007
|
sqlSampleTable(e, n) {
|
|
5011
5008
|
if (n !== void 0) {
|
|
5012
|
-
if ((0,
|
|
5009
|
+
if ((0, qt.isSamplingEnable)(n) && n.enable && (n = this.defaultSampling), (0, qt.isSamplingRows)(n))
|
|
5013
5010
|
throw new Error("Trino doesn't support sampling by rows only percent");
|
|
5014
|
-
if ((0,
|
|
5011
|
+
if ((0, qt.isSamplingPercent)(n))
|
|
5015
5012
|
return `(SELECT * FROM ${e} TABLESAMPLE SYSTEM (${n.percent}))`;
|
|
5016
5013
|
}
|
|
5017
5014
|
return e;
|
|
@@ -71812,7 +71809,7 @@ function kje(t) {
|
|
|
71812
71809
|
return [];
|
|
71813
71810
|
}
|
|
71814
71811
|
}
|
|
71815
|
-
var Ta, We, Ae, Xr,
|
|
71812
|
+
var Ta, We, Ae, Xr, kt, YO = 1, d3 = 2, Lx = 3, jc = 4, KO = 5, Sd = 6, Vi = 7, h3 = 8, Pje = 9;
|
|
71816
71813
|
Ta = {};
|
|
71817
71814
|
Ta[YO] = "Boolean";
|
|
71818
71815
|
Ta[d3] = "<end>";
|
|
@@ -72185,7 +72182,7 @@ function dUe() {
|
|
|
72185
72182
|
}
|
|
72186
72183
|
function hUe() {
|
|
72187
72184
|
var t, e, n, r;
|
|
72188
|
-
return
|
|
72185
|
+
return kt = null, Vie(), t = Ae, e = xUe(), n = dUe(), r = fUe(e.value, n.value), {
|
|
72189
72186
|
literal: e.literal + n.literal,
|
|
72190
72187
|
value: r,
|
|
72191
72188
|
regex: {
|
|
@@ -72210,12 +72207,12 @@ function Kie() {
|
|
|
72210
72207
|
return p3(t) ? uUe() : t === 40 || t === 41 || t === 59 ? Bw() : t === 39 || t === 34 ? cUe() : t === 46 ? Ja(We.charCodeAt(Ae + 1)) ? GH() : Bw() : Ja(t) ? GH() : Bw();
|
|
72211
72208
|
}
|
|
72212
72209
|
function Ji() {
|
|
72213
|
-
const t =
|
|
72214
|
-
return Ae = t.end,
|
|
72210
|
+
const t = kt;
|
|
72211
|
+
return Ae = t.end, kt = Kie(), Ae = t.end, t;
|
|
72215
72212
|
}
|
|
72216
72213
|
function Xie() {
|
|
72217
72214
|
const t = Ae;
|
|
72218
|
-
|
|
72215
|
+
kt = Kie(), Ae = t;
|
|
72219
72216
|
}
|
|
72220
72217
|
function gUe(t) {
|
|
72221
72218
|
const e = new lu(Mje);
|
|
@@ -72269,25 +72266,25 @@ function Jr(t) {
|
|
|
72269
72266
|
(e.type !== Vi || e.value !== t) && JO(e);
|
|
72270
72267
|
}
|
|
72271
72268
|
function en(t) {
|
|
72272
|
-
return
|
|
72269
|
+
return kt.type === Vi && kt.value === t;
|
|
72273
72270
|
}
|
|
72274
72271
|
function kw(t) {
|
|
72275
|
-
return
|
|
72272
|
+
return kt.type === jc && kt.value === t;
|
|
72276
72273
|
}
|
|
72277
72274
|
function SUe() {
|
|
72278
72275
|
const t = [];
|
|
72279
|
-
for (Ae =
|
|
72276
|
+
for (Ae = kt.start, Jr("["); !en("]"); )
|
|
72280
72277
|
en(",") ? (Ji(), t.push(null)) : (t.push(Ix()), en("]") || Jr(","));
|
|
72281
72278
|
return Ji(), gUe(t);
|
|
72282
72279
|
}
|
|
72283
72280
|
function KH() {
|
|
72284
|
-
Ae =
|
|
72281
|
+
Ae = kt.start;
|
|
72285
72282
|
const t = Ji();
|
|
72286
72283
|
return t.type === h3 || t.type === Sd ? (t.octal && Ot(t, Wie), Jm(t)) : l8(t.value);
|
|
72287
72284
|
}
|
|
72288
72285
|
function vUe() {
|
|
72289
72286
|
var t, e, n, r;
|
|
72290
|
-
if (Ae =
|
|
72287
|
+
if (Ae = kt.start, t = kt, t.type === Lx)
|
|
72291
72288
|
return n = KH(), Jr(":"), r = Ix(), YH("init", n, r);
|
|
72292
72289
|
if (t.type === d3 || t.type === Vi)
|
|
72293
72290
|
JO(t);
|
|
@@ -72296,7 +72293,7 @@ function vUe() {
|
|
|
72296
72293
|
}
|
|
72297
72294
|
function _Ue() {
|
|
72298
72295
|
var t = [], e, n, r, i = {}, s = String;
|
|
72299
|
-
for (Ae =
|
|
72296
|
+
for (Ae = kt.start, Jr("{"); !en("}"); )
|
|
72300
72297
|
e = vUe(), e.key.type === Gie ? n = e.key.name : n = s(e.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? Ot({}, eUe) : i[r] = !0, t.push(e), en("}") || Jr(",");
|
|
72301
72298
|
return Jr("}"), EUe(t);
|
|
72302
72299
|
}
|
|
@@ -72316,10 +72313,10 @@ function TUe() {
|
|
|
72316
72313
|
return SUe();
|
|
72317
72314
|
if (en("{"))
|
|
72318
72315
|
return _Ue();
|
|
72319
|
-
if (t =
|
|
72316
|
+
if (t = kt.type, Ae = kt.start, t === Lx || bUe[kt.value])
|
|
72320
72317
|
n = l8(Ji().value);
|
|
72321
72318
|
else if (t === h3 || t === Sd)
|
|
72322
|
-
|
|
72319
|
+
kt.octal && Ot(kt, Wie), n = Jm(Ji());
|
|
72323
72320
|
else {
|
|
72324
72321
|
if (t === jc)
|
|
72325
72322
|
throw new Error(ty);
|
|
@@ -72335,7 +72332,7 @@ function RUe() {
|
|
|
72335
72332
|
return Jr(")"), t;
|
|
72336
72333
|
}
|
|
72337
72334
|
function OUe() {
|
|
72338
|
-
Ae =
|
|
72335
|
+
Ae = kt.start;
|
|
72339
72336
|
const t = Ji();
|
|
72340
72337
|
return pUe(t) || JO(t), l8(t.value);
|
|
72341
72338
|
}
|
|
@@ -72362,13 +72359,13 @@ function FUe() {
|
|
|
72362
72359
|
}
|
|
72363
72360
|
function XH() {
|
|
72364
72361
|
const t = FUe();
|
|
72365
|
-
if (
|
|
72362
|
+
if (kt.type === Vi && (en("++") || en("--")))
|
|
72366
72363
|
throw new Error(ty);
|
|
72367
72364
|
return t;
|
|
72368
72365
|
}
|
|
72369
72366
|
function ES() {
|
|
72370
72367
|
var t, e;
|
|
72371
|
-
if (
|
|
72368
|
+
if (kt.type !== Vi && kt.type !== jc)
|
|
72372
72369
|
e = XH();
|
|
72373
72370
|
else {
|
|
72374
72371
|
if (en("++") || en("--"))
|
|
@@ -72436,12 +72433,12 @@ function JH(t) {
|
|
|
72436
72433
|
}
|
|
72437
72434
|
function wUe() {
|
|
72438
72435
|
var t, e, n, r, i, s, o, u, a, l;
|
|
72439
|
-
if (t =
|
|
72436
|
+
if (t = kt, a = ES(), r = kt, i = JH(r), i === 0)
|
|
72440
72437
|
return a;
|
|
72441
|
-
for (r.prec = i, Ji(), e = [t,
|
|
72438
|
+
for (r.prec = i, Ji(), e = [t, kt], o = ES(), s = [a, r, o]; (i = JH(kt)) > 0; ) {
|
|
72442
72439
|
for (; s.length > 2 && i <= s[s.length - 2].prec; )
|
|
72443
72440
|
o = s.pop(), u = s.pop().value, a = s.pop(), e.pop(), n = WH(u, a, o), s.push(n);
|
|
72444
|
-
r = Ji(), r.prec = i, s.push(r), e.push(
|
|
72441
|
+
r = Ji(), r.prec = i, s.push(r), e.push(kt), n = ES(), s.push(n);
|
|
72445
72442
|
}
|
|
72446
72443
|
for (l = s.length - 1, n = s[l], e.pop(); l > 1; )
|
|
72447
72444
|
e.pop(), n = WH(s[l - 1].value, s[l - 2], n), l -= 2;
|
|
@@ -72458,9 +72455,9 @@ function c8() {
|
|
|
72458
72455
|
return t;
|
|
72459
72456
|
}
|
|
72460
72457
|
function Jie(t) {
|
|
72461
|
-
We = t, Ae = 0, Xr = We.length,
|
|
72458
|
+
We = t, Ae = 0, Xr = We.length, kt = null, Xie();
|
|
72462
72459
|
const e = c8();
|
|
72463
|
-
if (
|
|
72460
|
+
if (kt.type !== d3)
|
|
72464
72461
|
throw new Error("Unexpect token after expression.");
|
|
72465
72462
|
return e;
|
|
72466
72463
|
}
|
|
@@ -74645,7 +74642,7 @@ function CQe(t, e) {
|
|
|
74645
74642
|
let r = t.update;
|
|
74646
74643
|
t.init && (r ? ve("Signals can not include both init and update expressions.") : (r = t.init, n.initonly = !0)), r && (r = ia(r, e), n.update = r.$expr, n.params = r.$params), t.on && t.on.forEach((i) => SQe(i, e, n.id));
|
|
74647
74644
|
}
|
|
74648
|
-
const
|
|
74645
|
+
const Mt = (t) => (e, n, r) => rN(t, n, e || void 0, r), Mse = Mt("aggregate"), bQe = Mt("axisticks"), jse = Mt("bound"), cu = Mt("collect"), Sz = Mt("compare"), TQe = Mt("datajoin"), Use = Mt("encode"), RQe = Mt("expression"), OQe = Mt("facet"), NQe = Mt("field"), DQe = Mt("key"), FQe = Mt("legendentries"), wQe = Mt("load"), LQe = Mt("mark"), IQe = Mt("multiextent"), $Qe = Mt("multivalues"), BQe = Mt("overlap"), kQe = Mt("params"), qse = Mt("prefacet"), PQe = Mt("projection"), MQe = Mt("proxy"), jQe = Mt("relay"), Hse = Mt("render"), UQe = Mt("scale"), _d = Mt("sieve"), qQe = Mt("sortitems"), zse = Mt("viewlayout"), HQe = Mt("values");
|
|
74649
74646
|
let zQe = 0;
|
|
74650
74647
|
const Qse = {
|
|
74651
74648
|
min: "min",
|
|
@@ -82161,7 +82158,7 @@ function GJe(t, e, n, r) {
|
|
|
82161
82158
|
function U7(t) {
|
|
82162
82159
|
return t.map((e) => (e.on && !e.on.length && delete e.on, e));
|
|
82163
82160
|
}
|
|
82164
|
-
class
|
|
82161
|
+
class jt {
|
|
82165
82162
|
constructor(e, n) {
|
|
82166
82163
|
this.debugName = n, this._children = [], this._parent = null, e && (this.parent = e);
|
|
82167
82164
|
}
|
|
@@ -82219,7 +82216,7 @@ class Ut {
|
|
|
82219
82216
|
this._children = [], e.removeChild(this), e.parent.removeChild(e), this.parent = n, e.parent = this;
|
|
82220
82217
|
}
|
|
82221
82218
|
}
|
|
82222
|
-
class Ni extends
|
|
82219
|
+
class Ni extends jt {
|
|
82223
82220
|
/**
|
|
82224
82221
|
* @param source The name of the source. Will change in assemble.
|
|
82225
82222
|
* @param type The type of the output node.
|
|
@@ -82269,7 +82266,7 @@ var EQ = function(t, e) {
|
|
|
82269
82266
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
82270
82267
|
return n;
|
|
82271
82268
|
};
|
|
82272
|
-
class Wu extends
|
|
82269
|
+
class Wu extends jt {
|
|
82273
82270
|
constructor(e, n) {
|
|
82274
82271
|
super(e), this.formula = n;
|
|
82275
82272
|
}
|
|
@@ -83446,7 +83443,7 @@ function Lae(t) {
|
|
|
83446
83443
|
r.type === "MemberExpression" && wae(r) && n.add(W5(r).slice(1).join("."));
|
|
83447
83444
|
}), n;
|
|
83448
83445
|
}
|
|
83449
|
-
class P2 extends
|
|
83446
|
+
class P2 extends jt {
|
|
83450
83447
|
constructor(e, n, r) {
|
|
83451
83448
|
super(e), this.model = n, this.filter = r, this.expr = k_(this.model, this.filter, this), this._dependentFields = Lae(this.expr);
|
|
83452
83449
|
}
|
|
@@ -83877,7 +83874,7 @@ function $Ze(t, e) {
|
|
|
83877
83874
|
function BZe(t, e) {
|
|
83878
83875
|
return t === "rect" && N_(e) ? 1 : 0;
|
|
83879
83876
|
}
|
|
83880
|
-
class Fp extends
|
|
83877
|
+
class Fp extends jt {
|
|
83881
83878
|
constructor(e, n) {
|
|
83882
83879
|
super(e), this.transform = n, this._dependentFields = Lae(this.transform.calculate);
|
|
83883
83880
|
}
|
|
@@ -84681,7 +84678,7 @@ function wQ(t, e, n) {
|
|
|
84681
84678
|
const l = Object.assign(Object.assign(Object.assign({ bin: s, field: t.field, as: [r] }, u ? { signal: u } : {}), a ? { extentSignal: a } : {}), i ? { span: i } : {});
|
|
84682
84679
|
return { key: o, binComponent: l };
|
|
84683
84680
|
}
|
|
84684
|
-
class Vu extends
|
|
84681
|
+
class Vu extends jt {
|
|
84685
84682
|
constructor(e, n) {
|
|
84686
84683
|
super(e), this.bins = n;
|
|
84687
84684
|
}
|
|
@@ -84771,7 +84768,7 @@ function Ret(t, e) {
|
|
|
84771
84768
|
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] };
|
|
84772
84769
|
}
|
|
84773
84770
|
}
|
|
84774
|
-
class zo extends
|
|
84771
|
+
class zo extends jt {
|
|
84775
84772
|
/**
|
|
84776
84773
|
* @param dimensions string set for dimensions
|
|
84777
84774
|
* @param measures dictionary mapping field name => dict of aggregation functions and names to use
|
|
@@ -84856,7 +84853,7 @@ class zo extends Ut {
|
|
|
84856
84853
|
};
|
|
84857
84854
|
}
|
|
84858
84855
|
}
|
|
84859
|
-
class M2 extends
|
|
84856
|
+
class M2 extends jt {
|
|
84860
84857
|
/**
|
|
84861
84858
|
* @param model The facet model.
|
|
84862
84859
|
* @param name The name that this facet source will have.
|
|
@@ -85062,7 +85059,7 @@ function Fet(t) {
|
|
|
85062
85059
|
}
|
|
85063
85060
|
return e;
|
|
85064
85061
|
}
|
|
85065
|
-
class Wr extends
|
|
85062
|
+
class Wr extends jt {
|
|
85066
85063
|
constructor(e, n) {
|
|
85067
85064
|
super(e), this._parse = n;
|
|
85068
85065
|
}
|
|
@@ -85138,7 +85135,7 @@ class Wr extends Ut {
|
|
|
85138
85135
|
}).filter((n) => n !== null);
|
|
85139
85136
|
}
|
|
85140
85137
|
}
|
|
85141
|
-
class pc extends
|
|
85138
|
+
class pc extends jt {
|
|
85142
85139
|
clone() {
|
|
85143
85140
|
return new pc(null);
|
|
85144
85141
|
}
|
|
@@ -85158,7 +85155,7 @@ class pc extends Ut {
|
|
|
85158
85155
|
return { type: "identifier", as: fy };
|
|
85159
85156
|
}
|
|
85160
85157
|
}
|
|
85161
|
-
class D3 extends
|
|
85158
|
+
class D3 extends jt {
|
|
85162
85159
|
constructor(e, n) {
|
|
85163
85160
|
super(e), this.params = n;
|
|
85164
85161
|
}
|
|
@@ -85177,7 +85174,7 @@ class D3 extends Ut {
|
|
|
85177
85174
|
return Object.assign({ type: "graticule" }, this.params === !0 ? {} : this.params);
|
|
85178
85175
|
}
|
|
85179
85176
|
}
|
|
85180
|
-
class F3 extends
|
|
85177
|
+
class F3 extends jt {
|
|
85181
85178
|
constructor(e, n) {
|
|
85182
85179
|
super(e), this.params = n;
|
|
85183
85180
|
}
|
|
@@ -85198,7 +85195,7 @@ class F3 extends Ut {
|
|
|
85198
85195
|
return Object.assign({ type: "sequence" }, this.params);
|
|
85199
85196
|
}
|
|
85200
85197
|
}
|
|
85201
|
-
class qx extends
|
|
85198
|
+
class qx extends jt {
|
|
85202
85199
|
constructor(e) {
|
|
85203
85200
|
super(null), e ?? (e = { name: "source" });
|
|
85204
85201
|
let n;
|
|
@@ -85467,7 +85464,7 @@ class Het extends Dd {
|
|
|
85467
85464
|
}
|
|
85468
85465
|
}
|
|
85469
85466
|
}
|
|
85470
|
-
class Fd extends
|
|
85467
|
+
class Fd extends jt {
|
|
85471
85468
|
constructor(e, n) {
|
|
85472
85469
|
super(e), this.transform = n;
|
|
85473
85470
|
}
|
|
@@ -85513,7 +85510,7 @@ function zet(t) {
|
|
|
85513
85510
|
function Qet(t) {
|
|
85514
85511
|
return _e(t) && t.every((e) => je(e)) && t.length > 1;
|
|
85515
85512
|
}
|
|
85516
|
-
class vl extends
|
|
85513
|
+
class vl extends jt {
|
|
85517
85514
|
constructor(e, n) {
|
|
85518
85515
|
super(e), this._stack = n;
|
|
85519
85516
|
}
|
|
@@ -85619,7 +85616,7 @@ class vl extends Ut {
|
|
|
85619
85616
|
}), e;
|
|
85620
85617
|
}
|
|
85621
85618
|
}
|
|
85622
|
-
class j2 extends
|
|
85619
|
+
class j2 extends jt {
|
|
85623
85620
|
constructor(e, n) {
|
|
85624
85621
|
super(e), this.transform = n;
|
|
85625
85622
|
}
|
|
@@ -86881,7 +86878,7 @@ var Ntt = function(t, e) {
|
|
|
86881
86878
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
86882
86879
|
return n;
|
|
86883
86880
|
};
|
|
86884
|
-
class qN extends
|
|
86881
|
+
class qN extends jt {
|
|
86885
86882
|
constructor(e, n) {
|
|
86886
86883
|
var r, i, s;
|
|
86887
86884
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -86906,7 +86903,7 @@ class qN extends Ut {
|
|
|
86906
86903
|
return Object.assign({ type: "kde", field: n }, r);
|
|
86907
86904
|
}
|
|
86908
86905
|
}
|
|
86909
|
-
class hy extends
|
|
86906
|
+
class hy extends jt {
|
|
86910
86907
|
constructor(e, n) {
|
|
86911
86908
|
super(e), this.filter = n;
|
|
86912
86909
|
}
|
|
@@ -86950,7 +86947,7 @@ class hy extends Ut {
|
|
|
86950
86947
|
} : null;
|
|
86951
86948
|
}
|
|
86952
86949
|
}
|
|
86953
|
-
class HN extends
|
|
86950
|
+
class HN extends jt {
|
|
86954
86951
|
constructor(e, n) {
|
|
86955
86952
|
super(e), this.transform = n, this.transform = lt(n);
|
|
86956
86953
|
const { flatten: r, as: i = [] } = this.transform;
|
|
@@ -86980,7 +86977,7 @@ class HN extends Ut {
|
|
|
86980
86977
|
};
|
|
86981
86978
|
}
|
|
86982
86979
|
}
|
|
86983
|
-
class zN extends
|
|
86980
|
+
class zN extends jt {
|
|
86984
86981
|
constructor(e, n) {
|
|
86985
86982
|
var r, i, s;
|
|
86986
86983
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -87008,7 +87005,7 @@ class zN extends Ut {
|
|
|
87008
87005
|
};
|
|
87009
87006
|
}
|
|
87010
87007
|
}
|
|
87011
|
-
class Ch extends
|
|
87008
|
+
class Ch extends jt {
|
|
87012
87009
|
constructor(e, n, r, i) {
|
|
87013
87010
|
super(e), this.fields = n, this.geojson = r, this.signal = i;
|
|
87014
87011
|
}
|
|
@@ -87058,7 +87055,7 @@ class Ch extends Ut {
|
|
|
87058
87055
|
];
|
|
87059
87056
|
}
|
|
87060
87057
|
}
|
|
87061
|
-
class py extends
|
|
87058
|
+
class py extends jt {
|
|
87062
87059
|
constructor(e, n, r, i) {
|
|
87063
87060
|
super(e), this.projection = n, this.fields = r, this.as = i;
|
|
87064
87061
|
}
|
|
@@ -87101,7 +87098,7 @@ class py extends Ut {
|
|
|
87101
87098
|
};
|
|
87102
87099
|
}
|
|
87103
87100
|
}
|
|
87104
|
-
class ix extends
|
|
87101
|
+
class ix extends jt {
|
|
87105
87102
|
constructor(e, n) {
|
|
87106
87103
|
super(e), this.transform = n;
|
|
87107
87104
|
}
|
|
@@ -87158,7 +87155,7 @@ var Dtt = function(t, e) {
|
|
|
87158
87155
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
87159
87156
|
return n;
|
|
87160
87157
|
};
|
|
87161
|
-
class QN extends
|
|
87158
|
+
class QN extends jt {
|
|
87162
87159
|
constructor(e, n) {
|
|
87163
87160
|
var r, i, s;
|
|
87164
87161
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -87183,7 +87180,7 @@ class QN extends Ut {
|
|
|
87183
87180
|
return Object.assign({ type: "loess", x: r, y: n }, i);
|
|
87184
87181
|
}
|
|
87185
87182
|
}
|
|
87186
|
-
class gy extends
|
|
87183
|
+
class gy extends jt {
|
|
87187
87184
|
constructor(e, n, r) {
|
|
87188
87185
|
super(e), this.transform = n, this.secondary = r;
|
|
87189
87186
|
}
|
|
@@ -87243,7 +87240,7 @@ var Ftt = function(t, e) {
|
|
|
87243
87240
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
87244
87241
|
return n;
|
|
87245
87242
|
};
|
|
87246
|
-
class GN extends
|
|
87243
|
+
class GN extends jt {
|
|
87247
87244
|
constructor(e, n) {
|
|
87248
87245
|
var r, i, s;
|
|
87249
87246
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -87277,7 +87274,7 @@ var wtt = function(t, e) {
|
|
|
87277
87274
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
87278
87275
|
return n;
|
|
87279
87276
|
};
|
|
87280
|
-
class WN extends
|
|
87277
|
+
class WN extends jt {
|
|
87281
87278
|
constructor(e, n) {
|
|
87282
87279
|
var r, i, s;
|
|
87283
87280
|
super(e), this.transform = n, this.transform = lt(n);
|
|
@@ -87302,7 +87299,7 @@ class WN extends Ut {
|
|
|
87302
87299
|
return Object.assign({ type: "regression", x: r, y: n }, i);
|
|
87303
87300
|
}
|
|
87304
87301
|
}
|
|
87305
|
-
class VN extends
|
|
87302
|
+
class VN extends jt {
|
|
87306
87303
|
constructor(e, n) {
|
|
87307
87304
|
super(e), this.transform = n;
|
|
87308
87305
|
}
|
|
@@ -87327,7 +87324,7 @@ class VN extends Ut {
|
|
|
87327
87324
|
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 } : {});
|
|
87328
87325
|
}
|
|
87329
87326
|
}
|
|
87330
|
-
class YN extends
|
|
87327
|
+
class YN extends jt {
|
|
87331
87328
|
constructor(e, n) {
|
|
87332
87329
|
super(e), this.transform = n;
|
|
87333
87330
|
}
|