Skip to content

Commit

Permalink
Merge branch 'remove-common-v1' into burn-the-dead
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekrekr committed Jan 3, 2023
2 parents 2f34f0d + 70e8059 commit c0bf24b
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 384 deletions.
1 change: 0 additions & 1 deletion examples/common_v2/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ node_modules(
name = "node_modules",
deps = [
"//packages/@dataform/core:package_tar",
"//packages/@dataform/sql:package_tar",
],
)
4 changes: 1 addition & 3 deletions examples/common_v2/definitions/example_incremental.sqlx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
config { type: "incremental", protected: true, hermetic: false }

js { const sql = require("@dataform/sql"); }

select ${sql().timestamps.currentUTC()} as ts
select current_timestamp() as ts

incremental_where {
ts > (select max(ts) from ${self()}) or (select max(ts) from ${self()}) is null
Expand Down
4 changes: 1 addition & 3 deletions examples/common_v2/definitions/example_is_incremental.sqlx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
config { type: "incremental", protected: true, hermetic: false }

js { const sql = require("@dataform/sql"); }

select * from (
select ${sql().timestamps.currentUTC()} as ts
select current_timestamp() as ts
)

${when(incremental(), `where ts > (select max(ts) from ${self()}) or (select max(ts) from ${self()}) is null`)}
Expand Down
1 change: 0 additions & 1 deletion examples/formatter/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ node_modules(
name = "node_modules",
deps = [
"//packages/@dataform/core:package_tar",
"//packages/@dataform/sql:package_tar",
],
)
1 change: 0 additions & 1 deletion examples/never_finishes_compiling/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ node_modules(
name = "node_modules",
deps = [
"//packages/@dataform/core:package_tar",
"//packages/@dataform/sql:package_tar",
],
)
Loading

0 comments on commit c0bf24b

Please sign in to comment.