Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds nightly tests for large table read #68

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a4d0d25
Adds a new module for nightly tests.
prashastia Dec 18, 2023
f674638
Modifies the docstring.
prashastia Dec 19, 2023
6ec22dc
Modifies the docstring.
prashastia Dec 19, 2023
f0cd825
Adds simple e2e test, Adds parse_logs.py, Adds table_read.sh
prashastia Dec 19, 2023
c814bd9
Adds simple e2e test, Adds parse_logs.py, Adds table_read.sh
prashastia Dec 19, 2023
f5d3f31
Adds simple e2e test, Adds parse_logs.py, Adds table_read.sh
prashastia Dec 19, 2023
b9cad97
Adds simple e2e test, Adds parse_logs.py, Adds table_read.sh
prashastia Dec 19, 2023
b3ce92b
Adds simple e2e test, Adds parse_logs.py, Adds table_read.sh
prashastia Dec 19, 2023
4e6ef67
Adds simple e2e test, Adds parse_logs.py, Adds table_read.sh
prashastia Dec 19, 2023
dd8e5be
Modifies IntegrationTest to check query correctness.
prashastia Dec 19, 2023
137030d
Adds spotless:apply.
prashastia Dec 20, 2023
957ebf0
Renames the table_read file to bounded_table_read.sh
prashastia Dec 21, 2023
2ff4032
Addresses review comments.
prashastia Dec 21, 2023
394132d
Creates separate shell script for bounded jobs.
prashastia Dec 21, 2023
5425806
Adds a new common shell script for common actions performed for both …
prashastia Dec 21, 2023
ea79601
Addresses review comments.
prashastia Dec 21, 2023
c6a564f
Addresses review comments.
prashastia Dec 21, 2023
a2a49b3
Formats the file.
prashastia Dec 21, 2023
3da1b14
Fixes checkstyle violations.
prashastia Dec 21, 2023
0f34c03
Fixes checkstyle violations.
prashastia Dec 21, 2023
0822681
Fixes checkstyle violations.
prashastia Dec 21, 2023
1770526
Fixes checkstyle violations.
prashastia Dec 21, 2023
e416b1f
Changes test name, adds a new e2e test for checking table read for ta…
prashastia Dec 21, 2023
471aca2
Changes test name, adds a new e2e test for checking table read for ta…
prashastia Dec 21, 2023
68d48d0
Adds a new e2e test for checking query read.
prashastia Dec 21, 2023
44f39f6
Fixes cause of error in query read execution.
prashastia Dec 21, 2023
b8a5883
Fixes cause of error in query read execution.
prashastia Dec 21, 2023
46ac1e6
Adds a new e2e test for checking large table ~200GBs read.
prashastia Dec 21, 2023
74afc54
Adds utils.py - a class containing implementations for writing recor…
prashastia Dec 21, 2023
ea0cba5
Addresses review comments in parse_logs.py.
prashastia Dec 22, 2023
05bbd95
Addresses review comments in nightly.sh and modifies nightly.yaml for…
prashastia Dec 22, 2023
b731be7
Addresses review comments in requirements.txt
prashastia Dec 22, 2023
be260e4
Addresses review comments in table_read.sh
prashastia Dec 22, 2023
f172b67
Fixes checkstyle violations, addresses review comments.
prashastia Dec 22, 2023
37bcd09
Update pom.xml
prashastia Dec 22, 2023
485d4b7
Addresses review comments in table_read.sh
prashastia Dec 22, 2023
61e4709
Fixes metric value regex to capture digits.
prashastia Dec 22, 2023
8138578
Addresses review comments on parse_logs.py
prashastia Dec 23, 2023
ecf38d0
Fixes indentation problems in pom.xml
prashastia Dec 23, 2023
bd4d02c
Fixes indentation problems in pom.xml
prashastia Dec 23, 2023
c01ccc0
Merge remote-tracking branch 'origin/nightly-tests-nested-schema' int…
prashastia Dec 23, 2023
e5630af
Merge remote-tracking branch 'origin/nightly-tests' into nightly-test…
prashastia Dec 23, 2023
e9a0526
Merge remote-tracking branch 'origin/nightly-tests' into nightly-test…
prashastia Dec 23, 2023
dce318f
undo.
prashastia Dec 23, 2023
5db54a5
modifies BigQueryIntegrationTest.java - removes setting of default va…
prashastia Dec 26, 2023
dae2f18
Modifies parse_logs.py
prashastia Dec 28, 2023
8ef6a15
Modifies parse_logs.py
prashastia Dec 28, 2023
a0e56b0
Merge remote-tracking branch 'origin/nightly-tests' into nightly-test…
prashastia Dec 28, 2023
326c0a4
Merge remote-tracking branch 'dataproc/main' into nightly-tests-neste…
prashastia Dec 28, 2023
346e8f1
Merge remote-tracking branch 'dataproc/main' into nightly-tests-large…
prashastia Dec 28, 2023
34cb8d0
Merge remote-tracking branch 'dataproc/main' into nightly-tests-query
prashastia Dec 28, 2023
a046aa6
Modifies nightly.sh to add a new step for nested schema table read test.
prashastia Dec 28, 2023
fdb3ea3
Merge remote-tracking branch 'origin/nightly-tests-nested-schema' int…
prashastia Dec 28, 2023
a384e99
Modifies nightly.sh to add a new step for query read test.
prashastia Dec 28, 2023
0b1f996
Merge remote-tracking branch 'dataproc/main' into nightly-tests-query
prashastia Dec 28, 2023
014d6f6
Merge remote-tracking branch 'origin/nightly-tests-query' into nightl…
prashastia Dec 28, 2023
3fdfc23
Merge remote-tracking branch 'dataproc/main' into nightly-tests-large…
prashastia Dec 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cloudbuild/nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ case $STEP in
e2e_bounded_read_query_test)
# Run the query test.
source cloudbuild/e2e-test-scripts/table_read.sh "$PROJECT_ID" "$CLUSTER_NAME_SMALL_TEST" "$REGION_SMALL_TEST" "$PROJECT_NAME" "$DATASET_NAME" "" "" "$QUERY" "bounded"
exit
;;

# Run the large table O(GB's) read bounded e2e test.
e2e_bounded_read_large_table_test)
# Run the large table test.
source cloudbuild/e2e-test-scripts/table_read.sh "$PROJECT_ID" "$CLUSTER_NAME_SMALL_TEST" "$REGION_SMALL_TEST" "$PROJECT_NAME" "$DATASET_NAME" "$TABLE_NAME_LARGE_TABLE" "$AGG_PROP_NAME_LARGE_TABLE" "" "bounded"
exit
;;

*)
Expand Down
18 changes: 17 additions & 1 deletion cloudbuild/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
env:
- 'GCS_JAR_LOCATION=${_GCS_JAR_LOCATION}'
- 'MVN_JAR_LOCATION=${_MVN_JAR_LOCATION}'

# 3. Start the simple table read e2e test.
- name: 'gcr.io/$PROJECT_ID/dataproc-flink-bigquery-connector-nightly'
id: 'e2e-bounded-read-small-table-test'
Expand Down Expand Up @@ -61,6 +61,22 @@ steps:
- 'DATASET_NAME=${_DATASET_NAME}'
- 'QUERY=${_QUERY}'

# 6. Start the large table read e2e test.
- name: 'gcr.io/$PROJECT_ID/dataproc-flink-bigquery-connector-nightly'
id: 'e2e-bounded-read-large-table-test'
waitFor: ['e2e-bounded-read-query-test']
entrypoint: 'bash'
args: ['/workspace/cloudbuild/nightly.sh', 'e2e_bounded_read_large_table_test']
env:
- 'GCS_JAR_LOCATION=${_GCS_JAR_LOCATION}'
- 'PROJECT_ID=${_PROJECT_ID}'
- 'REGION_SMALL_TEST=${_REGION_SMALL_TEST}'
- 'CLUSTER_NAME_SMALL_TEST=${_CLUSTER_NAME_SMALL_TEST}'
- 'PROJECT_NAME=${_PROJECT_NAME}'
- 'DATASET_NAME=${_DATASET_NAME}'
- 'TABLE_NAME_LARGE_TABLE=${_TABLE_NAME_LARGE_TABLE}'
- 'AGG_PROP_NAME_LARGE_TABLE=${_AGG_PROP_NAME_LARGE_TABLE}'

# Maximum tolerance 60 minutes.
timeout: 3600s
logsBucket: '${_LOGS_BUCKET}'
Expand Down
Loading