forked from cdapio/hydrator-plugins
-
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.
Merge pull request cdapio#1872 from cloudsufi/e2e-normalizePlugin-ITN
e2e-Normalize-ITN
- Loading branch information
Showing
5 changed files
with
79 additions
and
1 deletion.
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
5 changes: 5 additions & 0 deletions
5
core-plugins/src/e2e-test/resources/testdata/file/CSV_Normalize_TEST_3.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 @@ | ||
id,name,yearofbirth,isdeleted,email,createddate,revenue,points,longdatatype,doubledatatype,date,null,BytesData | ||
1,albert einstein,1879,true,[email protected],,900750000.01,3.14235678,-9223372036854770000,22.8,1996-07-21,,10111011101110111011 | ||
2,isaac newton,1643,false,[email protected],,900750000.01,3.14235678906787648,-9223372036854770000,123.08,1996-07-21,str,10111011101110111011 | ||
3,marie curie,1867,true,[email protected],2021-09-20 11:27:50 UTC,900750000.01,3.14235678,-9223372036854770000,124.97,1996-07-21,,10111011101110111011 | ||
4,galilée,1564,false,[email protected],2021-09-20 11:27:50 UTC,900750000.01,3.14235678,-2^63,234.89,1996-07-21,,10111011101110111011 |
13 changes: 13 additions & 0 deletions
13
...ugins/src/e2e-test/resources/testdata/file/expected_outputs/OUTPUT_FOR_NORMALIZE_TEST.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,13 @@ | ||
AttributeValue,AttributeType,ID,Date | ||
[email protected],email,1,null | ||
900750000.01,revenue,1,null | ||
3.14235678,points,1,null | ||
[email protected],email,2,null | ||
900750000.01,revenue,2,null | ||
3.14235678906787648,points,2,null | ||
[email protected],email,3,2021-09-20 11:27:50 UTC | ||
900750000.01,revenue,3,2021-09-20 11:27:50 UTC | ||
3.14235678,points,3,2021-09-20 11:27:50 UTC | ||
[email protected],email,4,2021-09-20 11:27:50 UTC | ||
900750000.01,revenue,4,2021-09-20 11:27:50 UTC | ||
3.14235678,points,4,2021-09-20 11:27:50 UTC |