forked from data-integrations/google-cloud
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
89 additions
and
10 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
11 changes: 8 additions & 3 deletions
11
src/e2e-test/resources/testdata/BQValidationExpectedFiles/bqexpected_Test
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
{"address":"ppu","id":13,"name":"root"} | ||
{"address":"ggn","id":12,"name":"joe"} | ||
{"address":"ggn","id":12,"name":"joe"} | ||
{"city":"San Jose","customerid":1,"firstname":"Douglas","id":1,"item":"coffee","lastname":"Williams","phoneNumber":35834612345,"price":2.05,"state":"CA","streetAddress":"1 Vista Montana","zipcode":9513498885} | ||
{"city":"Houston","customerid":2,"firstname":"David","id":2,"item":"plate","lastname":"Johnson","phoneNumber":1451412345,"price":0.5,"state":"TX","streetAddress":"3 Baypointe Parkway","zipcode":1738378970} | ||
{"city":"Manhattan","customerid":3,"firstname":"Hugh","id":3,"item":"tea","lastname":"Jackman","phoneNumber":1695412345,"price":1.99,"state":"NY","streetAddress":"5, Cool Way","zipcode":6726312345} | ||
{"city":"Orlando","customerid":null,"firstname":"Walter","id":4,"item":null,"lastname":"White","phoneNumber":7829812345,"price":null,"state":"FL","streetAddress":"3828 Piermont Dr","zipcode":7349864532} | ||
{"city":"San Diego","customerid":5,"firstname":"Frank","id":5,"item":"cookie","lastname":"Underwood","phoneNumber":19061512345,"price":0.5,"state":"CA","streetAddress":"1609 Far St.","zipcode":2977876770} | ||
{"city":"Las Vegas","customerid":null,"firstname":"Serena","id":6,"item":null,"lastname":"Woods","phoneNumber":78919612345,"price":null,"state":"NV","streetAddress":"123 Far St.","zipcode":4533456734} | ||
{"city":"New York","customerid":null,"firstname":"Sarthak","id":7,"item":null,"lastname":"Dash","phoneNumber":1324812345,"price":null,"state":"NY","streetAddress":"123 Far St.","zipcode":2345365523} | ||
{"city":"Bangalore","customerid":null,"firstname":"Rahul","id":8,"item":null,"lastname":"Dash","phoneNumber":94864612345,"price":null,"state":"KA","streetAddress":"22 MG Road.","zipcode":null} |
2 changes: 2 additions & 0 deletions
2
src/e2e-test/resources/testdata/BigQuery/BigQueryCreateTableJoin.txt
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,2 @@ | ||
create table `DATASET.TABLE_NAME` (id INT64, firstname STRING, lastname STRING, streetAddress STRING, | ||
city STRING, state STRING, zipcode BIGINT, phoneNumber BIGINT) |
10 changes: 10 additions & 0 deletions
10
src/e2e-test/resources/testdata/BigQuery/BigQueryInsertDataJoin.txt
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,10 @@ | ||
INSERT INTO DATASET.TABLE_NAME (id, firstname, lastname, streetAddress, city, state, zipcode, phoneNumber) | ||
VALUES | ||
(5, 'Frank', 'Underwood', '1609 Far St.', 'San Diego', 'CA', 2977876770, 19061512345), | ||
(1, 'Douglas', 'Williams', '1 Vista Montana', 'San Jose', 'CA', 9513498885, 35834612345), | ||
(4, 'Walter', 'White', '3828 Piermont Dr', 'Orlando', 'FL', 7349864532, 7829812345), | ||
(3, 'Hugh', 'Jackman', '5, Cool Way', 'Manhattan', 'NY', 6726312345, 1695412345), | ||
(7, 'Sarthak', 'Dash', '123 Far St.', 'New York', 'NY', 2345365523, 1324812345), | ||
(6, 'Serena', 'Woods', '123 Far St.', 'Las Vegas', 'NV', 4533456734, 78919612345), | ||
(2, 'David', 'Johnson', '3 Baypointe Parkway', 'Houston', 'TX', 1738378970, 1451412345), | ||
(8, 'Rahul', 'Dash', '22 MG Road.', 'Bangalore', 'KA',NULL, 94864612345); |