ClickHouse/dbms/tests
Azat Khuzhin 81aeff2d2a Add _shard_num virtual column for the Distributed engine
With JOIN from system.clusters one can figure out from which server data
came.

TODO:
- optimization to avoid communicating with unrelated shards (for queries
  like "AND _shard_num = n")
- fix aliases (see tests with serverError expected)

v0: AddingConstColumnBlockInputStream
v2: VirtualColumnUtils::rewriteEntityInAst
v3: fix remote(Distributed) by appending _shard_num only if has been requested
2019-11-06 15:26:12 +03:00
..
config
external_models/catboost
instructions
integration Merge pull request #7640 from nvartolomei/nv/docs-on-cluster-alter-replicated-variant-b 2019-11-06 02:08:55 +03:00
perf_drafts
performance
queries Add _shard_num virtual column for the Distributed engine 2019-11-06 15:26:12 +03:00
users.d
.gitignore
clickhouse-client.xml
clickhouse-test
clickhouse-test-server
client-test.xml
CMakeLists.txt
CTestCustom.cmake
decimals_dictionary.xml
ints_dictionary.xml
server-test.xml
stress
strings_dictionary.xml
tsan_suppressions.txt
users.xml