@malloydata/malloy 0.0.243-dev250314155434 → 0.0.243-dev250314163430
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/annotation.d.ts +2 -2
- package/dist/api/asynchronous.d.ts +4 -4
- package/dist/api/connection.d.ts +1 -1
- package/dist/api/core.d.ts +3 -2
- package/dist/api/stateless.d.ts +1 -1
- package/dist/api/util.d.ts +5 -5
- package/dist/connection/base_connection.d.ts +4 -4
- package/dist/connection/types.d.ts +4 -4
- package/dist/dialect/dialect.d.ts +2 -2
- package/dist/dialect/dialect_map.d.ts +1 -1
- package/dist/dialect/duckdb/dialect_functions.d.ts +1 -1
- package/dist/dialect/duckdb/duckdb.d.ts +3 -3
- package/dist/dialect/duckdb/function_overrides.d.ts +1 -1
- package/dist/dialect/functions/malloy_standard_functions.d.ts +1 -1
- package/dist/dialect/functions/util.d.ts +2 -2
- package/dist/dialect/mysql/dialect_functions.d.ts +1 -1
- package/dist/dialect/mysql/function_overrides.d.ts +1 -1
- package/dist/dialect/mysql/mysql.d.ts +4 -3
- package/dist/dialect/mysql/mysql.js +0 -7
- package/dist/dialect/pg_impl.d.ts +3 -2
- package/dist/dialect/postgres/dialect_functions.d.ts +1 -1
- package/dist/dialect/postgres/function_overrides.d.ts +1 -1
- package/dist/dialect/postgres/postgres.d.ts +3 -3
- package/dist/dialect/snowflake/dialect_functions.d.ts +1 -1
- package/dist/dialect/snowflake/function_overrides.d.ts +1 -1
- package/dist/dialect/snowflake/snowflake.d.ts +4 -3
- package/dist/dialect/standardsql/dialect_functions.d.ts +1 -1
- package/dist/dialect/standardsql/function_overrides.d.ts +1 -1
- package/dist/dialect/standardsql/standardsql.d.ts +4 -3
- package/dist/dialect/trino/dialect_functions.d.ts +1 -1
- package/dist/dialect/trino/function_overrides.d.ts +1 -1
- package/dist/dialect/trino/trino.d.ts +3 -3
- package/dist/lang/ast/ast-utils.d.ts +1 -1
- package/dist/lang/ast/error-factory.d.ts +1 -1
- package/dist/lang/ast/expressions/apply.d.ts +3 -3
- package/dist/lang/ast/expressions/binary-boolean.d.ts +3 -3
- package/dist/lang/ast/expressions/binary-numeric.d.ts +3 -3
- package/dist/lang/ast/expressions/boolean.d.ts +1 -1
- package/dist/lang/ast/expressions/case.d.ts +2 -2
- package/dist/lang/ast/expressions/constant-expression.d.ts +6 -6
- package/dist/lang/ast/expressions/expr-aggregate-function.d.ts +4 -4
- package/dist/lang/ast/expressions/expr-alternation-tree.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-array-literal.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-asymmetric.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-avg.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-cast.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-coalesce.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-compare.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-count-distinct.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-count.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-filter-expr.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-func.d.ts +7 -7
- package/dist/lang/ast/expressions/expr-granular-time.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-id-reference.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-max.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-min.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-minus.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-not.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-now.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-null.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-number.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-parens.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-props.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-record-literal.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-regex.d.ts +1 -1
- package/dist/lang/ast/expressions/expr-string.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-sum.d.ts +2 -2
- package/dist/lang/ast/expressions/expr-time-extract.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-time.d.ts +3 -3
- package/dist/lang/ast/expressions/expr-ungroup.d.ts +2 -2
- package/dist/lang/ast/expressions/for-range.d.ts +4 -4
- package/dist/lang/ast/expressions/function-ordering.d.ts +3 -3
- package/dist/lang/ast/expressions/partial-compare.d.ts +3 -3
- package/dist/lang/ast/expressions/partition_by.d.ts +1 -1
- package/dist/lang/ast/expressions/pick-when.d.ts +2 -2
- package/dist/lang/ast/expressions/range.d.ts +3 -3
- package/dist/lang/ast/expressions/time-frame.d.ts +1 -1
- package/dist/lang/ast/expressions/time-literal.d.ts +5 -5
- package/dist/lang/ast/field-space/ast-view-field.d.ts +3 -3
- package/dist/lang/ast/field-space/column-space-field.d.ts +1 -1
- package/dist/lang/ast/field-space/dynamic-space.d.ts +5 -5
- package/dist/lang/ast/field-space/index-field-space.d.ts +2 -2
- package/dist/lang/ast/field-space/ir-view-field.d.ts +2 -2
- package/dist/lang/ast/field-space/join-space-field.d.ts +2 -2
- package/dist/lang/ast/field-space/parameter-space.d.ts +6 -6
- package/dist/lang/ast/field-space/project-field-space.d.ts +1 -1
- package/dist/lang/ast/field-space/query-input-space.d.ts +4 -4
- package/dist/lang/ast/field-space/query-spaces.d.ts +7 -6
- package/dist/lang/ast/field-space/reference-field.d.ts +4 -4
- package/dist/lang/ast/field-space/refined-space.d.ts +5 -5
- package/dist/lang/ast/field-space/rename-space-field.d.ts +1 -1
- package/dist/lang/ast/field-space/static-space.d.ts +5 -5
- package/dist/lang/ast/field-space/struct-space-field-base.d.ts +3 -3
- package/dist/lang/ast/field-space/view-field.d.ts +2 -2
- package/dist/lang/ast/parameters/argument.d.ts +2 -2
- package/dist/lang/ast/parameters/has-parameter.d.ts +2 -2
- package/dist/lang/ast/query-builders/index-builder.d.ts +7 -7
- package/dist/lang/ast/query-builders/partial-builder.d.ts +1 -1
- package/dist/lang/ast/query-builders/partial-builder.js +0 -22
- package/dist/lang/ast/query-builders/project-builder.d.ts +7 -7
- package/dist/lang/ast/query-builders/reduce-builder.d.ts +8 -7
- package/dist/lang/ast/query-elements/anonymous-query.d.ts +6 -4
- package/dist/lang/ast/query-elements/query-arrow.d.ts +3 -3
- package/dist/lang/ast/query-elements/query-base.d.ts +2 -2
- package/dist/lang/ast/query-elements/query-head-struct.d.ts +2 -2
- package/dist/lang/ast/query-elements/query-raw.d.ts +4 -4
- package/dist/lang/ast/query-elements/query-reference.d.ts +5 -4
- package/dist/lang/ast/query-elements/query-refine.d.ts +3 -3
- package/dist/lang/ast/query-items/field-declaration.d.ts +10 -9
- package/dist/lang/ast/query-items/field-references.d.ts +7 -6
- package/dist/lang/ast/query-items/typecheck_utils.d.ts +2 -2
- package/dist/lang/ast/query-properties/aggregate.d.ts +3 -2
- package/dist/lang/ast/query-properties/calculate.d.ts +3 -2
- package/dist/lang/ast/query-properties/declare-fields.d.ts +5 -4
- package/dist/lang/ast/query-properties/extend.d.ts +4 -3
- package/dist/lang/ast/query-properties/filters.d.ts +6 -5
- package/dist/lang/ast/query-properties/group-by.d.ts +3 -2
- package/dist/lang/ast/query-properties/indexing.d.ts +4 -3
- package/dist/lang/ast/query-properties/limit.d.ts +2 -1
- package/dist/lang/ast/query-properties/nest.d.ts +4 -3
- package/dist/lang/ast/query-properties/nests.d.ts +3 -2
- package/dist/lang/ast/query-properties/ordering.d.ts +5 -3
- package/dist/lang/ast/query-properties/project-statement.d.ts +4 -3
- package/dist/lang/ast/query-properties/qop-desc.d.ts +5 -5
- package/dist/lang/ast/query-properties/sampling.d.ts +3 -2
- package/dist/lang/ast/query-utils.d.ts +2 -2
- package/dist/lang/ast/source-elements/composite-source.d.ts +3 -3
- package/dist/lang/ast/source-elements/named-source.d.ts +4 -4
- package/dist/lang/ast/source-elements/query-source.d.ts +4 -4
- package/dist/lang/ast/source-elements/refined-source.d.ts +4 -4
- package/dist/lang/ast/source-elements/source.d.ts +3 -3
- package/dist/lang/ast/source-elements/sql-source.d.ts +4 -4
- package/dist/lang/ast/source-elements/table-source.d.ts +2 -2
- package/dist/lang/ast/source-properties/field-list-edit.d.ts +1 -1
- package/dist/lang/ast/source-properties/join.d.ts +14 -11
- package/dist/lang/ast/source-properties/primary-key.d.ts +1 -1
- package/dist/lang/ast/source-properties/renames.d.ts +4 -4
- package/dist/lang/ast/source-properties/timezone-statement.d.ts +2 -2
- package/dist/lang/ast/source-properties/view-field-declaration.d.ts +7 -6
- package/dist/lang/ast/source-properties/views.d.ts +2 -2
- package/dist/lang/ast/source-query-elements/include-item.d.ts +4 -3
- package/dist/lang/ast/source-query-elements/source-query-element.d.ts +3 -3
- package/dist/lang/ast/source-query-elements/sq-arrow.d.ts +3 -3
- package/dist/lang/ast/source-query-elements/sq-extend.d.ts +2 -2
- package/dist/lang/ast/source-query-elements/sq-reference.d.ts +4 -4
- package/dist/lang/ast/source-query-elements/sq-refine.d.ts +1 -1
- package/dist/lang/ast/source-query-elements/sq-source.d.ts +1 -1
- package/dist/lang/ast/sql-elements/sql-string.d.ts +1 -1
- package/dist/lang/ast/statements/define-query.d.ts +6 -4
- package/dist/lang/ast/statements/define-source.d.ts +7 -5
- package/dist/lang/ast/statements/import-statement.d.ts +3 -2
- package/dist/lang/ast/struct-utils.d.ts +2 -2
- package/dist/lang/ast/time-utils.d.ts +2 -2
- package/dist/lang/ast/typedesc-utils.d.ts +1 -1
- package/dist/lang/ast/types/annotation-elements.d.ts +6 -5
- package/dist/lang/ast/types/binary_operators.d.ts +1 -1
- package/dist/lang/ast/types/definition-list.d.ts +4 -3
- package/dist/lang/ast/types/dialect-name-space.d.ts +3 -3
- package/dist/lang/ast/types/document-compile-result.d.ts +2 -2
- package/dist/lang/ast/types/expr-result.d.ts +1 -1
- package/dist/lang/ast/types/expr-value.d.ts +3 -3
- package/dist/lang/ast/types/expression-def.d.ts +4 -4
- package/dist/lang/ast/types/field-collection-member.d.ts +2 -2
- package/dist/lang/ast/types/field-prop-statement.d.ts +1 -1
- package/dist/lang/ast/types/field-space.d.ts +5 -5
- package/dist/lang/ast/types/global-name-space.d.ts +3 -3
- package/dist/lang/ast/types/granular-result.d.ts +3 -3
- package/dist/lang/ast/types/lookup-result.d.ts +3 -3
- package/dist/lang/ast/types/malloy-element.d.ts +10 -9
- package/dist/lang/ast/types/model-entry.d.ts +1 -1
- package/dist/lang/ast/types/name-space.d.ts +1 -1
- package/dist/lang/ast/types/noteable.d.ts +1 -1
- package/dist/lang/ast/types/op-desc.d.ts +2 -2
- package/dist/lang/ast/types/pipeline-comp.d.ts +1 -1
- package/dist/lang/ast/types/query-builder.d.ts +4 -4
- package/dist/lang/ast/types/query-comp.d.ts +1 -1
- package/dist/lang/ast/types/query-element.d.ts +3 -3
- package/dist/lang/ast/types/query-extend-property.d.ts +1 -1
- package/dist/lang/ast/types/query-item.d.ts +3 -3
- package/dist/lang/ast/types/query-property-interface.d.ts +1 -1
- package/dist/lang/ast/types/query-property.d.ts +2 -2
- package/dist/lang/ast/types/source-desc.d.ts +1 -1
- package/dist/lang/ast/types/source-property.d.ts +1 -1
- package/dist/lang/ast/types/space-entry.d.ts +3 -3
- package/dist/lang/ast/types/space-field.d.ts +2 -2
- package/dist/lang/ast/types/space-param.d.ts +2 -2
- package/dist/lang/ast/types/time-result.d.ts +2 -2
- package/dist/lang/ast/view-elements/qop-desc-view.d.ts +4 -4
- package/dist/lang/ast/view-elements/reference-view.d.ts +5 -5
- package/dist/lang/ast/view-elements/refine-utils.d.ts +2 -2
- package/dist/lang/ast/view-elements/view-arrow.d.ts +4 -4
- package/dist/lang/ast/view-elements/view-refine.d.ts +4 -4
- package/dist/lang/ast/view-elements/view.d.ts +4 -4
- package/dist/lang/field-utils.d.ts +1 -1
- package/dist/lang/malloy-parse-info.d.ts +1 -1
- package/dist/lang/malloy-to-ast.d.ts +9 -9
- package/dist/lang/malloy-to-stable-query.d.ts +7 -7
- package/dist/lang/parse-log.d.ts +2 -2
- package/dist/lang/parse-malloy.d.ts +9 -7
- package/dist/lang/parse-tree-walkers/document-completion-walker.d.ts +2 -2
- package/dist/lang/parse-tree-walkers/document-help-context-walker.d.ts +1 -1
- package/dist/lang/parse-tree-walkers/document-symbol-walker.d.ts +4 -4
- package/dist/lang/parse-tree-walkers/explore-query-walker.d.ts +3 -3
- package/dist/lang/parse-tree-walkers/find-external-references.d.ts +4 -4
- package/dist/lang/parse-tree-walkers/find-table-path-walker.d.ts +4 -4
- package/dist/lang/parse-tree-walkers/model-annotation-walker.d.ts +4 -4
- package/dist/lang/parse-utils.d.ts +2 -2
- package/dist/lang/reference-list.d.ts +1 -1
- package/dist/lang/run-malloy-parser.d.ts +2 -2
- package/dist/lang/syntax-errors/custom-error-messages.d.ts +1 -1
- package/dist/lang/syntax-errors/malloy-parser-error-listener.d.ts +4 -4
- package/dist/lang/test/expr-to-str.d.ts +1 -1
- package/dist/lang/test/parse-expects.d.ts +2 -2
- package/dist/lang/test/test-translator.d.ts +7 -7
- package/dist/lang/translate-response.d.ts +7 -7
- package/dist/lang/utils.d.ts +3 -3
- package/dist/lang/zone.d.ts +1 -1
- package/dist/malloy.d.ts +11 -10
- package/dist/model/composite_source_utils.d.ts +1 -1
- package/dist/model/filter_compilers.d.ts +2 -2
- package/dist/model/malloy_query.d.ts +6 -6
- package/dist/model/materialization/utils.d.ts +1 -1
- package/dist/model/sql_block.d.ts +2 -2
- package/dist/model/utils.d.ts +1 -1
- package/dist/run_sql_options.d.ts +1 -1
- package/dist/to_stable.d.ts +2 -2
- package/package.json +4 -4
package/dist/annotation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tag } from '@malloydata/malloy-tag';
|
|
2
|
-
import { Annotation } from './model';
|
|
3
|
-
import { LogMessage } from './lang';
|
|
2
|
+
import type { Annotation } from './model';
|
|
3
|
+
import type { LogMessage } from './lang';
|
|
4
4
|
export interface TagParseSpec {
|
|
5
5
|
prefix?: RegExp;
|
|
6
6
|
extending?: Tag;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
2
|
-
import { InfoConnection, Connection, LookupConnection } from './connection';
|
|
3
|
-
import { URLReader } from '../runtime_types';
|
|
4
|
-
import { CacheManager } from '../malloy';
|
|
1
|
+
import type * as Malloy from '@malloydata/malloy-interfaces';
|
|
2
|
+
import type { InfoConnection, Connection, LookupConnection } from './connection';
|
|
3
|
+
import type { URLReader } from '../runtime_types';
|
|
4
|
+
import type { CacheManager } from '../malloy';
|
|
5
5
|
export interface CompilerNeedFetch<T extends InfoConnection> {
|
|
6
6
|
connections: LookupConnection<T>;
|
|
7
7
|
urls: URLReader;
|
package/dist/api/connection.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
1
|
+
import type * as Malloy from '@malloydata/malloy-interfaces';
|
|
2
2
|
export interface InfoConnection {
|
|
3
3
|
fetchSchemaForTable(name: string): Promise<Malloy.Schema>;
|
|
4
4
|
fetchSchemaForSQLQuery(sqlQuery: string): Promise<Malloy.Schema>;
|
package/dist/api/core.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
2
|
-
import { LogMessage
|
|
3
|
-
import {
|
|
2
|
+
import type { LogMessage } from '../lang';
|
|
3
|
+
import { MalloyTranslator } from '../lang';
|
|
4
|
+
import type { ModelDef } from '../model';
|
|
4
5
|
export type CompileResponse = {
|
|
5
6
|
model: Malloy.ModelInfo;
|
|
6
7
|
modelDef: ModelDef;
|
package/dist/api/stateless.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
1
|
+
import type * as Malloy from '@malloydata/malloy-interfaces';
|
|
2
2
|
export declare function compileModel(request: Malloy.CompileModelRequest): Malloy.CompileModelResponse;
|
|
3
3
|
export declare function compileSource(request: Malloy.CompileSourceRequest): Malloy.CompileSourceResponse;
|
|
4
4
|
export declare function compileQuery(request: Malloy.CompileQueryRequest): Malloy.CompileQueryResponse;
|
package/dist/api/util.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InfoConnection as LegacyInfoConnection, Connection as LegacyConnection } from '../connection';
|
|
2
|
-
import { Result } from '../malloy';
|
|
3
|
-
import { QueryData } from '../model';
|
|
4
|
-
import { Connection, InfoConnection } from './connection';
|
|
5
|
-
import * as Malloy from '@malloydata/malloy-interfaces';
|
|
1
|
+
import type { InfoConnection as LegacyInfoConnection, Connection as LegacyConnection } from '../connection';
|
|
2
|
+
import type { Result } from '../malloy';
|
|
3
|
+
import type { QueryData } from '../model';
|
|
4
|
+
import type { Connection, InfoConnection } from './connection';
|
|
5
|
+
import type * as Malloy from '@malloydata/malloy-interfaces';
|
|
6
6
|
export declare function wrapLegacyInfoConnection(connection: LegacyInfoConnection): InfoConnection;
|
|
7
7
|
export declare function wrapLegacyConnection(connection: LegacyConnection): Connection;
|
|
8
8
|
export declare function mapData(data: QueryData, schema: Malloy.Schema): Malloy.Data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SQLSourceRequest } from '../lang/translate-response';
|
|
2
|
-
import { MalloyQueryData, QueryRunStats, SQLSourceDef, StructDef, TableSourceDef } from '../model/malloy_types';
|
|
3
|
-
import { RunSQLOptions } from '../run_sql_options';
|
|
4
|
-
import { Connection, FetchSchemaOptions, PersistSQLResults, PooledConnection, StreamingConnection } from './types';
|
|
1
|
+
import type { SQLSourceRequest } from '../lang/translate-response';
|
|
2
|
+
import type { MalloyQueryData, QueryRunStats, SQLSourceDef, StructDef, TableSourceDef } from '../model/malloy_types';
|
|
3
|
+
import type { RunSQLOptions } from '../run_sql_options';
|
|
4
|
+
import type { Connection, FetchSchemaOptions, PersistSQLResults, PooledConnection, StreamingConnection } from './types';
|
|
5
5
|
export interface SchemaFound<T extends StructDef> {
|
|
6
6
|
schema: T;
|
|
7
7
|
error?: undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RunSQLOptions } from '../run_sql_options';
|
|
2
|
-
import { Annotation, MalloyQueryData, QueryDataRow, QueryRunStats, SQLSourceDef, TableSourceDef } from '../model/malloy_types';
|
|
3
|
-
import { Dialect } from '../dialect';
|
|
4
|
-
import { SQLSourceRequest } from '../lang/translate-response';
|
|
1
|
+
import type { RunSQLOptions } from '../run_sql_options';
|
|
2
|
+
import type { Annotation, MalloyQueryData, QueryDataRow, QueryRunStats, SQLSourceDef, TableSourceDef } from '../model/malloy_types';
|
|
3
|
+
import type { Dialect } from '../dialect';
|
|
4
|
+
import type { SQLSourceRequest } from '../lang/translate-response';
|
|
5
5
|
/**
|
|
6
6
|
* Options passed to fetchSchema methods.
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Expr, Sampling, AtomicTypeDef, MeasureTimeExpr, TimeTruncExpr, TimeExtractExpr, TimeDeltaExpr, TypecastExpr, RegexMatchExpr, TimeLiteralNode, RecordLiteralNode, ArrayLiteralNode, LeafAtomicTypeDef, OrderBy } from '../model/malloy_types';
|
|
2
|
-
import { DialectFunctionOverloadDef } from './functions';
|
|
1
|
+
import type { Expr, Sampling, AtomicTypeDef, MeasureTimeExpr, TimeTruncExpr, TimeExtractExpr, TimeDeltaExpr, TypecastExpr, RegexMatchExpr, TimeLiteralNode, RecordLiteralNode, ArrayLiteralNode, LeafAtomicTypeDef, OrderBy } from '../model/malloy_types';
|
|
2
|
+
import type { DialectFunctionOverloadDef } from './functions';
|
|
3
3
|
type DialectFieldTypes = string | 'struct';
|
|
4
4
|
interface DialectField {
|
|
5
5
|
type: DialectFieldTypes;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DefinitionBlueprintMap } from '../functions/util';
|
|
1
|
+
import type { DefinitionBlueprintMap } from '../functions/util';
|
|
2
2
|
export declare const DUCKDB_DIALECT_FUNCTIONS: DefinitionBlueprintMap;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Sampling, AtomicTypeDef, TimeDeltaExpr, RegexMatchExpr, MeasureTimeExpr, LeafAtomicTypeDef, RecordLiteralNode, OrderBy } from '../../model/malloy_types';
|
|
2
|
-
import { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
-
import { DialectFieldList, FieldReferenceType } from '../dialect';
|
|
1
|
+
import type { Sampling, AtomicTypeDef, TimeDeltaExpr, RegexMatchExpr, MeasureTimeExpr, LeafAtomicTypeDef, RecordLiteralNode, OrderBy } from '../../model/malloy_types';
|
|
2
|
+
import type { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
+
import type { DialectFieldList, FieldReferenceType } from '../dialect';
|
|
4
4
|
import { PostgresBase } from '../pg_impl';
|
|
5
5
|
export declare class DuckDBDialect extends PostgresBase {
|
|
6
6
|
name: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
1
|
+
import type { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
2
2
|
export declare const DUCKDB_MALLOY_STANDARD_OVERLOADS: OverrideMap;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefinitionBlueprint, DialectFunctionOverloadDef, ImplementationBlueprint } from './util';
|
|
1
|
+
import type { DefinitionBlueprint, DialectFunctionOverloadDef, ImplementationBlueprint } from './util';
|
|
2
2
|
type D = DefinitionBlueprint;
|
|
3
3
|
type I = ImplementationBlueprint;
|
|
4
4
|
type DefinitionsFor<T> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FunctionParameterDef, TypeDesc, Expr, FunctionParamTypeDesc, LeafExpressionType, FunctionReturnTypeDesc, FunctionParameterTypeDef, ExpressionType, EvalSpace, FunctionGenericTypeDef } from '../../model/malloy_types';
|
|
2
|
-
import { SQLExprElement } from '../../model/utils';
|
|
1
|
+
import type { FunctionParameterDef, TypeDesc, Expr, FunctionParamTypeDesc, LeafExpressionType, FunctionReturnTypeDesc, FunctionParameterTypeDef, ExpressionType, EvalSpace, FunctionGenericTypeDef } from '../../model/malloy_types';
|
|
2
|
+
import type { SQLExprElement } from '../../model/utils';
|
|
3
3
|
export interface DialectFunctionOverloadDef {
|
|
4
4
|
returnType: FunctionReturnTypeDesc;
|
|
5
5
|
params: FunctionParameterDef[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DefinitionBlueprintMap } from '../functions/util';
|
|
1
|
+
import type { DefinitionBlueprintMap } from '../functions/util';
|
|
2
2
|
export declare const MYSQL_DIALECT_FUNCTIONS: DefinitionBlueprintMap;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
1
|
+
import type { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
2
2
|
export declare const MYSQL_MALLOY_STANDARD_OVERLOADS: OverrideMap;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Sampling, MeasureTimeExpr, TimeLiteralNode, RegexMatchExpr, TimeDeltaExpr, TimeTruncExpr, TimeExtractExpr, TypecastExpr, LeafAtomicTypeDef, AtomicTypeDef, ArrayLiteralNode, RecordLiteralNode } from '../../model/malloy_types';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { Sampling, MeasureTimeExpr, TimeLiteralNode, RegexMatchExpr, TimeDeltaExpr, TimeTruncExpr, TimeExtractExpr, TypecastExpr, LeafAtomicTypeDef, AtomicTypeDef, ArrayLiteralNode, RecordLiteralNode } from '../../model/malloy_types';
|
|
2
|
+
import type { DialectFieldList, FieldReferenceType, QueryInfo } from '../dialect';
|
|
3
|
+
import { Dialect } from '../dialect';
|
|
4
|
+
import type { DialectFunctionOverloadDef } from '../functions';
|
|
4
5
|
export declare class MySQLDialect extends Dialect {
|
|
5
6
|
name: string;
|
|
6
7
|
defaultNumberType: string;
|
|
@@ -23,13 +23,6 @@
|
|
|
23
23
|
*/
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.MySQLDialect = void 0;
|
|
26
|
-
// import {
|
|
27
|
-
// Dialect,
|
|
28
|
-
// DialectFieldList,
|
|
29
|
-
// QueryInfo,
|
|
30
|
-
// qtz,
|
|
31
|
-
// DialectFunctionOverloadDef,
|
|
32
|
-
// } from '..';
|
|
33
26
|
const malloy_types_1 = require("../../model/malloy_types");
|
|
34
27
|
const utils_1 = require("../../model/utils");
|
|
35
28
|
const dialect_1 = require("../dialect");
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ArrayLiteralNode, RecordLiteralNode, RegexMatchExpr, TimeExtractExpr, TimeLiteralNode, TimeTruncExpr, TypecastExpr } from '../model/malloy_types';
|
|
2
|
-
import {
|
|
1
|
+
import type { ArrayLiteralNode, RecordLiteralNode, RegexMatchExpr, TimeExtractExpr, TimeLiteralNode, TimeTruncExpr, TypecastExpr } from '../model/malloy_types';
|
|
2
|
+
import type { QueryInfo } from './dialect';
|
|
3
|
+
import { Dialect } from './dialect';
|
|
3
4
|
export declare const timeExtractMap: Record<string, string>;
|
|
4
5
|
/**
|
|
5
6
|
* Many SQL implementations started with the PostGres source, and therefore can use the
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DefinitionBlueprintMap } from '../functions/util';
|
|
1
|
+
import type { DefinitionBlueprintMap } from '../functions/util';
|
|
2
2
|
export declare const POSTGRES_DIALECT_FUNCTIONS: DefinitionBlueprintMap;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
1
|
+
import type { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
2
2
|
export declare const POSTGRES_MALLOY_STANDARD_OVERLOADS: OverrideMap;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Sampling, AtomicTypeDef, TimeDeltaExpr, TypecastExpr, MeasureTimeExpr, LeafAtomicTypeDef, RecordLiteralNode, ArrayLiteralNode } from '../../model/malloy_types';
|
|
2
|
-
import { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
-
import { DialectFieldList, FieldReferenceType, QueryInfo } from '../dialect';
|
|
1
|
+
import type { Sampling, AtomicTypeDef, TimeDeltaExpr, TypecastExpr, MeasureTimeExpr, LeafAtomicTypeDef, RecordLiteralNode, ArrayLiteralNode } from '../../model/malloy_types';
|
|
2
|
+
import type { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
+
import type { DialectFieldList, FieldReferenceType, QueryInfo } from '../dialect';
|
|
4
4
|
import { PostgresBase } from '../pg_impl';
|
|
5
5
|
export declare class PostgresDialect extends PostgresBase {
|
|
6
6
|
name: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DefinitionBlueprintMap } from '../functions/util';
|
|
1
|
+
import type { DefinitionBlueprintMap } from '../functions/util';
|
|
2
2
|
export declare const SNOWFLAKE_DIALECT_FUNCTIONS: DefinitionBlueprintMap;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
1
|
+
import type { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
2
2
|
export declare const SNOWFLAKE_MALLOY_STANDARD_OVERLOADS: OverrideMap;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Sampling, AtomicTypeDef, TimeTruncExpr, TimeExtractExpr, TimeDeltaExpr, TypecastExpr, TimeLiteralNode, MeasureTimeExpr, RegexMatchExpr, LeafAtomicTypeDef, ArrayLiteralNode, RecordLiteralNode } from '../../model/malloy_types';
|
|
2
|
-
import { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
-
import {
|
|
1
|
+
import type { Sampling, AtomicTypeDef, TimeTruncExpr, TimeExtractExpr, TimeDeltaExpr, TypecastExpr, TimeLiteralNode, MeasureTimeExpr, RegexMatchExpr, LeafAtomicTypeDef, ArrayLiteralNode, RecordLiteralNode } from '../../model/malloy_types';
|
|
2
|
+
import type { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
+
import type { DialectFieldList, FieldReferenceType, QueryInfo } from '../dialect';
|
|
4
|
+
import { Dialect } from '../dialect';
|
|
4
5
|
export declare class SnowflakeDialect extends Dialect {
|
|
5
6
|
name: string;
|
|
6
7
|
experimental: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DefinitionBlueprintMap } from '../functions/util';
|
|
1
|
+
import type { DefinitionBlueprintMap } from '../functions/util';
|
|
2
2
|
export declare const STANDARDSQL_DIALECT_FUNCTIONS: DefinitionBlueprintMap;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
1
|
+
import type { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
2
2
|
export declare const STANDARDSQL_MALLOY_STANDARD_OVERLOADS: OverrideMap;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Sampling, AtomicTypeDef, TimeTruncExpr, TimeExtractExpr, TimeDeltaExpr, TypecastExpr, RegexMatchExpr, TimeLiteralNode, MeasureTimeExpr, LeafAtomicTypeDef, RecordLiteralNode, ArrayLiteralNode } from '../../model/malloy_types';
|
|
2
|
-
import { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
-
import {
|
|
1
|
+
import type { Sampling, AtomicTypeDef, TimeTruncExpr, TimeExtractExpr, TimeDeltaExpr, TypecastExpr, RegexMatchExpr, TimeLiteralNode, MeasureTimeExpr, LeafAtomicTypeDef, RecordLiteralNode, ArrayLiteralNode } from '../../model/malloy_types';
|
|
2
|
+
import type { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
+
import type { DialectFieldList, QueryInfo } from '../dialect';
|
|
4
|
+
import { Dialect } from '../dialect';
|
|
4
5
|
export declare class StandardSQLDialect extends Dialect {
|
|
5
6
|
name: string;
|
|
6
7
|
experimental: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefinitionBlueprintMap } from '../functions/util';
|
|
1
|
+
import type { DefinitionBlueprintMap } from '../functions/util';
|
|
2
2
|
/**
|
|
3
3
|
* This map is for functions which exist in both Presto and Trino.
|
|
4
4
|
* If you are adding functions which only exist in Presto, put them in
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
1
|
+
import type { MalloyStandardFunctionImplementations as OverrideMap } from '../functions/malloy_standard_functions';
|
|
2
2
|
export declare const TRINO_MALLOY_STANDARD_OVERLOADS: OverrideMap;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Expr, Sampling, AtomicTypeDef, TimeDeltaExpr, TypecastExpr, RegexMatchExpr, MeasureTimeExpr, TimeLiteralNode, TimeExtractExpr, LeafAtomicTypeDef, RecordLiteralNode } from '../../model/malloy_types';
|
|
2
|
-
import { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
-
import { DialectFieldList, OrderByClauseType, QueryInfo } from '../dialect';
|
|
1
|
+
import type { Expr, Sampling, AtomicTypeDef, TimeDeltaExpr, TypecastExpr, RegexMatchExpr, MeasureTimeExpr, TimeLiteralNode, TimeExtractExpr, LeafAtomicTypeDef, RecordLiteralNode } from '../../model/malloy_types';
|
|
2
|
+
import type { DialectFunctionOverloadDef } from '../functions';
|
|
3
|
+
import type { DialectFieldList, OrderByClauseType, QueryInfo } from '../dialect';
|
|
4
4
|
import { PostgresBase } from '../pg_impl';
|
|
5
5
|
export declare class TrinoDialect extends PostgresBase {
|
|
6
6
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableSourceDef, IndexSegment, ProjectSegment, Query, ReduceSegment, StructDef, JoinFieldDef } from '../../model/malloy_types';
|
|
1
|
+
import type { TableSourceDef, IndexSegment, ProjectSegment, Query, ReduceSegment, StructDef, JoinFieldDef } from '../../model/malloy_types';
|
|
2
2
|
export declare class ErrorFactory {
|
|
3
3
|
static get structDef(): TableSourceDef;
|
|
4
4
|
static get joinDef(): JoinFieldDef;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExprCompare } from './expr-compare';
|
|
2
|
-
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { ExprValue } from '../types/expr-value';
|
|
4
|
-
import { FieldSpace } from '../types/field-space';
|
|
2
|
+
import type { ExpressionDef } from '../types/expression-def';
|
|
3
|
+
import type { ExprValue } from '../types/expr-value';
|
|
4
|
+
import type { FieldSpace } from '../types/field-space';
|
|
5
5
|
export declare class Apply extends ExprCompare {
|
|
6
6
|
readonly left: ExpressionDef;
|
|
7
7
|
readonly right: ExpressionDef;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BinaryMalloyOperator } from '../types/binary_operators';
|
|
2
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { BinaryMalloyOperator } from '../types/binary_operators';
|
|
2
|
+
import type { ExprValue } from '../types/expr-value';
|
|
3
3
|
import { ExpressionDef } from '../types/expression-def';
|
|
4
|
-
import { FieldSpace } from '../types/field-space';
|
|
4
|
+
import type { FieldSpace } from '../types/field-space';
|
|
5
5
|
export declare abstract class BinaryBoolean<opType extends BinaryMalloyOperator> extends ExpressionDef {
|
|
6
6
|
readonly left: ExpressionDef;
|
|
7
7
|
readonly op: opType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ArithmeticMalloyOperator } from '../types/binary_operators';
|
|
2
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { ArithmeticMalloyOperator } from '../types/binary_operators';
|
|
2
|
+
import type { ExprValue } from '../types/expr-value';
|
|
3
3
|
import { ExpressionDef } from '../types/expression-def';
|
|
4
|
-
import { FieldSpace } from '../types/field-space';
|
|
4
|
+
import type { FieldSpace } from '../types/field-space';
|
|
5
5
|
export declare abstract class BinaryNumeric<opType extends ArithmeticMalloyOperator> extends ExpressionDef {
|
|
6
6
|
readonly left: ExpressionDef;
|
|
7
7
|
readonly op: opType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { ExprValue } from '../types/expr-value';
|
|
2
2
|
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { FieldSpace } from '../types/field-space';
|
|
3
|
+
import type { FieldSpace } from '../types/field-space';
|
|
4
4
|
import { MalloyElement } from '../types/malloy-element';
|
|
5
5
|
export declare class Case extends ExpressionDef {
|
|
6
6
|
readonly value: ExpressionDef | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { StructDef } from '../../../model/malloy_types';
|
|
2
|
-
import { BinaryMalloyOperator } from '../types/binary_operators';
|
|
3
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { StructDef } from '../../../model/malloy_types';
|
|
2
|
+
import type { BinaryMalloyOperator } from '../types/binary_operators';
|
|
3
|
+
import type { ExprValue } from '../types/expr-value';
|
|
4
4
|
import { ExpressionDef } from '../types/expression-def';
|
|
5
|
-
import { FieldSpace, QueryFieldSpace } from '../types/field-space';
|
|
6
|
-
import { LookupResult } from '../types/lookup-result';
|
|
7
|
-
import { SpaceEntry } from '../types/space-entry';
|
|
5
|
+
import type { FieldSpace, QueryFieldSpace } from '../types/field-space';
|
|
6
|
+
import type { LookupResult } from '../types/lookup-result';
|
|
7
|
+
import type { SpaceEntry } from '../types/space-entry';
|
|
8
8
|
export declare class ConstantFieldSpace implements FieldSpace {
|
|
9
9
|
readonly type = "fieldSpace";
|
|
10
10
|
structDef(): StructDef;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AggregateFunctionType } from '../../../model/malloy_types';
|
|
1
|
+
import type { AggregateFunctionType } from '../../../model/malloy_types';
|
|
2
2
|
import { FieldReference } from '../query-items/field-references';
|
|
3
|
-
import { ExprValue } from '../types/expr-value';
|
|
3
|
+
import type { ExprValue } from '../types/expr-value';
|
|
4
4
|
import { ExpressionDef } from '../types/expression-def';
|
|
5
|
-
import { FieldSpace } from '../types/field-space';
|
|
6
|
-
import { JoinPath } from '../types/lookup-result';
|
|
5
|
+
import type { FieldSpace } from '../types/field-space';
|
|
6
|
+
import type { JoinPath } from '../types/lookup-result';
|
|
7
7
|
export declare abstract class ExprAggregateFunction extends ExpressionDef {
|
|
8
8
|
readonly func: AggregateFunctionType;
|
|
9
9
|
elementType: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ExprValue } from '../types/expr-value';
|
|
2
|
-
import { FieldSpace } from '../types/field-space';
|
|
1
|
+
import type { ExprValue } from '../types/expr-value';
|
|
2
|
+
import type { FieldSpace } from '../types/field-space';
|
|
3
3
|
import { ATNodeType, ExpressionDef } from '../types/expression-def';
|
|
4
|
-
import { BinaryMalloyOperator } from '../types/binary_operators';
|
|
4
|
+
import type { BinaryMalloyOperator } from '../types/binary_operators';
|
|
5
5
|
export declare class ExprAlternationTree extends ExpressionDef {
|
|
6
6
|
readonly left: ExpressionDef;
|
|
7
7
|
readonly op: '|' | '&';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { ExprValue } from '../types/expr-value';
|
|
2
2
|
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { FieldSpace } from '../types/field-space';
|
|
3
|
+
import type { FieldSpace } from '../types/field-space';
|
|
4
4
|
export declare class ArrayLiteral extends ExpressionDef {
|
|
5
5
|
readonly elements: ExpressionDef[];
|
|
6
6
|
elementType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldReference } from '../query-items/field-references';
|
|
2
|
-
import { ExprValue } from '../types/expr-value';
|
|
3
|
-
import { ExpressionDef } from '../types/expression-def';
|
|
1
|
+
import type { FieldReference } from '../query-items/field-references';
|
|
2
|
+
import type { ExprValue } from '../types/expr-value';
|
|
3
|
+
import type { ExpressionDef } from '../types/expression-def';
|
|
4
4
|
import { ExprAggregateFunction } from './expr-aggregate-function';
|
|
5
5
|
export declare abstract class ExprAsymmetric extends ExprAggregateFunction {
|
|
6
6
|
readonly func: 'sum' | 'avg';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FieldReference } from '../query-items/field-references';
|
|
2
|
-
import { ExpressionDef } from '../types/expression-def';
|
|
1
|
+
import type { FieldReference } from '../query-items/field-references';
|
|
2
|
+
import type { ExpressionDef } from '../types/expression-def';
|
|
3
3
|
import { ExprAsymmetric } from './expr-asymmetric';
|
|
4
4
|
export declare class ExprAvg extends ExprAsymmetric {
|
|
5
5
|
constructor(expr: ExpressionDef | undefined, source?: FieldReference, explicitSource?: boolean);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CastType } from '../../../model';
|
|
2
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { CastType } from '../../../model';
|
|
2
|
+
import type { ExprValue } from '../types/expr-value';
|
|
3
3
|
import { ExpressionDef } from '../types/expression-def';
|
|
4
|
-
import { FieldSpace } from '../types/field-space';
|
|
4
|
+
import type { FieldSpace } from '../types/field-space';
|
|
5
5
|
export declare class ExprCast extends ExpressionDef {
|
|
6
6
|
readonly expr: ExpressionDef;
|
|
7
7
|
readonly castType: CastType | {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { ExprValue } from '../types/expr-value';
|
|
2
2
|
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { FieldSpace } from '../types/field-space';
|
|
3
|
+
import type { FieldSpace } from '../types/field-space';
|
|
4
4
|
export declare class ExprCoalesce extends ExpressionDef {
|
|
5
5
|
readonly expr: ExpressionDef;
|
|
6
6
|
readonly altExpr: ExpressionDef;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BinaryMalloyOperator, CompareMalloyOperator, EqualityMalloyOperator } from '../types/binary_operators';
|
|
2
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { BinaryMalloyOperator, CompareMalloyOperator, EqualityMalloyOperator } from '../types/binary_operators';
|
|
2
|
+
import type { ExprValue } from '../types/expr-value';
|
|
3
3
|
import { ExpressionDef } from '../types/expression-def';
|
|
4
|
-
import { FieldSpace } from '../types/field-space';
|
|
4
|
+
import type { FieldSpace } from '../types/field-space';
|
|
5
5
|
import { BinaryBoolean } from './binary-boolean';
|
|
6
6
|
export declare class ExprCompare extends BinaryBoolean<CompareMalloyOperator> {
|
|
7
7
|
elementType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExprAggregateFunction } from './expr-aggregate-function';
|
|
2
|
-
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { ExprValue } from '../types/expr-value';
|
|
2
|
+
import type { ExpressionDef } from '../types/expression-def';
|
|
3
|
+
import type { ExprValue } from '../types/expr-value';
|
|
4
4
|
export declare class ExprCountDistinct extends ExprAggregateFunction {
|
|
5
5
|
legalChildTypes: import("../../..").TypeDesc[];
|
|
6
6
|
constructor(expr: ExpressionDef);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldReference } from '../query-items/field-references';
|
|
2
|
-
import { ExprValue } from '../types/expr-value';
|
|
3
|
-
import { FieldSpace } from '../types/field-space';
|
|
1
|
+
import type { FieldReference } from '../query-items/field-references';
|
|
2
|
+
import type { ExprValue } from '../types/expr-value';
|
|
3
|
+
import type { FieldSpace } from '../types/field-space';
|
|
4
4
|
import { ExprAggregateFunction } from './expr-aggregate-function';
|
|
5
5
|
export declare class ExprCount extends ExprAggregateFunction {
|
|
6
6
|
readonly source?: FieldReference | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BinaryMalloyOperator } from '../types/binary_operators';
|
|
2
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { BinaryMalloyOperator } from '../types/binary_operators';
|
|
2
|
+
import type { ExprValue } from '../types/expr-value';
|
|
3
3
|
import { ExpressionDef } from '../types/expression-def';
|
|
4
|
-
import { FieldSpace } from '../types/field-space';
|
|
4
|
+
import type { FieldSpace } from '../types/field-space';
|
|
5
5
|
export declare class ExprFilterExpression extends ExpressionDef {
|
|
6
6
|
readonly filterText: string;
|
|
7
7
|
elementType: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CastType } from '../../../model/malloy_types';
|
|
2
|
-
import { FieldReference } from '../query-items/field-references';
|
|
3
|
-
import { FunctionOrdering } from './function-ordering';
|
|
4
|
-
import { Limit } from '../query-properties/limit';
|
|
5
|
-
import { PartitionBy } from './partition_by';
|
|
6
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { CastType } from '../../../model/malloy_types';
|
|
2
|
+
import type { FieldReference } from '../query-items/field-references';
|
|
3
|
+
import type { FunctionOrdering } from './function-ordering';
|
|
4
|
+
import type { Limit } from '../query-properties/limit';
|
|
5
|
+
import type { PartitionBy } from './partition_by';
|
|
6
|
+
import type { ExprValue } from '../types/expr-value';
|
|
7
7
|
import { ExpressionDef } from '../types/expression-def';
|
|
8
|
-
import { FieldSpace } from '../types/field-space';
|
|
8
|
+
import type { FieldSpace } from '../types/field-space';
|
|
9
9
|
export declare class ExprFunc extends ExpressionDef {
|
|
10
10
|
readonly name: string;
|
|
11
11
|
readonly args: ExpressionDef[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TimestampUnit } from '../../../model/malloy_types';
|
|
2
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { TimestampUnit } from '../../../model/malloy_types';
|
|
2
|
+
import type { ExprValue } from '../types/expr-value';
|
|
3
3
|
import { ExpressionDef } from '../types/expression-def';
|
|
4
|
-
import { FieldSpace } from '../types/field-space';
|
|
4
|
+
import type { FieldSpace } from '../types/field-space';
|
|
5
5
|
import { Range } from './range';
|
|
6
6
|
/**
|
|
7
7
|
* GranularTime is a moment in time which ALSO has a "granularity"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExprValue } from '../types/expr-value';
|
|
2
|
-
import { FieldReference } from '../query-items/field-references';
|
|
3
|
-
import { FieldSpace } from '../types/field-space';
|
|
1
|
+
import type { ExprValue } from '../types/expr-value';
|
|
2
|
+
import type { FieldReference } from '../query-items/field-references';
|
|
3
|
+
import type { FieldSpace } from '../types/field-space';
|
|
4
4
|
import { ExpressionDef } from '../types/expression-def';
|
|
5
5
|
export declare class ExprIdReference extends ExpressionDef {
|
|
6
6
|
readonly fieldReference: FieldReference;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExprAggregateFunction } from './expr-aggregate-function';
|
|
2
|
-
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { ExprValue } from '../types/expr-value';
|
|
2
|
+
import type { ExpressionDef } from '../types/expression-def';
|
|
3
|
+
import type { ExprValue } from '../types/expr-value';
|
|
4
4
|
export declare class ExprMax extends ExprAggregateFunction {
|
|
5
5
|
legalChildTypes: import("../../..").TypeDesc[];
|
|
6
6
|
constructor(expr: ExpressionDef);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExprAggregateFunction } from './expr-aggregate-function';
|
|
2
|
-
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { ExprValue } from '../types/expr-value';
|
|
2
|
+
import type { ExpressionDef } from '../types/expression-def';
|
|
3
|
+
import type { ExprValue } from '../types/expr-value';
|
|
4
4
|
export declare class ExprMin extends ExprAggregateFunction {
|
|
5
5
|
legalChildTypes: import("../../..").TypeDesc[];
|
|
6
6
|
constructor(expr: ExpressionDef);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExprValue } from '../types/expr-value';
|
|
1
|
+
import type { ExprValue } from '../types/expr-value';
|
|
2
2
|
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { FieldSpace } from '../types/field-space';
|
|
3
|
+
import type { FieldSpace } from '../types/field-space';
|
|
4
4
|
export declare class ExprMinus extends ExpressionDef {
|
|
5
5
|
readonly expr: ExpressionDef;
|
|
6
6
|
elementType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExprValue } from '../types/expr-value';
|
|
2
|
-
import { ExpressionDef } from '../types/expression-def';
|
|
3
|
-
import { FieldSpace } from '../types/field-space';
|
|
1
|
+
import type { ExprValue } from '../types/expr-value';
|
|
2
|
+
import type { ExpressionDef } from '../types/expression-def';
|
|
3
|
+
import type { FieldSpace } from '../types/field-space';
|
|
4
4
|
import { Unary } from './unary';
|
|
5
5
|
export declare class ExprNot extends Unary {
|
|
6
6
|
elementType: string;
|