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

chore: Bump to Hive 4.0.0 #636

Merged
merged 4 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
Loading