<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: It is possible insert data into a table A from another B by subquery in HIVE? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/It-is-possible-insert-data-into-a-table-A-from-another-B-by/m-p/155061#M117500</link>
    <description>&lt;P&gt;I already did the insert, this command worked :&lt;/P&gt;&lt;P&gt;INSERT OVERWRITE TABLE db_h_gss.tb_h_teste_insert
PARTITION (cod_index=1)
SELECT
CAST(teste_1 AS VARCHAR(200)),
CAST(teste_2  AS VARCHAR(200)),
CAST(teste_3 AS VARCHAR(200))
FROM db_h_gss.tb_h_teste_orig
limit 100;&lt;/P&gt;&lt;P&gt;But, now, im looking another way to insert data in target table(tb_h_teste_insert), where I show the fields\columns in the target table and the fields\columns corresponding of the source table.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2016 00:43:44 GMT</pubDate>
    <dc:creator>getterf</dc:creator>
    <dc:date>2016-05-19T00:43:44Z</dc:date>
  </channel>
</rss>

