ClickHouse/tests/queries/0_stateless/02479_mysql_connect_to_self.reference

73 lines
1.6 KiB
Plaintext

---
1 one -1 een
2 two -2 twee
3 three -3 drie
4 four -4 vier
5 five -5 vijf
---
5
---
1
1
1
1
1
---
1
2
3
4
5
---
-5 five
-4 four
-1 one
-3 three
-2 two
---
-3 three
-1 one
-2 two
-4 four
-5 five
---
-1
-3
-4
-5
---
4
QUERY id: 0
PROJECTION COLUMNS
key String
a String
b String
c String
PROJECTION
LIST id: 1, nodes: 4
COLUMN id: 2, column_name: key, result_type: String, source_id: 3
COLUMN id: 4, column_name: a, result_type: String, source_id: 3
COLUMN id: 5, column_name: b, result_type: String, source_id: 3
COLUMN id: 6, column_name: c, result_type: String, source_id: 3
JOIN TREE
TABLE_FUNCTION id: 3, table_function_name: mysql
ARGUMENTS
LIST id: 7, nodes: 5
CONSTANT id: 8, constant_value: \'127.0.0.1:9004\', constant_value_type: String
CONSTANT id: 9, constant_value: \'default\', constant_value_type: String
EXPRESSION
FUNCTION id: 10, function_name: currentDatabase, function_type: ordinary, result_type: String
IDENTIFIER id: 11, identifier: foo
CONSTANT id: 12, constant_value: \'default\', constant_value_type: String
CONSTANT id: 13, constant_value: \'\', constant_value_type: String
SETTINGS connection_wait_timeout=123 connect_timeout=40123002 read_write_timeout=40123001 connection_pool_size=3
SELECT
key AS key,
a AS a,
b AS b,
c AS c
FROM mysql(\'127.0.0.1:9004\', \'default\', foo, \'default\', \'\', SETTINGS connection_wait_timeout = 123, connect_timeout = 40123002, read_write_timeout = 40123001, connection_pool_size = 3)
---
5