Open alxhill opened 1 month ago
@alxhill thank you for reporting! will look into it shortly.
Okay, looks like the culprit is that ClientV1 appends all QuerySettings to the URI, while ClientV2 only appends server settings to the URI.
Changing from settings.setOption
to settings.serverSetting
fixed my tests. Seems like a break worth resolving as they're silently being ignored.
@alxhill sorry - my bad - I would need to document this thing.
Is the issue resolved and only documentation should be changed?
Thanks!
We are unblocked, but this does seem like a break in the client & not something I would expect to see upgrading between minor versions
@alxhill sorry about that - my bad. This is consequences of using two different clients under the hood (old and new) . We always keep in mind that changes may be breaking and so we need to handle them properly - why many fixes are getting feature flags.
Describe your feedback
We run the following query through the clickhouse java client:
With the following QuerySettings:
In ClientV1, the created table would have
Nullable(Float64)
for thetimestamp
column. ClientV2 seems to ignore the inference hints (and the "input_format_try_infer_integers=0" setting), as the column isNullable(Int64)
instead: