I have a table database1.table1
Table 'database1.table1' has 2 columns and one partition column: columnA, columnB partitioned by columnC
I need to create a table 'database2.table2' with no partition but with two columns columnA, columnB. I need to COPY the data from database1.table1 into database2.table2 (without deleting any data in database1.table1)
I tried the following but the data gets moved. I need to just copy the data
CREATE TABLE DATABASE2.TABLE2
SELECT COLUMNA, COLUMNB
FROM DATABASE1.TABLE1
Note: I need the table with actual data and I can not create an EXTERNAL table.