Skip to content

Commit 4968173

Browse files
committed
Remove already defined props
1 parent 1c791a3 commit 4968173

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

packages/client-common/__tests__/unit/to_search_params.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ describe('toSearchParams', () => {
7575
wait_end_of_query: 1,
7676
compress: 1,
7777
decompress: 1,
78-
user: 'John',
79-
password: 'Doe',
8078
quota_key: 'my-quota-key',
8179
buffer_size: 1048576,
8280
},
@@ -97,14 +95,12 @@ describe('toSearchParams', () => {
9795
['enable_optimize_predicate_expression', '0'],
9896
['extremes', '1'],
9997
['param_qaz', 'qux'],
100-
['password', 'Doe'],
10198
['query', 'SELECT * FROM system.query_log'],
10299
['query_id', 'my-query-id'],
103100
['quota_key', 'my-quota-key'],
104101
['role', 'my-role-1'],
105102
['role', 'my-role-2'],
106103
['session_id', 'my-session-id'],
107-
['user', 'John'],
108104
['wait_end_of_query', '1'],
109105
])
110106
})

packages/client-common/src/settings.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,17 +1601,9 @@ interface ClickHouseHTTPSettings {
16011601
compress: Bool
16021602
/** If you specify decompress=1, the server will decompress the data which you pass in the POST method. */
16031603
decompress: Bool
1604-
/** User name. If the user name is not specified, then the default name is used. */
1605-
user: string
1606-
/** User password. If the password is not specified, then an empty password is used. */
1607-
password: string
16081604
/** The quota_key "key" is passed in the query parameter, and the quota is tracked separately for each key value.
16091605
* For example, you can pass a username as the key, so the quota will be counted separately for each username. */
16101606
quota_key: string
1611-
/** This is any string that serves as the query identifier.
1612-
* If a query from the same user with the same 'query_id' already exists at this time,
1613-
* the behaviour depends on the 'replace_running_query' parameter. */
1614-
query_id: string
16151607
/** Determines the number of bytes in the result to buffer in the server memory.
16161608
* If a result body is larger than this threshold, the buffer is written to the HTTP channel,
16171609
* and the remaining data is sent directly to the HTTP channel.
@@ -1628,9 +1620,6 @@ interface ClickHouseHTTPSettings {
16281620
* Only useful for the {@link ClickHouseClient.exec} method,
16291621
* as {@link ClickHouseClient.query} method always attaches this clause. */
16301622
default_format: DataFormat
1631-
/** The user defined session identifier.
1632-
* It allows to modify settings, create temporary tables and reuse them in subsequent requests. */
1633-
session_id: string
16341623
/** By default, the session is terminated after 60 seconds of inactivity
16351624
* This is regulated by the `default_session_timeout` server setting. */
16361625
session_timeout: UInt64

0 commit comments

Comments
 (0)