File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,11 @@ pub enum Error {
383
383
384
384
#[ snafu( display( "failed to resolve client protocol configuration" ) ) ]
385
385
ClientProtocolConfiguration { source : client_protocol:: Error } ,
386
+
387
+ #[ snafu( display(
388
+ "client spooling protocol is not supported for Trino version {product_version}"
389
+ ) ) ]
390
+ ClientSpoolingProtocolTrinoVersion { product_version : String } ,
386
391
}
387
392
388
393
type Result < T , E = Error > = std:: result:: Result < T , E > ;
@@ -480,6 +485,13 @@ pub async fn reconcile_trino(
480
485
) ,
481
486
None => None ,
482
487
} ;
488
+ if resolved_client_protocol_config. is_some ( )
489
+ && resolved_product_image. product_version . starts_with ( "45" )
490
+ {
491
+ return Err ( Error :: ClientSpoolingProtocolTrinoVersion {
492
+ product_version : resolved_product_image. product_version ,
493
+ } ) ;
494
+ }
483
495
484
496
let validated_config = validated_product_config (
485
497
trino,
You can’t perform that action at this time.
0 commit comments