ClickHouse/tests/queries/0_stateless/01600_detach_permanently.reference

103 lines
2.2 KiB
Plaintext
Raw Normal View History

2020-12-07 13:55:24 +00:00
##################
setup env
##################
2020-11-30 17:52:32 +00:00
db_ordinary.log_table 1
>table detached!
db_ordinary.log_table 2
>Table is back after restart
10
db_ordinary.log_table 3
>table detached (permanently)!
db_ordinary.log_table 4
>table is still detached (after restart)!
db_ordinary.log_table 5
>Table is back after attach
db_ordinary.log_table 6
10
2020-12-07 13:55:24 +00:00
##################
2020-11-30 17:52:32 +00:00
db_ordinary.mt_table 1
>table detached!
db_ordinary.mt_table 2
>Table is back after restart
10
db_ordinary.mt_table 3
>table detached (permanently)!
db_ordinary.mt_table 4
>table is still detached (after restart)!
db_ordinary.mt_table 5
>Table is back after attach
db_ordinary.mt_table 6
10
2020-12-07 13:55:24 +00:00
##################
2020-11-30 17:52:32 +00:00
db_ordinary.null_table 1
>table detached!
db_ordinary.null_table 2
>Table is back after restart
0
db_ordinary.null_table 3
>table detached (permanently)!
db_ordinary.null_table 4
>table is still detached (after restart)!
db_ordinary.null_table 5
>Table is back after attach
db_ordinary.null_table 6
0
2020-12-07 13:55:24 +00:00
##################
2020-11-30 17:52:32 +00:00
db_atomic.log_table 1
>table detached!
db_atomic.log_table 2
>Table is back after restart
10
db_atomic.log_table 3
>table detached (permanently)!
db_atomic.log_table 4
>table is still detached (after restart)!
db_atomic.log_table 5
>Table is back after attach
db_atomic.log_table 6
10
2020-12-07 13:55:24 +00:00
##################
2020-11-30 17:52:32 +00:00
db_atomic.mt_table 1
>table detached!
db_atomic.mt_table 2
>Table is back after restart
10
db_atomic.mt_table 3
>table detached (permanently)!
db_atomic.mt_table 4
>table is still detached (after restart)!
db_atomic.mt_table 5
>Table is back after attach
db_atomic.mt_table 6
10
2020-12-07 13:55:24 +00:00
##################
2020-11-30 17:52:32 +00:00
db_atomic.null_table 1
>table detached!
db_atomic.null_table 2
>Table is back after restart
0
db_atomic.null_table 3
>table detached (permanently)!
db_atomic.null_table 4
>table is still detached (after restart)!
db_atomic.null_table 5
>Table is back after attach
db_atomic.null_table 6
0
2020-12-07 13:55:24 +00:00
##################
test for MV
MV is working
Usual detach works immediately till restart
Usual detach activates after restart
Permanent detach works immediately
Permanent detach still works after restart
View can be reattached
##################
test for MV with inner table
MV is working
1
View can be reattached
##################
DETACH DATABASE is not implemented (proper error)
1