Nicolae Vartolomei
3fdc04428e
Cancel http read only queries if client socket goes away
...
To check the socket status, try to read one byte from socket in a
non-blocking way:
0 - client closed the connection
>= 1 - client send more data, we are ignoring this case for now
timeout - normal case, client is waiting for response
... - socket broken?
Dirty, but should do the job. Limiting to readonly queries as I don't
want to mess with alter queries / insert select and others.
2019-02-02 12:14:52 +00:00
alexey-milovidov
297c2511c7
Merge pull request #4229 from nvartolomei/nv/typos
...
Make START REPLICATED SENDS command start replicated sends
2019-02-02 14:44:51 +03:00
Nicolae Vartolomei
f110d377d2
Fix typo in const name
2019-02-02 11:28:43 +00:00
Nicolae Vartolomei
5a8ebba4e1
Fix typo which prevents to start replicated sends
2019-02-02 11:27:27 +00:00
alexey-milovidov
25502718ae
Merge pull request #4221 from 4ertus2/cross
...
CROSS JOIN to INNER JOIN converter
2019-02-02 14:27:05 +03:00
proller
c7cb8d2db5
Freebsd fixes ( #4225 )
...
* CLICKHOUSE-4109 mlock clickhouse
* wip
* Fix
* wip
* fix
* fix
* better place
* wip
* clean
* tidy
* fix
* Freebsd fix
* Fix compile on ARM
* Freebsd fixes
* Simpler test
* Fuzzy test: dont skip already fixed functions
2019-02-02 14:09:22 +03:00
proller
a383868442
Remove not used dbms/src/IO/InterserverWriteBuffer.*
2019-02-02 12:03:09 +03:00
chertus
f731702de0
rewrite COMMA JOIN too
2019-02-01 20:22:28 +03:00
chertus
170c108a59
CROSS JOIN to INNER JOIN converter
2019-02-01 19:36:40 +03:00
Alexey Milovidov
0f577da5c2
Updated system.contributors
2019-02-01 18:49:17 +03:00
chertus
52de2cd927
hotfix for allow_experimental_multiple_joins_emulation
2019-02-01 17:26:36 +03:00
alexey-milovidov
bd62e2d85d
Merge pull request #4184 from 4ertus2/joins
...
Fix JOIN with duplicates [issue-4108]
2019-02-01 01:35:37 +03:00
alexey-milovidov
012bd5267b
Merge pull request #4195 from yandex/convert-parts-from-old-format
...
А tool to convert an old month-partition part to the custom-partitioned format
2019-01-31 22:45:44 +03:00
chertus
26b2526a3b
fix right & full join with dups (complex join on still affected)
2019-01-31 21:10:16 +03:00
proller
ff30a156c9
Fix compile on ARM
...
Freebsd fix
2019-01-31 18:38:21 +03:00
alexey-milovidov
1fa8553cc6
Merge pull request #4170 from yandex/split-odbc-bridge
...
Build odbc-bridge as a separate binary. Do not export symbols from it.
2019-01-31 02:22:28 +03:00
alexey-milovidov
34ce755117
Merge pull request #4196 from proller/fix14
...
Fix rethrowing exception #4188
2019-01-30 21:35:53 +03:00
alexey-milovidov
7a5c57ad8d
Merge pull request #4186 from yandex/fix_cache_compressed_buffer
...
Fix non initialized codec and wrong size in CacheCompressedReadBuffer
2019-01-30 21:18:13 +03:00
chertus
866c2b2e78
move required right keys calculation to Join.cpp
2019-01-30 18:51:39 +03:00
Alexey Zatelepin
063366307f
fix build
2019-01-30 18:03:43 +03:00
proller
0e863fff1e
Fix rethrowing exception #4188
2019-01-30 17:06:42 +03:00
Alexey Milovidov
73a6209eba
Merge branch 'master' into split-odbc-bridge
2019-01-30 17:01:06 +03:00
Alexey Milovidov
2eb861c143
Reverted part of changes #4188
2019-01-30 16:57:44 +03:00
Alexey Zatelepin
8957e73681
a tool to convert an old month-partition part to the custom-partitioned format [#CLICKHOUSE-4231]
2019-01-30 16:51:39 +03:00
proller
1cfec66165
Merge remote-tracking branch 'upstream/master' into fix14
2019-01-30 13:01:45 +03:00
proller
dc34e8998c
Better fix
2019-01-30 13:01:01 +03:00
alesapin
95db9b4d76
Merge master
2019-01-29 23:17:52 +03:00
alexey-milovidov
fd5ab9ed2e
Merge pull request #4055 from yandex/fix-group-by-array-low-cardibality-arguments
...
Fix group by array low cardinality arguments
2019-01-29 21:32:45 +03:00
alesapin
4f97c291e6
Always run clickhouse-odbc-bridge; Integration tests now able to run odbc-bridge from separate binary; add symlink to clickhouse-odbc-bridge in dbms/programs folder;
2019-01-29 20:17:31 +03:00
proller
4942e024b1
4177 4156 : Fix crash on dictionary reload if dictionary not available
2019-01-29 19:36:50 +03:00
Nikolai Kochetov
21242ad658
Added tests. Restored recursiveRemoveLowCardinality interface.
2019-01-29 18:44:02 +03:00
alesapin
cb0e77dce6
Fix non initialized codec and wrong size in CacheCompressedReadBuffer
2019-01-29 17:55:57 +03:00
chertus
9c6f71bb7e
fix inner and left join with duplicates [issue-4108]
2019-01-29 15:38:53 +03:00
Alexey Milovidov
27b08a7f22
Merge branch 'master' into fixed-clickhouse-localhost-dictionaries
2019-01-29 13:45:06 +03:00
alexey-milovidov
aa06005a32
Merge pull request #4179 from yandex/avoid-overflow-in-function-sleep
...
Fixed possible overflow in function "sleep" (found by fuzz test with UBSan)
2019-01-29 13:44:39 +03:00
Alexey Milovidov
c792191831
Fixed possible overflow in function "sleep" (found by fuzz test with UBSan) #4166
2019-01-29 13:42:45 +03:00
proller
343b31af66
More link with Threads::Threads
2019-01-28 21:21:20 +03:00
Alexey Milovidov
9b2a5c3dec
Merge branch 'master' into split-odbc-bridge
2019-01-28 18:15:18 +03:00
proller
2ab3138eb6
Merge remote-tracking branch 'upstream/master' into fix10
2019-01-28 17:01:06 +03:00
proller
2eee2d97df
Update contrib/libmetrohash
2019-01-28 17:00:50 +03:00
Alexey Milovidov
bc4944eed2
Fixed optimization of loading of ClickHouse dictionaries via localhost #1529
2019-01-28 16:26:10 +03:00
proller
403d36a7f4
Fix
2019-01-28 16:24:55 +03:00
proller
a874945e0e
Use cpuinfo if cpuid not available
2019-01-28 16:16:08 +03:00
proller
22549cc43b
Merge remote-tracking branch 'upstream/master' into fix10
2019-01-28 15:44:25 +03:00
Alexey Milovidov
4e3d9a0f15
Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool
2019-01-28 14:20:24 +03:00
alexey-milovidov
032ed27c27
Merge pull request #4154 from 4ertus2/joins
...
Add IdentifierSemantic and PredicateExpressionsOptimizer refactoring
2019-01-28 01:47:57 +03:00
alexey-milovidov
4b8cf83de7
Merge pull request #4151 from ercolanelli-leo/fix/sumMap-overflow
...
Fix/sum map overflow
2019-01-27 21:11:51 +03:00
alexey-milovidov
ba8fcfd32b
Merge pull request #4158 from vitlibar/add-support-for-absolute-format-schema-paths
...
Add support for absolute format schema paths.
2019-01-27 21:07:00 +03:00
Vitaly Baranov
e9721c9548
Add support for absolute format schema paths.
2019-01-27 12:15:32 +03:00
Alexey Milovidov
ef51f126b4
Removed extraordinarily bad code in StorageFile #2150
2019-01-27 03:38:30 +03:00