Commit Graph

18362 Commits

Author SHA1 Message Date
Alexander Kuzmenkov
0116c10e41 Require explicit type in unalignedStore
This is a follow-up to PR #5786, which fixed a segfault caused by
an unexpected deduced type for unalignedStore. To prevent future errors
of this kind, require a caller to specify the stored type explicitly.
2019-06-28 20:33:14 +03:00
alexey-milovidov
18659e367e
Merge pull request #5758 from zlobober/bool_masks
Extend KeyCondition interface so that it returns BoolMask.
2019-06-28 14:51:52 +03:00
alexey-milovidov
b9cbd36487
Merge pull request #5750 from hczhcz/patch-7
Refactor: Improve function registering
2019-06-28 14:50:38 +03:00
alexey-milovidov
1327342040
Merge pull request #5764 from hczhcz/patch-8
Add synonim arrayFlatten <-> flatten
2019-06-28 14:49:05 +03:00
alexey-milovidov
6e77fc4abe
Merge pull request #5775 from yandex/lfalloc2mimalloc
Use mimalloc instead of lfallocator
2019-06-28 14:48:18 +03:00
alexey-milovidov
8b93f086aa
Merge pull request #5777 from proller/fix27
Move file Functions/array/empty.cpp -> Functions/empty.cpp
2019-06-28 14:47:12 +03:00
alexey-milovidov
72b0bdd0d3
Merge pull request #5786 from yandex/awful_delta_codec_bug
Fix bug in delta codec
2019-06-28 14:46:05 +03:00
alexey-milovidov
2f0918eadf
Merge pull request #5785 from fredchenbj/fix/io_endian_portable_on_mac
IO: fix endian portable on macos x
2019-06-28 14:45:20 +03:00
alesapin
cfd8df6568 Fix bug in delta codec caused by genious C++ implicit type conversion and consequent template type deduction 2019-06-28 13:42:36 +03:00
hcz
aea8d93248 Fix tests 2019-06-28 15:17:47 +08:00
fredchenbj
e3b3ca8d0e IO: fix endian portable on macos x
Signed-off-by: fredchenbj <cfworking@163.com>
2019-06-28 15:15:56 +08:00
hcz
fc6140ade8 Add tests 2019-06-28 13:00:26 +08:00
hcz
1d2695cbd2 Add alias flatten/arrayFlatten 2019-06-28 11:55:09 +08:00
Danila Kutenin
407cf9a229 Comments 2019-06-28 00:43:50 +03:00
Alexey Milovidov
3c4784a466 Removed obsolete undocumented embedded dictionaries that were used by Yandex.Metrica 2019-06-27 22:18:28 +03:00
proller
26b941b6d1 Merge remote-tracking branch 'upstream/master' into fix27 2019-06-27 21:43:55 +03:00
proller
da6490c11d renamed: Functions/array/notEmpty.cpp -> Functions/notEmpty.cpp 2019-06-27 21:43:40 +03:00
alexey-milovidov
7ce4cd7861
Merge pull request #5745 from nvartolomei/nv/clickhouse-copier-cross-replication
clickhouse-copier: Allow empty database name
2019-06-27 21:09:00 +03:00
proller
0baaa4b254 Move file Functions/array/empty.cpp -> Functions/empty.cpp 2019-06-27 20:45:41 +03:00
alexey-milovidov
ea37aeb1b4
Merge pull request #5774 from yandex/gcc-9
Compatibility with gcc-9
2019-06-27 20:24:09 +03:00
alexey-milovidov
246f34d8f6
Merge pull request #5768 from abyss7/better-log
Print table name in message about missing column
2019-06-27 18:49:40 +03:00
Danila Kutenin
e67431e455 Use mimalloc instead of lfallocator 2019-06-27 18:13:19 +03:00
Alexey Milovidov
e33d482271 Fixed warning in gcc-9 2019-06-27 17:44:39 +03:00
Maxim Akhmedov
2cacc3cfd2 CHYT-142: extend KeyCondition interface so that it returns BoolMask. 2019-06-27 16:31:33 +03:00
Alexey Milovidov
e3277c191b Fixed idiotic inconsistency in code 2019-06-27 16:26:06 +03:00
Alexey Milovidov
8f3ff6c77a Removed inconsistent whitespaces 2019-06-27 16:20:33 +03:00
proller
aeb7eb42d1 clickhouse-copier: Fix use-after free on shutdown (#5752)
* release script: convert .deb to .rpm and .tgz

* clickhouse-copier: Fix use-after free on shutdown

* Revert "Disable cluster copier tests"

This reverts commit 71872fc3c3.
2019-06-27 15:29:49 +03:00
Nikolai Kochetov
8e4bb58c4c
Merge pull request #5757 from yandex/leader_queries_ddl_worker
Execute some distributed DDL queries on leader
2019-06-27 15:12:37 +03:00
Alexey Milovidov
f6265d332a Fixed bad translation in comment 2019-06-27 14:13:32 +03:00
Ivan Lezhankin
9d3eef80b0 Print table name in message about missing column. 2019-06-27 13:56:04 +03:00
proller
e9a66d427c Fix freebsd build 2019-06-26 23:32:28 +03:00
alesapin
b7f173ad2c Execute some distributed DDL queries on leader 2019-06-26 17:52:20 +03:00
Alexander Kuzmenkov
cb718c194f Fix a hard-to-spot typo: aggreAGte -> aggregate. 2019-06-26 15:35:27 +03:00
alexey-milovidov
dca6d2947c
Merge pull request #5600 from Enmk/gorilla_column_encoding
Gorilla column encoding
2019-06-26 12:53:12 +03:00
hcz
da206109a6 Move registerFunctionConvertCharset 2019-06-26 16:05:53 +08:00
hcz
97b762ad06 Improve function registering 2019-06-26 15:53:43 +08:00
Nicolae Vartolomei
59d66bb1d5 clickhouse-copier: Allow empty database name
This is needed to make clickhouse-copier work with cross-replication
setups (also known as [circular replication][1]).

When database name is not specified we rely on `<default_database>`
element from replica stanza.

Example:

```xml
<source_cluster>
    <shard>
        <replica>
            <host>localhost</host>
            <port>9000</port>
            <default_database>r0</default_database>
        </replica>
        <replica>
            <host>localhost</host>
            <port>666</port>
            <default_database>r1</default_database>
        </replica>
    </shard>
    <shard>
        <replica>
            <host>localhost</host>
            <port>666</port>
            <default_database>r0</default_database>
        </replica>
        <replica>
            <host>localhost</host>
            <port>9000</port>
            <default_database>r1</default_database>
        </replica>
    </shard>
</source_cluster>
```

[1]: https://www.altinity.com/blog/2018/5/10/circular-replication-cluster-topology-in-clickhouse
2019-06-25 22:09:11 +00:00
alesapin
71872fc3c3 Disable cluster copier tests 2019-06-25 22:26:26 +03:00
alesapin
d3a5759c73 Disable tests and add global timeout 2019-06-25 16:20:04 +03:00
alesapin
57ed08f832
Merge pull request #5738 from yandex/hczhcz-patch-6
Slightly better style
2019-06-25 15:14:28 +03:00
Vasily Nemkov
138087d2e1 Performance tests for Gorilla and DoubleDelta
Testing INSERTs and SELECTs on codec combinations:
 * DoubleDelta (or Gorilla)
 * LZ4
 * DD (or G) + LZ4
On 3 types of data:
 * sequential
 * monotonic
 * random.
2019-06-25 13:47:55 +03:00
alesapin
4a8a70a079
Merge pull request #5720 from coraxster/fix-5377
MergedColumnOnlyOutputStream. Skip empty blocks. Fix 5377
2019-06-25 13:35:09 +03:00
alesapin
2fcb786093 Slightly more ClickHouse style 2019-06-25 13:17:11 +03:00
alesapin
b14a6ab8ab Merge branch 'patch-6' of https://github.com/hczhcz/ClickHouse into hczhcz-patch-6 2019-06-25 12:40:13 +03:00
hcz
eff547cf70 Update test cases 2019-06-25 14:27:27 +08:00
hcz
3368ed933f Improve error codes 2019-06-25 12:39:00 +08:00
hcz
8a2c6985a4 Use size_t step 2019-06-25 12:37:40 +08:00
hcz
f1e146d208 Fix parameter handling 2019-06-25 12:28:20 +08:00
alexey-milovidov
b43e75200e
Merge pull request #5595 from inv2004/moving-sum
movingSum/Avg window functions for numeric and decimals
2019-06-24 19:13:26 +03:00
dmitry kuzmin
c72e4dfe08 5337: clang compiler fix 2019-06-24 18:07:01 +03:00