Skip to content

Socket timeout being used as Future wait #1783

@kuhnen

Description

@kuhnen

In the ClickhouseClient file, specifically on line 878, the following code is present:

return execute(sealedRequest).get(sealedRequest.getConfig().getSocketTimeout(), TimeUnit.MILLISECONDS);

return execute(sealedRequest).get(sealedRequest.getConfig().getSocketTimeout(), TimeUnit.MILLISECONDS);
I have encountered an issue where there appears to be no way to override this setting when using the spark-clickhouse-connector.

Would it be possible to introduce a method to override this parameter, perhaps through an environment variable? Additionally, it would be beneficial to consider renaming the property, as its current name (socket_timeout) does not accurately reflect its functionality.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions