LOG_DEBUG(log,"Skipping irrelevant shards - the query will be sent to the following shards of the cluster (shard numbers): {}",makeFormattedListOfShards(optimized_cluster));
cluster=optimized_cluster;
query_info.cluster=cluster;
}
else
{
LOG_DEBUG(log,"Unable to figure out irrelevant shards from WHERE/PREWHERE clauses - the query will be sent to all shards of the cluster{}",has_sharding_key?"":" (no sharding key)");
LOG_DEBUG(log,"Skipping irrelevant shards - the query will be sent to the following shards of the cluster (shard numbers): {}",makeFormattedListOfShards(optimized_cluster));
cluster=optimized_cluster;
}
else
{
LOG_DEBUG(log,"Unable to figure out irrelevant shards from WHERE/PREWHERE clauses - the query will be sent to all shards of the cluster{}",has_sharding_key?"":" (no sharding key)");