Commit Graph

78 Commits

Author SHA1 Message Date
Евгений Сорокин
9e050f0a8c \n in sql (array in params) 2022-08-24 22:38:44 +03:00
Евгений Сорокин
948944fd5e escape characters in parameters common way 2022-08-24 10:33:12 +03:00
Евгений Сорокин
0b5ec8017e mask apostrophe, compare values 2022-08-24 10:03:44 +03:00
Евгений Сорокин
25a613aa10 issue 130 low case insert 2022-08-22 11:11:55 +03:00
TimonKK
6ac086b4ea Merge pull request #129 from SEA99/master
https://github.com/TimonKK/clickhouse/issues/128
2022-08-19 23:29:10 +03:00
TimonKK
8290a821fd Merge pull request #122 from francescorivola/bug/stream-uncaught-network-error
Handle stream network error to avoid uncaught error
2022-08-16 23:57:42 +03:00
Евгений Сорокин
a60cbc0972 issue 124 mask apostroph and other 2022-08-15 11:48:46 +03:00
SEA99
7456404c5b https://github.com/TimonKK/clickhouse/issues/128
"data.every is not a function" error
2022-08-11 11:44:53 +03:00
Francesco Rivola
e85ed44358 Handle stream network error to avoid uncaught error 2022-06-08 18:09:34 +02:00
Francesco Rivola
d59e8e373d Merge branch 'master' into feature/support-on-cluster 2022-04-01 09:03:25 +02:00
TimonKK
3057cccc4b Merge pull request #85 from CherryCHan/branch_long_query
Branch long query
2022-03-31 00:30:48 +03:00
TimonKK
1dff3f7af5 Merge pull request #105 from adhilton25/f/query-parameterization
Query Parameterization
2022-03-31 00:29:12 +03:00
1u0n
776c496d3a avoid too many event listeners
when calling writeRow around a million times in a loop I get "MaxListenersExceededWarning: Possible EventEmitter memory leak detected" warning message, because when waiting for 'drain' the code is not removing the 'error' listener it attaches.

This change just removes the attached 'error' listener and avoids the warning, functionality stays the same.
2022-03-12 11:59:23 +01:00
dmitry.berezhnov
8ccc02d54f fix(feat): fix query parsing 2022-01-26 00:22:52 +03:00
Adam Hilton
a5d552ce2c Correctly handle expected format of strings. 2022-01-01 21:37:30 -07:00
Adam Hilton
df8a976eab Allow passing of params and injecting into http request params for use in parameterized queries. 2022-01-01 20:11:16 -07:00
Francesco Rivola
5facaf909a drop supports also on cluster 2021-12-09 15:35:06 +01:00
Francesco Rivola
caf1343c20 provide support for on cluster create table queries 2021-12-09 15:04:10 +01:00
TimonKK
a84d890a1d fix: error code parsing 2021-09-23 23:51:17 +03:00
Nikolay Kolesnikov
f92813b88e socket error handler added 2021-09-16 15:52:02 +03:00
Dmitry Berezhnov
b918bed362 (fix): upgrade version with last PR commits 2021-08-20 01:05:51 +03:00
TimonKK
378325ddce Merge pull request #87 from hlopetz/issue-86
Addressing Issue 86: HTTPS expected to have port 443 by default
2021-08-20 00:44:05 +03:00
Francesco Rivola
bfbec61271 added raw insert support 2021-07-13 12:15:08 +02:00
Andrey Maksimov
28983853ab HTTPS expected to have port 443 by default #86 2021-06-17 18:17:46 +03:00
rachelchen
55356a3fc1 delete console 2021-06-10 17:47:48 +08:00
rachelchen
f4cde9dd96 feat: support long sql with opt 2021-06-10 17:44:51 +08:00
CherryCHan
2a0e5fc1a5 Merge branch 'TimonKK:master' into master 2021-06-09 21:34:09 +08:00
Alex
55c34371ed #75: Add raw return type: tests 2021-04-09 19:12:46 +03:00
Alex
a5a439c225 #75: Add raw return type: minor fix 2021-04-08 16:33:33 +03:00
Alex
0b26cfa0ea #75: Add raw return type 2021-04-07 22:16:51 +03:00
rachelchen
e4108e8a08 support query long sql 2021-04-07 17:01:57 +08:00
tagplus5
a8cb3b597d Fix save dates before 2002 year on DateTime fields
Issue https://github.com/TimonKK/clickhouse/issues/65
2020-12-13 18:39:27 +02:00
Matthew Peveler
6e78d60221 chore: unify identation to tab stops
Signed-off-by: Matthew Peveler <matt.peveler@popsql.com>
2020-12-05 12:12:45 -05:00
Dmitry Berezhnov
4ace48ff5c fix(url): fix stange behavore 2020-11-02 18:16:24 +03:00
Dmitry
e33eee6481 fix(port): fix port settings from uri 2020-07-03 12:40:25 +03:00
Dmitry
5af1d6c29b fix(doc): fix configs example from doc 2020-05-29 18:45:16 +03:00
TimonKK
9ea48f9b5d Merge branch 'master' into master 2020-05-15 11:33:55 +03:00
Sarthak Sawhney
f1660d9d86 Update index.js 2020-05-05 16:53:18 +05:30
Dmitry
5fc7689cd7 fix(query): add fix for query
1. add setting for generation of session id for each query
2. fix handle of error from stream query
2020-04-30 15:52:38 +03:00
Dmitry
b2b02c2e77 test(index): add test of WITH TOTALS 2020-04-23 11:35:03 +03:00
Dmitry
05e94de287 fix(index.js): add test and fix for query with totals 2020-04-14 17:49:33 +03:00
Ian Maddox
e042308c89 Providing a more descriptive error message 2020-04-13 17:45:23 -07:00
Dmitry
2118433322 fix(index): hide console.log under debug flag 2020-02-15 01:52:33 +03:00
Dmitry
d0d19ca18e refactor(index): global refactoring 2020-02-05 16:35:30 +03:00
Pavel
eedce5f094 added CSV and TSV Streams on CSVWithNames, TabSeparatedWithNames format query cases 2019-09-29 10:53:25 +04:00
Pavel
f42b32907f added tsv csv parsers on select query
# not completed parsers work on stream
2019-09-18 20:25:30 +04:00
Pavel
f6ea85faf0 added insert query format check case 2019-09-17 01:41:48 +04:00
Rayvid
482db7afba fix throw error as soon it happens, it wasn't throwing when server unavailable 2019-05-10 17:54:04 +03:00
Andrew Derbitov
89650ddecc Fix #2 2019-03-19 17:28:39 +03:00
Andrew Derbitov
4de1b8d345 Fix stuped mistake 2019-03-19 17:17:41 +03:00