@malloydata/malloy
Advanced tools
Comparing version 0.0.16-dev221209194115 to 0.0.16-dev221214152428
@@ -30,2 +30,3 @@ import { AtomicFieldTypeInner, TimeFieldType, TimestampUnit, ExtractUnit, DialectFragment, TimeValue } from ".."; | ||
abstract supportsCTEinCoorelatedSubQueries: boolean; | ||
abstract dontUnionIndex: boolean; | ||
abstract quoteTablePath(tablePath: string): string; | ||
@@ -32,0 +33,0 @@ abstract sqlGroupSetTable(groupSetCount: number): string; |
@@ -16,2 +16,3 @@ import { DateUnit, Expr, ExtractUnit, Sampling, StructDef, TimeFieldType, TimestampUnit, TimeValue, TypecastFragment } from "../model"; | ||
supportsCTEinCoorelatedSubQueries: boolean; | ||
dontUnionIndex: boolean; | ||
functionInfo: Record<string, FunctionInfo>; | ||
@@ -18,0 +19,0 @@ get udfPrefix(): string; |
@@ -126,2 +126,3 @@ "use strict"; | ||
this.supportsCTEinCoorelatedSubQueries = true; | ||
this.dontUnionIndex = true; // false; | ||
this.functionInfo = { | ||
@@ -180,2 +181,4 @@ concat: { returnType: "string" }, | ||
1)) as __row_id) as ${alias} ON ${alias}.__row_id <= array_length(${source})`; | ||
// When DuckDB supports lateral joins... | ||
//return `,(select UNNEST(generate_series(1, length(${source}),1))) as ${alias}(__row_id)`; | ||
} | ||
@@ -182,0 +185,0 @@ sqlSumDistinctHashedKey(_sqlDistinctKey) { |
@@ -17,2 +17,3 @@ import { DateUnit, ExtractUnit, TimeFieldType, TimestampUnit, Expr, TimeValue, TypecastFragment, Sampling } from "../model"; | ||
supportsCTEinCoorelatedSubQueries: boolean; | ||
dontUnionIndex: boolean; | ||
functionInfo: Record<string, FunctionInfo>; | ||
@@ -19,0 +20,0 @@ quoteTablePath(tablePath: string): string; |
@@ -55,2 +55,3 @@ "use strict"; | ||
this.supportsCTEinCoorelatedSubQueries = true; | ||
this.dontUnionIndex = false; | ||
this.functionInfo = { | ||
@@ -57,0 +58,0 @@ concat: { returnType: "string" }, |
@@ -17,2 +17,3 @@ import { TimestampUnit, ExtractUnit, Expr, TimeValue, TypecastFragment, Sampling } from "../model"; | ||
supportsCTEinCoorelatedSubQueries: boolean; | ||
dontUnionIndex: boolean; | ||
functionInfo: Record<string, FunctionInfo>; | ||
@@ -19,0 +20,0 @@ quoteTablePath(tablePath: string): string; |
@@ -49,2 +49,3 @@ "use strict"; | ||
this.supportsCTEinCoorelatedSubQueries = false; | ||
this.dontUnionIndex = true; // bigquery can't use a sample table more than once in a query. | ||
this.functionInfo = { | ||
@@ -51,0 +52,0 @@ timestamp_seconds: { returnType: "timestamp" }, |
{ | ||
"name": "@malloydata/malloy", | ||
"version": "0.0.16-dev221209194115", | ||
"version": "0.0.16-dev221214152428", | ||
"license": "GPL-2.0", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1582386
41175