Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove @dataform/sql package and common_v1 example #1415

Merged
merged 5 commits into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions examples/common_v1/BUILD

This file was deleted.

5 changes: 0 additions & 5 deletions examples/common_v1/dataform.json

This file was deleted.

3 changes: 0 additions & 3 deletions examples/common_v1/definitions/example_backticks.sql

This file was deleted.

1 change: 0 additions & 1 deletion examples/common_v1/definitions/example_deferred.js

This file was deleted.

4 changes: 0 additions & 4 deletions examples/common_v1/definitions/example_incremental.sql

This file was deleted.

2 changes: 0 additions & 2 deletions examples/common_v1/definitions/example_inline.sql

This file was deleted.

5 changes: 0 additions & 5 deletions examples/common_v1/definitions/example_js_blocks.sql

This file was deleted.

2 changes: 0 additions & 2 deletions examples/common_v1/definitions/example_table.sql

This file was deleted.

3 changes: 0 additions & 3 deletions examples/common_v1/definitions/example_table_dependency.sql

This file was deleted.

3 changes: 0 additions & 3 deletions examples/common_v1/definitions/example_using_inline.sql

This file was deleted.

2 changes: 0 additions & 2 deletions examples/common_v1/definitions/example_view.sql

This file was deleted.

3 changes: 0 additions & 3 deletions examples/common_v1/definitions/sample_data.sql

This file was deleted.

10 changes: 0 additions & 10 deletions examples/common_v1/definitions/test.js

This file was deleted.

4 changes: 0 additions & 4 deletions examples/common_v1/includes/macros.js

This file was deleted.

6 changes: 0 additions & 6 deletions examples/common_v1/package.json

This file was deleted.

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",
],
)
53 changes: 0 additions & 53 deletions packages/@dataform/sql/BUILD

This file was deleted.

20 changes: 0 additions & 20 deletions packages/@dataform/sql/index.ts

This file was deleted.

37 changes: 0 additions & 37 deletions sql/BUILD

This file was deleted.

61 changes: 0 additions & 61 deletions sql/README.md

This file was deleted.

83 changes: 0 additions & 83 deletions sql/builders/aggregate.ts

This file was deleted.

Loading