Closed Holi0317 closed 1 month ago
BaseQueryParams got an undocumented session_id that feels like it should override the session_id passed into createClient. But actually that field is never used and session_id is always using this.sessionId https://github.com/ClickHouse/clickhouse-js/blob/ad8611e736a82d98416c1d99d903240df02d7ace/packages/client-common/src/client.ts#L253
BaseQueryParams
session_id
createClient
this.sessionId
The session_id should be overridden
Fixed in 1.1.0. Also, session id override will be mentioned in the docs after https://github.com/ClickHouse/clickhouse-docs/pull/2381 is merged.
Describe the bug
BaseQueryParams
got an undocumentedsession_id
that feels like it should override thesession_id
passed intocreateClient
. But actually that field is never used andsession_id
is always usingthis.sessionId
https://github.com/ClickHouse/clickhouse-js/blob/ad8611e736a82d98416c1d99d903240df02d7ace/packages/client-common/src/client.ts#L253Steps to reproduce
session_id
viaBaseQueryParams
Expected behaviour
The
session_id
should be overridden