<?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: Any way to create External Table with Specific Set of Files in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214454#M79092</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;EM&gt;Awesome &lt;A rel="user" href="https://community.cloudera.com/users/16893/mahenderbigdata.html" nodeid="16893"&gt;@Mahender S&lt;BR /&gt;&lt;/A&gt;As the issue is resolved, hence it will be also great if you can mark this HCC thread as Answered by clicking on the "Accept" Button. That way other HCC users can quickly find the solution when they encounter the same issue.!&lt;BR /&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 20 Jun 2018 07:57:04 GMT</pubDate>
    <dc:creator>vmurakami</dc:creator>
    <dc:date>2018-06-20T07:57:04Z</dc:date>
    <item>
      <title>Any way to create External Table with Specific Set of Files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214451#M79089</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;We are copying files from our upstream system which are in JSON GZ format. They are following a pattern for very daily slice say YYYYMMDDHH (2018053100) they are maintianing two folders DATA and METADATA. Where DATA holds actual data and METADATA holds RowCount of that day's data.We need to  create external table on top of copied data, where it only consider *.json.gz extension files only, excluding other file extensions. We dont want to copy files into another location since they are large in size.  We also tried INPUT_ FILENAME .... virtual column, it didn't work. Any suggesstion for this scnearios ?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jun 2018 13:59:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214451#M79089</guid>
      <dc:creator>mahender_bigdat</dc:creator>
      <dc:date>2018-06-03T13:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to create External Table with Specific Set of Files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214452#M79090</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/16893/mahenderbigdata.html" nodeid="16893"&gt;@Mahender S&lt;/A&gt;!&lt;BR /&gt;You can try a solution with hive + regex, using RegexSerde &lt;BR /&gt;Here's an example:&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;CREATE EXTERNAL TABLE Vini (name STRING) 
ROW FORMAT SERDE 'org.apache.hadoop.hive.contrib.serde2.RegexSerDe' 
WITH SERDEPROPERTIES  ( "input.regex" = "*.json.gz")
LOCATION 'hdfs://myHDFSwithHA/user/hive/warehouse/test.db/vini'&lt;/PRE&gt;Hope this helps ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 04 Jun 2018 23:03:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214452#M79090</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-06-04T23:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to create External Table with Specific Set of Files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214453#M79091</link>
      <description>&lt;P&gt;Thanks Vinicius. It worked.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 07:48:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214453#M79091</guid>
      <dc:creator>mahender_bigdat</dc:creator>
      <dc:date>2018-06-20T07:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to create External Table with Specific Set of Files</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214454#M79092</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;EM&gt;Awesome &lt;A rel="user" href="https://community.cloudera.com/users/16893/mahenderbigdata.html" nodeid="16893"&gt;@Mahender S&lt;BR /&gt;&lt;/A&gt;As the issue is resolved, hence it will be also great if you can mark this HCC thread as Answered by clicking on the "Accept" Button. That way other HCC users can quickly find the solution when they encounter the same issue.!&lt;BR /&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jun 2018 07:57:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-way-to-create-External-Table-with-Specific-Set-of-Files/m-p/214454#M79092</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-06-20T07:57:04Z</dc:date>
    </item>
  </channel>
</rss>

