@malloydata/malloy 0.0.218 → 0.0.219-dev241203175820

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.
@@ -204,6 +204,41 @@ const percent_rank = {
204
204
  returns: { calculation: 'number' },
205
205
  impl: { function: 'PERCENT_RANK', needsWindowOrderBy: true },
206
206
  };
207
+ const url_extract_fragment = {
208
+ takes: { 'url': 'string' },
209
+ returns: 'string',
210
+ impl: { function: 'URL_EXTRACT_FRAGMENT' },
211
+ };
212
+ const url_extract_host = {
213
+ takes: { 'url': 'string' },
214
+ returns: 'string',
215
+ impl: { function: 'URL_EXTRACT_HOST' },
216
+ };
217
+ const url_extract_parameter = {
218
+ takes: { 'url': 'string', 'parameter': 'string' },
219
+ returns: 'string',
220
+ impl: { function: 'URL_EXTRACT_PARAMETER' },
221
+ };
222
+ const url_extract_path = {
223
+ takes: { 'url': 'string' },
224
+ returns: 'string',
225
+ impl: { function: 'URL_EXTRACT_PATH' },
226
+ };
227
+ const url_extract_port = {
228
+ takes: { 'url': 'string' },
229
+ returns: 'number',
230
+ impl: { function: 'URL_EXTRACT_PORT' },
231
+ };
232
+ const url_extract_protocol = {
233
+ takes: { 'url': 'string' },
234
+ returns: 'string',
235
+ impl: { function: 'URL_EXTRACT_PROTOCOL' },
236
+ };
237
+ const url_extract_query = {
238
+ takes: { 'url': 'string' },
239
+ returns: 'string',
240
+ impl: { function: 'URL_EXTRACT_QUERY' },
241
+ };
207
242
  exports.TRINO_DIALECT_FUNCTIONS = {
208
243
  // aggregate functions
209
244
  approx_percentile,
@@ -230,6 +265,13 @@ exports.TRINO_DIALECT_FUNCTIONS = {
230
265
  regexp_like,
231
266
  regexp_replace,
232
267
  to_unixtime,
268
+ url_extract_fragment,
269
+ url_extract_host,
270
+ url_extract_parameter,
271
+ url_extract_path,
272
+ url_extract_port,
273
+ url_extract_protocol,
274
+ url_extract_query,
233
275
  // window functions
234
276
  percent_rank,
235
277
  };
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MALLOY_VERSION = "0.0.218";
1
+ export declare const MALLOY_VERSION = "0.0.219";
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.218';
5
+ exports.MALLOY_VERSION = '0.0.219';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.218",
3
+ "version": "0.0.219-dev241203175820",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",