@narrative.io/data-collaboration-sdk-ts 2.51.0 → 2.53.0
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/build/nql/AstParser.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export interface CreateMaterializedViewMetadata {
|
|
|
16
16
|
writeMode?: QueryWriteMode;
|
|
17
17
|
extendedStats?: QueryExtendedStats;
|
|
18
18
|
partitionedBy?: QueryPartitionedByEntry[];
|
|
19
|
+
clusterType: "shared" | "dedicated";
|
|
19
20
|
}
|
|
20
21
|
export type QueryWriteMode = "append" | "overwrite";
|
|
21
22
|
export type QueryExtendedStats = "all" | "none";
|
package/build/queries/types.d.ts
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import type { CollaboratorsConfig } from "src/types";
|
|
2
2
|
import type * as Parser from "../nql/AstParser";
|
|
3
|
+
export interface CondensedNqlDatasetSource {
|
|
4
|
+
type: "dataset";
|
|
5
|
+
datasetName: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CondensedNqlRosettaSource {
|
|
8
|
+
type: "rosetta_stone";
|
|
9
|
+
}
|
|
10
|
+
export type CondensedNqlSource = CondensedNqlDatasetSource | CondensedNqlRosettaSource;
|
|
3
11
|
export interface NqlQueryAst {
|
|
4
12
|
parsed: Parser.Select;
|
|
5
13
|
compiled: string;
|
|
6
14
|
placeholdersWithContext?: unknown[];
|
|
15
|
+
sources?: CondensedNqlSource[];
|
|
7
16
|
ast_metadata: {
|
|
8
17
|
node_type: "multiple";
|
|
9
18
|
};
|