lliangyu-lin commented on code in PR #493:
URL: https://github.com/apache/iceberg-go/pull/493#discussion_r2256028277
##########
internal/recipe/local_spark.go:
##########
@@ -62,3 +68,68 @@ func Start(t *testing.T) (*compose.DockerCompose, error) {
return stack, nil
}
+
+func ExecuteSpark(t *testing.T, scriptPath string, args ...string) (string,
error) {
+ cli, err := client.NewClientWithOpts(
+ client.FromEnv,
+ client.WithVersion("1.48"), // Use explicit version to avoid
compatibility issues
Review Comment:
Yes, added the API env var in CI and fallback to use the client internal
default
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]