Commit Graph

4214 Commits

Author SHA1 Message Date
Alexander Kuzmenkov
c06210a89a Avoid overallocation in PODArray assignment
Part of #12438
2020-08-07 18:18:32 +03:00
Max Akhmedov
026cb4ac1b
Demangle exception classname for std::exception 2020-08-07 17:52:32 +03:00
Alexander Kuzmenkov
5d60ab33a5
Merge pull request #13147 from ClickHouse/aku/podarray
Assert that the source type is the same before memcpy in PODArray::insert
2020-08-07 16:58:14 +03:00
Nikolai Kochetov
c9f81125bc Review fixes. 2020-08-07 16:02:28 +03:00
Anton Popov
35d0328462
Merge pull request #13396 from CurtizJ/fix-13198
Fix assertion in FinishSortingTransform.
2020-08-07 15:36:17 +03:00
Nikolai Kochetov
63ace67409
Merge pull request #13420 from ClickHouse/fix-tuple-with-null-comparison
Fix tuple with null comparison
2020-08-07 15:32:52 +03:00
Nikolai Kochetov
79f30f9446
Merge pull request #13399 from hczhcz/patch-0806
Fix empty output of arrow related formats
2020-08-07 15:31:45 +03:00
Alexey Milovidov
f74f5cfa06 Attempt to fix "Unbundled" build 2020-08-07 14:18:41 +03:00
alexey-milovidov
b5667e3b0f
Merge pull request #13441 from ClickHouse/fix-parse-date-time-best-effort
Fix error in parseDateTimeBestEffort
2020-08-07 14:02:59 +03:00
alesapin
5de2491eda Enable mixed granularity parts by default 2020-08-07 11:55:51 +03:00
Nikolai Kochetov
7a9b244f37 Push ci 2020-08-07 11:29:41 +03:00
hcz
898e19e18d Fix function names 2020-08-07 15:40:05 +08:00
Alexey Milovidov
0ac3f0481f Probably fix error 2020-08-07 04:27:29 +03:00
Alexey Milovidov
7094f5435c Merge branch 'master' into decimal-too-large-negative-exponent 2020-08-07 04:23:59 +03:00
Alexey Milovidov
1f2d0dce3e Remove useless header file 2020-08-07 04:07:51 +03:00
Alexey Milovidov
d1ed1fb83a Fix error 2020-08-07 04:04:37 +03:00
Alexey Milovidov
476da6c1fe Slightly better 2020-08-07 03:35:13 +03:00
Alexey Milovidov
cf618c1e23 Remove false statements 2020-08-07 03:33:17 +03:00
Alexey Milovidov
733bd0ecec Fix error 2020-08-07 03:29:52 +03:00
Alexey Milovidov
5c1703bd6c Merge branch 'master' into fixed-hash-map-implicit-zero-6 2020-08-07 02:58:57 +03:00
Alexey Milovidov
241017bc1f Fix error in parseDateTimeBestEffort 2020-08-07 02:52:18 +03:00
Alexander Kuzmenkov
da7bc8962d
Merge pull request #13417 from vladimir-golovchenko/fix-quota-statements-interval-formatting
Fix a 'Week'-interval formatting for ATTACH/ALTER/CREATE QUOTA-statements
2020-08-07 01:50:25 +03:00
Artem Zuikov
e05dc65e73
fix duplicated any function rewrite (#13419) 2020-08-07 01:36:14 +03:00
Nikolai Kochetov
c35b704c14
Merge pull request #13394 from azat/PrettyCompactMonoBlock
Fix quirks for PrettyCompactMonoBlock
2020-08-06 22:53:11 +03:00
Nikolai Kochetov
ac52726f7d Renamed iterators. Added comment. 2020-08-06 17:16:52 +03:00
Nikolai Kochetov
38c1d3b061 Fix build. 2020-08-06 16:47:08 +03:00
Alexander Kuzmenkov
511b097881
Merge pull request #13283 from ClickHouse/aku/dictionary-layout
Do not fuzz ASTDictionaryLayout
2020-08-06 16:44:10 +03:00
Alexander Kuzmenkov
e7e71b8615 Use the memcpy predicate from 6f8a274ba0 2020-08-06 16:34:23 +03:00
Alexander Kuzmenkov
9409629511 Merge remote-tracking branch 'origin/master' into HEAD 2020-08-06 16:29:43 +03:00
Nikolai Kochetov
285f323653 Fix build. 2020-08-06 16:22:17 +03:00
Nikolai Kochetov
b28e121967 Fix tuple with NULL exement comparison. 2020-08-06 15:54:14 +03:00
vladimir golovchenko
3c307064b9 Fix a 'Week'-interval formatting for ATTACH/ALTER/CREATE QUOTA-statements. 2020-08-06 05:45:01 -07:00
Nikolai Kochetov
caef062135 Possibly fix race in StorageMemory. 2020-08-06 15:34:16 +03:00
Nikolai Kochetov
539be71635 Fix tests. 2020-08-06 13:05:27 +03:00
Azat Khuzhin
15be6a0dd5 Fix quirks for PrettyCompactMonoBlock
- Fix PrettyCompactMonoBlock for clickhouse-local (broken in 20.3+,
  fails with an error `Unknown format PrettyCompactMonoBlock`, after #6239)
- Fix extremes/totals with PrettyCompactMonoBlock (even before 20.3
  breakage they were simply ignored)
2020-08-06 11:59:45 +03:00
hcz
dadcca6c08 Fix empty output of arrow related formats 2020-08-06 16:32:31 +08:00
Alexey Milovidov
8fd4038234 Fix UBSan error 2020-08-06 04:59:02 +03:00
Anton Popov
e7d3154d38 fix queries with order by prefix of primary key and constant columns 2020-08-06 02:37:39 +03:00
Alexander Kuzmenkov
45b57f2df5 fixes 2020-08-06 00:53:35 +03:00
Alexander Kuzmenkov
3b1bacf390 Merge remote-tracking branch 'origin/master' into HEAD 2020-08-06 00:15:06 +03:00
Alexander Kuzmenkov
5c2d7fc569 fixes 2020-08-05 18:45:44 +03:00
Alexander Kuzmenkov
ead62bc9d7 Remove everything except static_assert for same type 2020-08-05 17:12:41 +03:00
Alexander Kuzmenkov
aa629a4c82 Merge remote-tracking branch 'origin/master' into HEAD 2020-08-05 17:09:56 +03:00
Alexander Kuzmenkov
0eaab3d095
Merge pull request #13191 from ClickHouse/aku/semicolon-cleanup
Cleanup for #12999. NFC
2020-08-05 14:53:27 +03:00
Anton Popov
33699d8d4a
Merge pull request #13282 from amosbird/mha
Report broken parts in compact MergeTree
2020-08-05 14:27:32 +03:00
alexey-milovidov
85f28db714
Merge pull request #11524 from ClickHouse/stack-frams-size-limit
Avoid too large stack frames
2020-08-05 13:12:08 +03:00
Artem Zuikov
829955a538
Better errors in JOIN ON section (#13330) 2020-08-05 12:31:59 +03:00
alesapin
66982b404e
Merge pull request #13341 from ClickHouse/fix_moving_sum_segfault
Fix moving sum segfault
2020-08-05 11:44:51 +03:00
Alexander Kuzmenkov
d205b20c04 wip 2020-08-05 05:21:33 +03:00
Alexander Kuzmenkov
4417fb80e6
Merge pull request #13203 from oandrew/avro-confluent-skip-tombstone
AvroConfluent: skip Kafka tombstone records/skip broken records
2020-08-05 02:47:42 +03:00
Alexander Kuzmenkov
fcdfa2a125 Merge remote-tracking branch 'origin/master' into HEAD 2020-08-05 02:25:50 +03:00
Alexander Kuzmenkov
0d947b64bd fixup 2020-08-05 02:23:31 +03:00
alexey-milovidov
5b4482bf1a
Merge pull request #13234 from azat/roundUpToPowerOfTwoOrZero-safety
Return passed number for numbers with MSB set in roundUpToPowerOfTwoOrZero()
2020-08-05 00:43:01 +03:00
alesapin
2ef491bc53 Fix moving sum segfault 2020-08-04 22:45:39 +03:00
Vitaly Baranov
3778b7db90 Fix reading row policies from users.xml when names of databases or tables contain dots. 2020-08-04 20:48:57 +03:00
Anton Ivashkin
327090b7ea Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events, second attempt 2020-08-04 19:38:13 +03:00
Alexey Milovidov
c204035b55 Revert one modification 2020-08-04 15:29:24 +03:00
Alexey Milovidov
d91471ea00 Merge branch 'master' into stack-frams-size-limit 2020-08-04 15:28:47 +03:00
Vitaly Baranov
5a14aeadea
Merge pull request #13279 from vitlibar/use-reference-while-iterating-settings
Use references while iterating through settings
2020-08-04 13:08:56 +03:00
alesapin
943eb2f990
bump CI 2020-08-04 12:42:51 +03:00
Amos Bird
019f6d3a76
Report broken parts in compact MergeTree 2020-08-04 16:45:52 +08:00
Nikolai Kochetov
389f895b43
Merge pull request #13290 from ClickHouse/fix-totals-for-delayed-replica
Fix totals for delayed replica
2020-08-04 11:26:09 +03:00
Andrew Onyshchuk
2883831564 AvroConfluent: skip broken messages 2020-08-04 02:43:42 -05:00
Andrew Onyshchuk
99c183da0f AvroConfluent: skip tombstone records 2020-08-04 02:43:42 -05:00
Azat Khuzhin
d28c4c4a6c Merge remote-tracking branch 'upstream/master' into roundUpToPowerOfTwoOrZero-safety
* upstream/master:
  fix left asof join with join_use_nulls (#13291)
  Revert "Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…"
  Add test
  Added another check just in case
  Fixup
  Fix range checks in h3 functions
  Fix configs
  Update tests
  Check ALTERs; update test
  Sanity checks for MergeTreeSettings
2020-08-04 09:29:46 +03:00
Vitaly Baranov
a804f9499d Use references while iterating through settings. 2020-08-04 04:00:38 +03:00
Artem Zuikov
d4266d9619
fix left asof join with join_use_nulls (#13291) 2020-08-04 02:11:39 +03:00
Alexey Milovidov
6d5b9c36e0 Lower unroll count 2020-08-04 01:40:55 +03:00
Alexey Milovidov
05bfb70c7a Addition to Revert "Less indirection in FixedHashTable" 2020-08-04 01:40:55 +03:00
Alexey Milovidov
e241df5541 Add warning suppression for gcc 2020-08-04 01:40:55 +03:00
Alexey Milovidov
373cd918fb Remove warning suppression 2020-08-04 01:40:55 +03:00
Alexey Milovidov
eb534ebee3 Fix warning 2020-08-04 01:40:55 +03:00
Alexey Milovidov
f29c0af9aa Simpler code 2020-08-04 01:40:55 +03:00
Alexey Milovidov
a9998746ea Added fully unrolled method 2020-08-04 01:40:55 +03:00
Alexey Milovidov
a7e5feb8b4 Added another method 2020-08-04 01:40:55 +03:00
Alexey Milovidov
d94717c699 Add one more method to the test 2020-08-04 01:40:55 +03:00
alexey-milovidov
4d5ba3571b Update average.cpp 2020-08-04 01:40:55 +03:00
Alexey Milovidov
ba6d5d00d9 Apply one of the variants 2020-08-04 01:40:55 +03:00
Alexey Milovidov
f428c2da70 Add a test 2020-08-04 01:40:55 +03:00
alexey-milovidov
43f048d2cb
Merge pull request #13277 from ClickHouse/fix-fuzz-test5
Fix range checks in h3 functions
2020-08-04 01:29:33 +03:00
Alexey Milovidov
9f07298eae Merge branch 'master' into decimal-too-large-negative-exponent 2020-08-04 01:28:05 +03:00
alexey-milovidov
c43a27782e
Merge pull request #13153 from ClickHouse/merge-tree-settings-sanity-check
Sanity checks for MergeTreeSettings
2020-08-04 01:27:19 +03:00
alexey-milovidov
65c755190e
Revert "Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…" 2020-08-04 01:18:59 +03:00
Vitaly Baranov
dadebadcac Print correct error message in log for unknown settings in users.xml 2020-08-04 00:20:33 +03:00
Azat Khuzhin
2fc1c859c7 Merge remote-tracking branch 'upstream/master' into roundUpToPowerOfTwoOrZero-safety
* upstream/master:
  Update tips.md
  Wait with retries in fast test (#13284)
  update #syntax-expressions in syntax.md (#13269)
  fix test
  Set custom prefix in server-test.xml too.
  Update HashTable.h
  Attempt to fix "Arcadia" build
  More performance tests
  Fix error + one more optimization
  Attempt to fix "Arcadia" build
  Add test
  Continue
  Fix hash table with NaN keys
  Fix tests
  Fix errors
  Fix errors
  Revert some changes
  shellcheck --check-sourced --external-sources --severity style --exclude SC1071 --format diff *.sh ../1_stateful/*.sh | git apply
  Fix all info from Shellcheck
  fgrep -> grep -F
  shellcheck --check-sourced --external-sources --severity info --exclude SC1071 --format diff */*.sh | git apply
  Minor changes 2
  Minor changes
  Fix warnings found by Shellcheck
  Refresh ya.make
  Better code
  Fix assertion in KeyCondition
  Fix including Common/config.h in the Arcadia build.
  Fix bad code
  Add more threads for the 01323_too_many_threads_bug
  Exclude threads used for query_log processing 01323_too_many_threads_bug
  Use ILIKE over lower() LIKE in 01323_too_many_threads_bug
  Update test
  Fix style
  Simplify CMake for libunwind (suggestion from @azat)
  Normalize ya.make files, fix "Arcadia" build
  Fix 01323_too_many_threads_bug (use arrayUniq() over length())
  Fix logging in MergeTreeDataSelectExecutor for multiple threads (attach to thread group)
  Use "Not using primary index on part" over "Not using index on part" (add "primary")
  Exclude 01413_rows_events from the fasttest (TRUNCATE query_log)
  fasttest: use arrays for skip list (to make it more patch friendly)
  Update README.md
  Fix warning in libunwind
  Fix warning in libunwind
  Fix assert in geohashesInBox
  Fix assert in parseDateTimeBestEffort
  Add test
  Fix function if with nullable constexpr as cond that is not literal NULL
  Fix assert in *Map aggregate functions
  More tests
  Fix assert in arrayElement
  Fix assert in IN with tuple literals and functions
  Use stored size for UInt16 case
  Revert "Less indirection in FixedHashTable"
  Special case for aggregation by 8bit field
  Less indirection in FixedHashTable
  Update FixedHashTable.h
  Avoid increment of size in the inner loop of aggregation by UInt8/UInt16
  Trigger CI
  Slightly better
  Fix fuzz test
  Add test
  Function "materialize" should work for NULL as expected
  Minor changes in Debian scripts
  Fix Shellcheck errors
  Fix some spurious perf test failures
  Fix test
  +x for test
  Merge with master
  Added and updated tests
  More sane
  Remove ridiculous trash
  Use absolute paths to backup locations (shadow)
  Add test for macros usage in certain kafka setting.
  Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events
  try fix sync
  Fix various code defects in groupArrayMoving functions #12568
  fix
  fixes
  fixes
  implement reneme dictionary query
  rename database with dictionaries
  fix tests
  use dictionary ids
  fix build
  add uuid to generated config
  add StorageID to IDictionaryBase 3
  add StorageID to IDictionaryBase 2
  add StorageID to IDictionaryBase 1
  write uuid for ddl dictionaries
  fixes
  add implicit uuid macro
  fix tests
  fix, add test
  implement rename database for atomic
  fix symlinks, add short syntax of attach database
  add uuid to atomic databases
2020-08-03 22:51:40 +03:00
alexey-milovidov
2c4a494440
Update DelayedSource.cpp 2020-08-03 21:50:02 +03:00
Nikolai Kochetov
b6f04cac47 Fix totals and extremes for delayed replica. 2020-08-03 21:47:13 +03:00
alexey-milovidov
ef0097d326
Merge pull request #12343 from ClickHouse/database_atomic_improvements
DatabaseAtomic improvements
2020-08-03 21:45:41 +03:00
Nikolai Kochetov
42c5248611 Fix totals and extremes for delayed replica. 2020-08-03 20:41:56 +03:00
Alexey Milovidov
1d091738dd Merge branch 'master' into stack-frams-size-limit 2020-08-03 20:41:47 +03:00
alexey-milovidov
71d8cab08c
Merge pull request #12622 from ClickHouse/fix-group-array-moving
Fix various code defects in groupArrayMoving functions
2020-08-03 20:35:24 +03:00
Alexander Kuzmenkov
0d4b8bc226 fixup 2020-08-03 20:22:59 +03:00
Alexander Kuzmenkov
59ed586b69 fixup 2020-08-03 20:15:08 +03:00
Alexey Milovidov
7bd0620deb Added another check just in case 2020-08-03 19:39:08 +03:00
alexey-milovidov
3015503dc6
Merge pull request #13254 from ClickHouse/fix-hash-table-nan-key
Fix hash table with NaN keys
2020-08-03 19:37:17 +03:00
Alexander Kuzmenkov
004a393295 Merge remote-tracking branch 'origin/master' into HEAD 2020-08-03 19:20:05 +03:00
Alexander Kuzmenkov
442693dc53 Do not fuzz ASTDictionaryLayout
+ some cosmetic changes
2020-08-03 19:16:20 +03:00
alexey-milovidov
f536836eee
Merge pull request #13091 from ClickHouse/fixed-hash-map-implicit-zero-4
Slightly improve performance of aggregation by UInt8/UInt16 keys, part 4
2020-08-03 19:07:35 +03:00
Alexey Milovidov
0e515aa1c9 Fixup 2020-08-03 17:49:50 +03:00
Alexey Milovidov
41f30d3bd8 Fix range checks in h3 functions 2020-08-03 17:32:14 +03:00