@malloydata/malloy 0.0.129-dev240311012659 → 0.0.129-dev240311140438
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.
|
@@ -41,6 +41,7 @@ export declare abstract class Dialect {
|
|
|
41
41
|
cantPartitionWindowFunctionsOnExpressions: boolean;
|
|
42
42
|
supportsPipelinesInViews: boolean;
|
|
43
43
|
supportsArraysInData: boolean;
|
|
44
|
+
readsNestedData: boolean;
|
|
44
45
|
abstract getGlobalFunctionDef(name: string): DialectFunctionOverloadDef[] | undefined;
|
|
45
46
|
abstract quoteTablePath(tablePath: string): string;
|
|
46
47
|
abstract sqlGroupSetTable(groupSetCount: number): string;
|
package/dist/dialect/dialect.js
CHANGED
|
@@ -62,6 +62,8 @@ class Dialect {
|
|
|
62
62
|
this.supportsPipelinesInViews = true;
|
|
63
63
|
// Some dialects don't supporrt arrays.
|
|
64
64
|
this.supportsArraysInData = true;
|
|
65
|
+
// can read some version of ga_sample
|
|
66
|
+
this.readsNestedData = true;
|
|
65
67
|
}
|
|
66
68
|
sqlFinalStage(_lastStageName, _fields) {
|
|
67
69
|
throw new Error('Dialect has no final Stage but called Anyway');
|
|
@@ -21,6 +21,7 @@ export declare class PostgresDialect extends Dialect {
|
|
|
21
21
|
supportsQualify: boolean;
|
|
22
22
|
globalFunctions: import("../functions/function_map").FunctionMap;
|
|
23
23
|
supportsNesting: boolean;
|
|
24
|
+
readsNestedData: boolean;
|
|
24
25
|
quoteTablePath(tablePath: string): string;
|
|
25
26
|
sqlGroupSetTable(groupSetCount: number): string;
|
|
26
27
|
sqlAnyValue(groupSet: number, fieldName: string): string;
|