-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 migrate to create streaming table api from create streaming live t…
…able (#39)
- Loading branch information
1 parent
4139c7f
commit 077c71d
Showing
31 changed files
with
251 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ omit = | |
*/site-packages/* | ||
tests/* | ||
src/install.py | ||
src/uninstall.py | ||
src/config.py | ||
src/cli.py | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"expect_or_drop": { | ||
"valid_customer_id": "customer_id IS NOT NULL" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"expect_or_drop": { | ||
"valid_product_id": "product_id IS NOT NULL" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"expect_or_drop": { | ||
"valid_store_id": "store_id IS NOT NULL" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"expect_or_drop": { | ||
"valid_transaction_id": "transaction_id IS NOT NULL", | ||
"valid_customer_id": "customer_id IS NOT NULL" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
integration_tests/conf/dqe/customers/silver_data_quality_expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"expect_all_or_drop": { | ||
"valid_customer_id": "id IS NOT NULL" | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
integration_tests/conf/dqe/iot/silver_data_quality_expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"expect_all_or_drop": { | ||
"valid_device_id": "device_id IS NOT NULL" | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
integration_tests/conf/dqe/transactions/silver_data_quality_expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"expect_all_or_drop": { | ||
"valid_customer_id": "id IS NOT NULL" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
tests/resources/dqe/customers/silver_data_quality_expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"expect_or_drop":{ | ||
"no_rescued_data":"_rescued_data IS NULL", | ||
"valid_id":"id IS NOT NULL", | ||
"valid_operation":"operation IN ('APPEND', 'DELETE', 'UPDATE')" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/resources/dqe/iot_cdc/silver_data_quality_expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"expect": { | ||
"no_rescued_data": "_rescued_data IS NULL", | ||
"valid_id": "id IS NOT NULL" | ||
}, | ||
"expect_or_quarantine": { | ||
"valid_operation": "operation IN ('APPEND', 'DELETE', 'UPDATE')" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
tests/resources/dqe/product/silver_data_quality_expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"expect":{ | ||
"valid_product_id": "product_id IS NOT NULL" | ||
}, | ||
"expect_all":{ | ||
"valid_product_id": "product_id IS NOT NULL" | ||
}, | ||
"expect_all_or_fail":{ | ||
"no_rescued_data": "_rescued_data IS NULL", | ||
"valid_product_id": "product_id IS NOT NULL" | ||
}, | ||
"expect_or_fail":{ | ||
"no_rescued_data": "_rescued_data IS NULL", | ||
"valid_product_id": "product_id IS NOT NULL" | ||
}, | ||
"expect_all_or_drop": { | ||
"no_rescued_data": "_rescued_data IS NULL", | ||
"valid_product_id": "product_id IS NOT NULL" | ||
}, | ||
"expect_or_drop": { | ||
"no_rescued_data": "_rescued_data IS NULL", | ||
"valid_product_id": "product_id IS NOT NULL" | ||
}, | ||
"expect_or_quarantine": { | ||
"quarantine_rule": "_rescued_data IS NOT NULL OR product_id IS NULL" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/resources/dqe/stores/silver_data_quality_expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"expect_or_drop": { | ||
"no_rescued_data": "_rescued_data IS NULL", | ||
"valid_store_id": "store_id IS NOT NULL" | ||
}, | ||
"expect_or_quarantine": { | ||
"quarantine_rule": "_rescued_data IS NOT NULL OR store_id IS NULL" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/resources/dqe/transactions/silver_data_quality_expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"expect": { | ||
"no_rescued_data": "_rescued_data IS NULL", | ||
"valid_id": "id IS NOT NULL" | ||
}, | ||
"expect_or_quarantine": { | ||
"valid_operation": "operation IN ('APPEND', 'DELETE', 'UPDATE')" | ||
} | ||
} |
Oops, something went wrong.