Skip to content

Commit 90245d4

Browse files
authored
Bump to version 3.0.14 (#1926)
* Bump to 3.0.14 * Re-enabled data preparation tests using the EXPECT syntax.
1 parent adbd9f7 commit 90245d4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

core/actions/data_preparation_test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ $\{when(true, "|> SELECT *", "|> SELECT 1")\}
238238

239239
test(`data preparations can be loaded via sqlx file with file name as action name`, () => {
240240
const projectDir = createSimpleDataPreparationProject(VALID_WORKFLOW_SETTINGS_YAML, false);
241-
// TODO(fernst): decide on future of `validate(`.
242241
const dataPreparationSqlx = `
243242
config {
244243
type: "dataPreparation",
@@ -252,6 +251,7 @@ config {
252251
}
253252
254253
FROM x
254+
|> $\{EXPECT\} y > 0
255255
$\{when(true, "|> SELECT *", "|> SELECT 1")\}
256256
`;
257257

@@ -305,6 +305,7 @@ $\{when(true, "|> SELECT *", "|> SELECT 1")\}
305305
replace: {}
306306
},
307307
query: `FROM x
308+
|> /* @@VALIDATION */ WHERE y > 0
308309
|> SELECT *`,
309310
errorTable: {
310311
database: "errorPrj",
@@ -319,7 +320,6 @@ $\{when(true, "|> SELECT *", "|> SELECT 1")\}
319320

320321
test(`data preparations can be loaded via dp.sqlx file with file name as action name`, () => {
321322
const projectDir = createSimpleDataPreparationProject(VALID_WORKFLOW_SETTINGS_YAML, false);
322-
// TODO(fernst): decide on future of `validate(`.
323323
const dataPreparationSqlx = `
324324
config {
325325
type: "dataPreparation",
@@ -333,6 +333,7 @@ config {
333333
}
334334
335335
FROM x
336+
|> $\{EXPECT\} y > 0
336337
$\{when(true, "|> SELECT *", "|> SELECT 1")\}
337338
`;
338339

@@ -386,6 +387,7 @@ $\{when(true, "|> SELECT *", "|> SELECT 1")\}
386387
replace: {}
387388
},
388389
query: `FROM x
390+
|> /* @@VALIDATION */ WHERE y > 0
389391
|> SELECT *`,
390392
errorTable: {
391393
database: "errorPrj",

version.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DF_VERSION = "3.0.13"
1+
DF_VERSION = "3.0.14"

0 commit comments

Comments
 (0)