Hadoop 配置单元中的列选择
我有一个包含200列的Customer表,我想从Customer表创建另一个表,该表应该只有190列。 如何从基表中跳过配置单元中的几列Hadoop 配置单元中的列选择,hadoop,hive,Hadoop,Hive,我有一个包含200列的Customer表,我想从Customer表创建另一个表,该表应该只有190列。 如何从基表中跳过配置单元中的几列 CREATE TABLE NewCustomer AS SELECT col1, col2, ... col190 FROM Customer; 你能详细说明一下吗?为什么不使用CTA选择所需的列?我不想键入1..190列
CREATE TABLE NewCustomer AS
SELECT col1, col2, ... col190
FROM Customer;
你能详细说明一下吗?为什么不使用CTA选择所需的列?我不想键入1..190列