Commit Graph

31006 Commits

Author SHA1 Message Date
millb
c154675a17 fixed_merge_conflict:wq 2019-10-29 13:30:47 +03:00
Mikhail Korotov
57f6780136
Update ErrorCodes.cpp 2019-10-29 14:39:57 +03:00
alesapin
cde07dd620 Disable context replacement for internal queries 2019-10-29 13:27:19 +03:00
Amos Bird
2c75a51d4f
Instant count() for MergeTree
Use (Replicated)MergeTree's metadata to do trivial count()
2019-10-29 17:45:47 +08:00
liu-bov
7b3e34a79a docs(repeat): Added repeat function description 2019-10-29 12:39:29 +03:00
zhang2014
281c81cab7 fix sync zh get_started 2019-10-29 14:27:51 +08:00
zhang2014
6db3da855d add show help & no-pager 2019-10-29 14:20:12 +08:00
Ivan Blinkov
68fa3411b2
stale.yml tuning 2019-10-29 11:07:11 +08:00
Ivan Blinkov
9002f22403
Update upcoming meetups 2019-10-29 10:45:51 +08:00
memo
3449e8d107 fix 2019-10-29 10:27:54 +08:00
alexey-milovidov
a17cefb9c6
Merge pull request #7465 from Felixoid/mark_cache_doc
Add user setting mark_cache_min_lifetime documentation
2019-10-28 16:17:28 +03:00
Alexander Kuzmenkov
6e2af3db41
Merge pull request #7480 from azat/crc-v3
Add CRC32IEEE()/CRC64() support
2019-10-28 16:16:37 +03:00
alexey-milovidov
b1a21ce0be
Merge pull request #7476 from SQkaer/master
update trainslation of fixedstring and fix the given examples of nullable in zh doc
2019-10-28 16:15:56 +03:00
alexey-milovidov
3b4c5cc324
Merge pull request #7483 from ClickHouse/filimonov-mutationsdocs-patch
remove some obsolete notes about mutations
2019-10-28 16:15:14 +03:00
Amos Bird
15d12db16a
Fix DUMP debug. 2019-10-28 19:39:51 +08:00
Alexander Kuzmenkov
c3ea94209b
Merge pull request #7491 from traceon/odbc-bridge-type-mapping-fix
Add handling of SQL_TINYINT and SQL_BIGINT, fix SQL_FLOAT in ODBC Bridge
2019-10-28 13:30:18 +03:00
memo
3064e716db add line 2019-10-28 14:48:25 +08:00
memo
0f572e5d7d add line 2019-10-28 12:51:59 +08:00
zhang2014
3e98ba4a61 sync zh getting started 2019-10-28 12:18:22 +08:00
zhang2014
f4d93785cf add easy diff for document tracking 2019-10-28 11:20:39 +08:00
memo
90333ac9aa modified getReturnType 2019-10-28 11:15:52 +08:00
Nikolai Kochetov
43c8d13de6
Merge pull request #7496 from amosbird/fix15
Fix HAVING without GROUP BY
2019-10-28 02:44:24 +03:00
Amos Bird
77bdfb3350
Fix HAVING without GROUP BY 2019-10-27 22:10:54 +08:00
hcz
01d384e6bd Add docs 2019-10-26 21:38:05 +08:00
Mikhail f. Shiryaev
0cdd7ca6b9 Add user setting mark_cache_min_lifetime documentation 2019-10-25 23:10:04 +02:00
Azat Khuzhin
fe98e90d0d Avoid conflicts of static zlib and mariadb-connector-c zlib
After crc32() had been replaced with crc32_z() the following error will
happen with two different zlib:
  2019-10-25 09:48:42 /usr/bin/ld.gold: error: contrib/zlib-ng/libz.a(crc32.c.o): multiple definition of 'get_crc_table'
  2019-10-25 09:48:42 /usr/bin/ld.gold: contrib/mariadb-connector-c/libmariadb/libmariadbclient.a(crc32.c.o): previous definition here

Fix this by using zlibstatic compiled for and by CH in
mariadb-connector-c, and wrap into function reduce variable scopes.
2019-10-25 23:32:33 +03:00
Azat Khuzhin
04f1e6b2cc Use crc32_z() over crc32(), since it size_t for length 2019-10-25 23:32:29 +03:00
Denis Glazachev
8e48430159 Add handling of SQL_TINYINT and SQL_BIGINT
Fix handling of SQL_FLOAT
2019-10-25 21:49:49 +04:00
alesapin
c7cd911305
Merge pull request #7360 from ClickHouse/dictionaries_ddl_loader
Dictionaries ddl loader
2019-10-25 18:34:11 +03:00
Sergei Bocharov
f9dc1361d1 Fixes 2019-10-25 17:18:19 +03:00
Sergei Bocharov
7db76a50f1 Fixes 2019-10-25 17:15:35 +03:00
Azat Khuzhin
2d2e738085 Add CRC32IEEE()/CRC64() support
zlib's implementation uses CRC-32-IEEE 802.3 polynomial (0xedb88320) but
with starting value 0xffffffff, so introduce another crc32
implementation - CRC32IEEE that has starting value - 0

Also add CRC64 with ECMA polynomial.

v2: s/crc*_data./crc*_data./ to avoid conflicts with other crc32.h in contrib
v3: join with existing CRC32()
2019-10-25 15:52:41 +03:00
filimonov
cbecfd2432
Fixing 'note' markdown 2019-10-25 13:04:07 +02:00
filimonov
3e9e258693
remove some obsolete notes about mutations 2019-10-25 11:37:22 +02:00
alesapin
04ca163518 Merge branch 'master' into dictionaries_ddl_loader 2019-10-25 10:58:04 +03:00
hcz
3767cb76de Improve style 2019-10-25 11:25:02 +08:00
alesapin
b808172e91
Merge pull request #7481 from ClickHouse/revert-7460-patch-2
Revert "Remove hardcoded paths in unwind target"
2019-10-24 23:55:58 +03:00
alesapin
7e5b05bbe8
Revert "Remove hardcoded paths in unwind target" 2019-10-24 23:55:41 +03:00
alesapin
8755f5ffa9 Add missed config 2019-10-24 23:08:36 +03:00
Artem Zuikov
df32d92ee5
Merge pull request #7358 from 4ertus2/ast
Better ambiguous column detection
2019-10-24 20:56:23 +03:00
alesapin
5d8d1df802
Merge pull request #7434 from excitoon-favorites/fix-7424
Allowed to have some parts on destination disk or volume in MOVE PARTITION
2019-10-24 19:45:22 +03:00
alexey-milovidov
e865136b2c
Merge pull request #7450 from excitoon-favorites/test-7414
Added integration test for #7414 (validation of `max_data_part_size_bytes`).
2019-10-24 19:23:21 +03:00
alexey-milovidov
8c01dcca25
Merge pull request #7460 from podshumok/patch-2
Remove hardcoded paths in unwind target
2019-10-24 19:20:52 +03:00
alexey-milovidov
0d1d6e590b
Merge pull request #7470 from Felixoid/partition_id_doc
Add PARTITION ID to OPTIMIZE documentation
2019-10-24 19:15:52 +03:00
rainbowsysu
8e5a6cd206 update trainslation of fixedstring in zh 2019-10-24 21:22:50 +08:00
chertus
f2028e901d review related changes 2019-10-24 16:04:50 +03:00
Ivan
c250db4922
Update Docker Image for Binary Packager (#7474) 2019-10-24 15:56:30 +03:00
chertus
12cd21f3c3 Merge branch 'master' into ast 2019-10-24 15:20:09 +03:00
rainbowsysu
08788e3443 fixed the given examples of nullable in zh doc 2019-10-24 20:07:10 +08:00
Artem Zuikov
39b64dff87
Merge pull request #7454 from 4ertus2/refactoring
Refactoring: extract non aliases logic out of QueryNormalizer
2019-10-24 14:34:53 +03:00