Skip to content

Commit

Permalink
chore: Bump to Hive 4.0.0 (#636)
Browse files Browse the repository at this point in the history
* chore: Bump to Hive 4.0.0

* fix test :)

* fix test

* fix test?
  • Loading branch information
sbernauer authored Sep 5, 2024
1 parent 4151013 commit 1130d2b
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ metadata:
name: simple-hive-derby
spec:
image:
productVersion: 3.1.3
productVersion: 4.0.0
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ metadata:
name: simple-hive-derby
spec:
image:
productVersion: 3.1.3
productVersion: 4.0.0
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ metadata:
name: simple-hive-derby
spec:
image:
productVersion: 3.1.3
productVersion: 4.0.0
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ metadata:
name: simple-hive-derby
spec:
image:
productVersion: 3.1.3
productVersion: 4.0.0
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ metadata:
name: simple-hive-derby
spec:
image:
productVersion: 3.1.3
productVersion: 4.0.0
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-trino-cluster-hive-ha-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ metadata:
name: simple-hive-derby
spec:
image:
productVersion: 3.1.3
productVersion: 4.0.0
clusterConfig:
database:
connString: jdbc:postgresql://hive-postgresql:5432/hive
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-trino-cluster-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ metadata:
name: simple-hive-derby
spec:
image:
productVersion: 3.1.3
productVersion: 4.0.0
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-trino-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ metadata:
name: simple-hive-derby
spec:
image:
productVersion: 3.1.3
productVersion: 4.0.0
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive'] }}"
productVersion: "{{ test_scenario['values']['hive-latest'] }}"
pullPolicy: IfNotPresent
clusterConfig:
database:
Expand Down
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/04-prepare-bucket.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ commands:
- script: |
POD=$(kubectl -n $NAMESPACE get pod -l app.kubernetes.io/instance=minio -o name | head -n 1 | sed -e 's#pod/##')
kubectl cp -n $NAMESPACE yellow_tripdata_2021-07.csv $POD:/tmp
kubectl -n $NAMESPACE exec $POD -- mc cp /tmp/yellow_tripdata_2021-07.csv local/trino
kubectl -n $NAMESPACE exec $POD -- mc cp /tmp/yellow_tripdata_2021-07.csv local/trino/taxi-data/
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/09-install-opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
labels:
opa.stackable.tech/bundle: "trino"
data:
{% if test_scenario['values']['trino'] in [414] %}
{% if test_scenario['values']['trino'] in ["414"] %}
trino.rego: |
package trino

Expand Down
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/check-s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def run_query(connection, query):
trip_distance VARCHAR,
ratecode_id VARCHAR
) WITH (
external_location = 's3a://trino/',
external_location = 's3a://trino/taxi-data/',
format = 'csv',
skip_header_line_count = 1
)
Expand Down
6 changes: 5 additions & 1 deletion tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ dimensions:
- name: hive
values:
- 3.1.3
- 4.0.0
- name: hive-latest
values:
- 4.0.0
- name: opa
values:
- 0.66.0
Expand Down Expand Up @@ -98,7 +102,7 @@ tests:
- name: opa-authorization
dimensions:
- trino-latest
- hive
- hive-latest
- opa
- keycloak
- openshift
Expand Down

0 comments on commit 1130d2b

Please sign in to comment.