-
Notifications
You must be signed in to change notification settings - Fork 85
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
1 parent
d5c7025
commit 7a10c09
Showing
14 changed files
with
544 additions
and
22 deletions.
There are no files selected for viewing
303 changes: 303 additions & 0 deletions
303
src/e2e-test/features/gcs/source/GCSToGCSAdditonalTests.feature
Large diffs are not rendered by default.
Oops, something went wrong.
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
29 changes: 29 additions & 0 deletions
29
src/e2e-test/java/io/cdap/plugin/utils/DataFileFormat.java
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,29 @@ | ||
/* | ||
* Copyright © 2023 Cask Data, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy of | ||
* the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
package io.cdap.plugin.utils; | ||
|
||
|
||
/** | ||
* Enumeration representing different data file formats that can be used | ||
* for storing and retrieving data, such as JSON and CSV. | ||
*/ | ||
|
||
public enum DataFileFormat { | ||
|
||
JSON, // Represents JSON format | ||
CSV // Represents CSV format | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
id;Name;Age;City;town | ||
1;Alex;33;Sydney;New South Wales | ||
2;Johnson;43;Miami;Florida | ||
3;Smith;28;Canberra;Australian Capital Territory | ||
4;Steve;30;Washington;DC |
3 changes: 3 additions & 0 deletions
3
src/e2e-test/resources/testdata/GCS_MULTIPLEFILE_REGEX_TEST/book.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,3 @@ | ||
id;Title;Author;Year;Genre;Price | ||
50001;To Kill a Mockingbird;Harper Lee;1960;Fiction;12.99 | ||
60002;The Great Gatsby;F. Scott Fitzgerald;1925;Classics;10.99 |
3 changes: 3 additions & 0 deletions
3
src/e2e-test/resources/testdata/GCS_MULTIPLEFILE_REGEX_TEST/vehicle_inventory-part-1.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,3 @@ | ||
id;Make;Model;Year;Color;Price;Mileage | ||
10012;Toyota;Camry;2022;Blue;25000;15000 | ||
20034;Honda;CR-V;2023;Red;28000;12000 |
3 changes: 3 additions & 0 deletions
3
src/e2e-test/resources/testdata/GCS_MULTIPLEFILE_REGEX_TEST/vehicle_inventory-part-2.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,3 @@ | ||
id;Make;Model;Year;Color;Price;Mileage | ||
30045;Ford;Fusion;2022;Silver;22000;18000 | ||
40056;Chevrolet;Equinox;2023;White;27000;14000 |
3 changes: 3 additions & 0 deletions
3
src/e2e-test/resources/testdata/GCS_MULTIPLEFILE_TEST/authors-part-1.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,3 @@ | ||
id;name;age;yearOfBirth | ||
1;Albert Einstein;76;1879 | ||
2;Isaac Newton;84;1643 |
3 changes: 3 additions & 0 deletions
3
src/e2e-test/resources/testdata/GCS_MULTIPLEFILE_TEST/authors-part-2.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,3 @@ | ||
title;city;country;state | ||
Year of Jupyter;delhi;india;delhi | ||
The return of Avalon;chandigarh;india;haryana |
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,4 @@ | ||
{"id":10012,"Make":"Toyota","Model":"Camry","Year":2022,"Color":"Blue","Price":25000,"Mileage":15000} | ||
{"id":20034,"Make":"Honda","Model":"CR-V","Year":2023,"Color":"Red","Price":28000,"Mileage":12000} | ||
{"id":30045,"Make":"Ford","Model":"Fusion","Year":2022,"Color":"Silver","Price":22000,"Mileage":18000} | ||
{"id":40056,"Make":"Chevrolet","Model":"Equinox","Year":2023,"Color":"White","Price":27000,"Mileage":14000} |