@malloydata/malloy-tests 0.0.180 → 0.0.181-dev240907212110
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/package.json
CHANGED
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@jest/globals": "^29.4.3",
|
|
24
|
-
"@malloydata/db-bigquery": "^0.0.
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.
|
|
28
|
-
"@malloydata/db-trino": "^0.0.
|
|
29
|
-
"@malloydata/malloy": "^0.0.
|
|
30
|
-
"@malloydata/render": "^0.0.
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.181-dev240907212110",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.181-dev240907212110",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.181-dev240907212110",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.181-dev240907212110",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.181-dev240907212110",
|
|
29
|
+
"@malloydata/malloy": "^0.0.181-dev240907212110",
|
|
30
|
+
"@malloydata/render": "^0.0.181-dev240907212110",
|
|
31
31
|
"jsdom": "^22.1.0",
|
|
32
32
|
"luxon": "^2.4.0",
|
|
33
33
|
"madge": "^6.0.0"
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@types/jsdom": "^21.1.1",
|
|
37
37
|
"@types/luxon": "^2.4.0"
|
|
38
38
|
},
|
|
39
|
-
"version": "0.0.
|
|
39
|
+
"version": "0.0.181-dev240907212110"
|
|
40
40
|
}
|
|
@@ -676,6 +676,33 @@ describe.each(runtimes.runtimeList)('%s', (databaseName, runtime) => {
|
|
|
676
676
|
`).malloyResultMatches(runtime, {model_count: 60461, b_count: 355});
|
|
677
677
|
}
|
|
678
678
|
);
|
|
679
|
+
|
|
680
|
+
test('joined filtered explores with NO dependencies', async () => {
|
|
681
|
+
await expect(`
|
|
682
|
+
source: sf is ${databaseName}.table('malloytest.state_facts') extend {
|
|
683
|
+
measure: state_count is count()
|
|
684
|
+
primary_key: state
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
source: al is sf extend {where: state = 'AL'}
|
|
688
|
+
|
|
689
|
+
source: a is sf extend {
|
|
690
|
+
where: state ~ 'A%'
|
|
691
|
+
join_one: al with state
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
source: allx is sf extend {
|
|
695
|
+
join_one: a with state
|
|
696
|
+
}
|
|
697
|
+
// # test.debug
|
|
698
|
+
run: allx -> {
|
|
699
|
+
aggregate:
|
|
700
|
+
allx is state_count
|
|
701
|
+
a is a.state_count
|
|
702
|
+
al is a.al.state_count
|
|
703
|
+
}
|
|
704
|
+
`).malloyResultMatches(runtime, {allx: 51, a: 4, al: 1});
|
|
705
|
+
});
|
|
679
706
|
});
|
|
680
707
|
|
|
681
708
|
describe.each(runtimes.runtimeList)('%s', (databaseName, runtime) => {
|