> If I run a query with CREATE TABLE AS, it breaks with the error below. > However, just running the query works if I don't try to create a table from > the results. It does not happen to all CTAS queries.
Not sure if that's related to Tez at all. Can try running it with set hive.cbo.enable=false; Cheers, Gopal