forked from finos/legend-engine
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the sqls for dedup and versioning and add H2 tests
- Loading branch information
1 parent
c904d99
commit 453f3ef
Showing
7 changed files
with
66 additions
and
40 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
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
.../src/test/resources/data/dedup-and-versioning/expected/data_expected_with_data_splits.csv
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 @@ | ||
1,Andy,1,1000,2012-01-01,digest1,1 | ||
1,Andy,2,2000,2012-01-02,digest2,2 | ||
1,Andy,3,3000,2012-01-03,digest3,3 | ||
2,Becky,1,4000,2012-01-04,digest4,1 | ||
2,Becky,1,4000,2012-01-04,digest4,1 | ||
3,Cathy,1,5000,2012-01-05,digest5,1 | ||
3,Cathy,1,6000,2012-01-06,digest6,1 |
6 changes: 6 additions & 0 deletions
6
...2/src/test/resources/data/dedup-and-versioning/expected/data_expected_with_duplicates.csv
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 @@ | ||
1,Andy,1000,2012-01-01,digest1 | ||
1,Andy,1000,2012-01-01,digest1 | ||
1,Andy,1000,2012-01-01,digest1 | ||
2,Becky,2000,2012-01-02,digest2 | ||
2,Becky,2000,2012-01-02,digest2 | ||
3,Cathy,3000,2012-01-03,digest3 |
5 changes: 5 additions & 0 deletions
5
.../src/test/resources/data/dedup-and-versioning/expected/data_expected_with_max_version.csv
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 @@ | ||
1,Andy,3,3000,2012-01-03,digest3 | ||
2,Becky,1,4000,2012-01-04,digest4 | ||
2,Becky,1,4000,2012-01-04,digest4 | ||
3,Cathy,1,5000,2012-01-05,digest5 | ||
3,Cathy,1,6000,2012-01-06,digest6 |
6 changes: 6 additions & 0 deletions
6
...es/data/dedup-and-versioning/expected/data_expected_without_dups_and_with_data_splits.csv
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 @@ | ||
1,Andy,1,1000,2012-01-01,digest1,1,1 | ||
1,Andy,2,2000,2012-01-02,digest2,1,2 | ||
1,Andy,3,3000,2012-01-03,digest3,1,3 | ||
2,Becky,1,4000,2012-01-04,digest4,2,1 | ||
3,Cathy,1,5000,2012-01-05,digest5,1,1 | ||
3,Cathy,1,6000,2012-01-06,digest6,1,1 |