Skip to content

Commit 9e55ce1

Browse files
committed
not all Trino versions support spooling
1 parent efe1003 commit 9e55ce1

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

docs/modules/trino/pages/usage-guide/client-spooling-protocol.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ The Client Spooling Protocol in Trino is designed to efficiently handle large re
77

88
For more details, refer to the link:{trino-docs-spooling-url}[Trino documentation on Client Spooling Protocol {external-link-icon}^].
99

10+
[IMPORTANT]
11+
====
12+
The client spooling protocol was introduced in Trino 466 but it only works reliably starting with Trino 476.
13+
====
14+
1015
== Configuration
1116

1217
The client spooling protocol is disabled by default.

tests/templates/kuttl/client-spooling/02-install-trino.yaml.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ metadata:
55
name: trino
66
spec:
77
image:
8-
{% if test_scenario['values']['trino'].find(",") > 0 %}
9-
custom: "{{ test_scenario['values']['trino'].split(',')[1] }}"
10-
productVersion: "{{ test_scenario['values']['trino'].split(',')[0] }}"
8+
{% if test_scenario['values']['trino-latest'].find(",") > 0 %}
9+
custom: "{{ test_scenario['values']['trino-latest'].split(',')[1] }}"
10+
productVersion: "{{ test_scenario['values']['trino-latest'].split(',')[0] }}"
1111
{% else %}
12-
productVersion: "{{ test_scenario['values']['trino'] }}"
12+
productVersion: "{{ test_scenario['values']['trino-latest'] }}"
1313
{% endif %}
1414
pullPolicy: IfNotPresent
1515
clusterConfig:

tests/test-definition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ tests:
117117
- openshift
118118
- name: client-spooling
119119
dimensions:
120-
- trino
120+
- trino-latest
121121
- openshift
122122
- name: listener
123123
dimensions:

0 commit comments

Comments
 (0)