Description
Sample beeline session used to reproduce this issue:
0: jdbc:hive2://localhost:10000> drop table test; +---------+ | result | +---------+ +---------+ No rows selected (0.614 seconds) 0: jdbc:hive2://localhost:10000> create table hive_table_copy as select * from hive_table; +------+--------+ | key | value | +------+--------+ +------+--------+ No rows selected (0.493 seconds) 0
The second statement results in two stages, the first stage is labeled with the first drop table statement rather than the CTAS statement.