blob: 7763fe008389a5483b8753702079c66f9889f3dd [file] [log] [blame]
--! qt:dataset:src
set hive.vectorized.execution.enabled=false;
-- Create a table with one column, write to it, then add an additional column
-- This can break reads
-- SORT_QUERY_RESULTS
CREATE TEMPORARY TABLE test_orc_n4_temp (key STRING)
STORED AS ORC;
INSERT OVERWRITE TABLE test_orc_n4_temp SELECT key FROM src LIMIT 5;
ALTER TABLE test_orc_n4_temp ADD COLUMNS (value STRING);
SELECT * FROM test_orc_n4_temp;