@malloydata/malloy 0.0.223 → 0.0.224-dev241217171758
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.
|
@@ -69,7 +69,7 @@ const hll_accumulate = {
|
|
|
69
69
|
'T': ['string', 'number', 'date', 'timestamp', 'boolean', 'json'],
|
|
70
70
|
},
|
|
71
71
|
takes: { 'value': { dimension: { generic: 'T' } } },
|
|
72
|
-
returns: { measure: '
|
|
72
|
+
returns: { measure: { sql_native: 'hyperloglog' } },
|
|
73
73
|
isSymmetric: true,
|
|
74
74
|
impl: {
|
|
75
75
|
function: 'APPROX_SET',
|
|
@@ -80,7 +80,7 @@ const hll_accumulate = {
|
|
|
80
80
|
'T': ['string', 'number', 'date', 'timestamp', 'boolean', 'json'],
|
|
81
81
|
},
|
|
82
82
|
takes: { 'value': { dimension: { generic: 'T' } }, 'accuracy': 'number' },
|
|
83
|
-
returns: { measure: '
|
|
83
|
+
returns: { measure: { sql_native: 'hyperloglog' } },
|
|
84
84
|
isSymmetric: true,
|
|
85
85
|
impl: {
|
|
86
86
|
function: 'APPROX_SET',
|
|
@@ -89,33 +89,33 @@ const hll_accumulate = {
|
|
|
89
89
|
};
|
|
90
90
|
const hll_combine = {
|
|
91
91
|
takes: {
|
|
92
|
-
'value': '
|
|
92
|
+
'value': { sql_native: 'hyperloglog' },
|
|
93
93
|
},
|
|
94
|
-
returns: { measure: '
|
|
94
|
+
returns: { measure: { sql_native: 'hyperloglog' } },
|
|
95
95
|
impl: { function: 'MERGE' },
|
|
96
96
|
isSymmetric: true,
|
|
97
97
|
};
|
|
98
98
|
const hll_estimate = {
|
|
99
99
|
takes: {
|
|
100
|
-
'value': '
|
|
100
|
+
'value': { sql_native: 'hyperloglog' },
|
|
101
101
|
},
|
|
102
102
|
returns: { dimension: 'number' },
|
|
103
103
|
impl: { function: 'CARDINALITY' },
|
|
104
104
|
};
|
|
105
105
|
const hll_export = {
|
|
106
106
|
takes: {
|
|
107
|
-
'value': '
|
|
107
|
+
'value': { sql_native: 'hyperloglog' },
|
|
108
108
|
},
|
|
109
|
-
returns: { dimension: '
|
|
109
|
+
returns: { dimension: { sql_native: 'varbinary' } },
|
|
110
110
|
impl: {
|
|
111
111
|
sql: 'CAST(${value} AS VARBINARY)',
|
|
112
112
|
},
|
|
113
113
|
};
|
|
114
114
|
const hll_import = {
|
|
115
115
|
takes: {
|
|
116
|
-
'value': '
|
|
116
|
+
'value': { sql_native: 'varbinary' },
|
|
117
117
|
},
|
|
118
|
-
returns: { dimension: '
|
|
118
|
+
returns: { dimension: { sql_native: 'hyperloglog' } },
|
|
119
119
|
impl: {
|
|
120
120
|
sql: 'CAST(${value} AS HyperLogLog)',
|
|
121
121
|
},
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MALLOY_VERSION = "0.0.
|
|
1
|
+
export declare const MALLOY_VERSION = "0.0.224";
|
package/dist/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MALLOY_VERSION = void 0;
|
|
4
4
|
// generated with 'generate-version-file' script; do not edit manually
|
|
5
|
-
exports.MALLOY_VERSION = '0.0.
|
|
5
|
+
exports.MALLOY_VERSION = '0.0.224';
|
|
6
6
|
//# sourceMappingURL=version.js.map
|