如何将三列的值从一个 table1 加载到另一个 table2 在配置单元中有单列?

How to load the values of three column from one table1 to another table 2 which is having single column in hive?

能否请您帮我查询一下。

Table 1(输入)有三列(Credit_date、Debit_date、Payment_date)和 Table 2(输出)有一列日期

Table 1 中的三列值应该在 Table 2.[=13 中可用=]

我试过下面的查询但没有用。

insert into table2
select date 
from (
 (select credit_date, debit_date, Payment_date from table 1) as date)t;

能否请您指导。

尝试联合所有:

insert into table2 
select * from (
select credit_date as date from table1
union all
select debit_date as date from table1
union all
select payment_date as date from table1
) t