Skip to content

Commit

Permalink
Add test suite config for Simba JDBC 1.5.0.1001
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 568146775
  • Loading branch information
p3rf Team authored and copybara-github committed Sep 25, 2023
1 parent 7c6d9aa commit c6b4b05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion perfkitbenchmarker/providers/gcp/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,19 @@
DEFAULT_TABLE_EXPIRATION = 3600 * 24 * 365 # seconds

BQ_JDBC_INTERFACES = [
'SIMBA_JDBC_1_2_4_1007', 'SIMBA_JDBC_1_3_3_1004',
'SIMBA_JDBC_1_2_4_1007',
'SIMBA_JDBC_1_3_3_1004',
'SIMBA_JDBC_1_5_0_1001',
]
BQ_JDBC_CLIENT_FILE = {
'SIMBA_JDBC_1_2_4_1007': 'bq-jdbc-client-1.0.jar',
'SIMBA_JDBC_1_3_3_1004': 'bq-jdbc-client-2.0.jar',
'SIMBA_JDBC_1_5_0_1001': 'bq-jdbc-client-2.1.jar',
}
BQ_JDBC_JAR_FILE = {
'SIMBA_JDBC_1_2_4_1007': 'GoogleBigQueryJDBC42.jar',
'SIMBA_JDBC_1_3_3_1004': 'GoogleBigQueryJDBC42-1.3.3.1004.jar',
'SIMBA_JDBC_1_5_0_1001': 'GoogleBigQueryJDBC42-1.5.0.1001.jar',
}


Expand Down
2 changes: 1 addition & 1 deletion perfkitbenchmarker/providers/gcp/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
'successfully delete the PKB-created network.')
flags.DEFINE_enum('bq_client_interface', 'CLI',
['CLI', 'JAVA', 'SIMBA_JDBC_1_2_4_1007',
'SIMBA_JDBC_1_3_3_1004'],
'SIMBA_JDBC_1_3_3_1004', 'SIMBA_JDBC_1_5_0_1001'],
'The Runtime Interface used when interacting with BigQuery.')
flags.DEFINE_string('gcp_preemptible_status_bucket', None,
'The GCS bucket to store the preemptible status when '
Expand Down

0 comments on commit c6b4b05

Please sign in to comment.