<?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: BMp Image data to hive in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321162#M228299</link>
    <description>&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please follow&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Does-hive-support-Photo-or-images-datatypes/td-p/221473" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Does-hive-support-Photo-or-images-datatypes/td-p/221473&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Copy the data to hdfs instead of loadpath and check,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Asish&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 17:26:06 GMT</pubDate>
    <dc:creator>asish</dc:creator>
    <dc:date>2021-07-19T17:26:06Z</dc:date>
    <item>
      <title>BMp Image data to hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321102#M228267</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to load bmp image data to hive and getting below error. I went through many past discussions but didn't find an exact solution to implement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help in solving this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps I followed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1: Copied the images to HDFS&lt;/P&gt;&lt;P&gt;2: Created a table with a column Binary&lt;/P&gt;&lt;P&gt;3: Load using data in path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: &amp;nbsp;&lt;SPAN&gt;Error while compiling statement: FAILED: SemanticException Unable to load data to destination table. Error: The file that you are trying to load does not match the file format of the destination table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My scripts:&lt;/P&gt;&lt;P&gt;create table wrk_image&amp;nbsp;&lt;BR /&gt;(id int&lt;BR /&gt;, filename STRING&lt;BR /&gt;, data BINARY&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;load data inpath '/warehouse/tablespace/external/hive/cadt.db/scriptpro/' into table wrk_image;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 18:47:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321102#M228267</guid>
      <dc:creator>saidvs</dc:creator>
      <dc:date>2021-07-16T18:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: BMp Image data to hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321115#M228272</link>
      <description>&lt;P&gt;Please provide the below information:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;1. What is the version? HDP/CDP/CDH ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;2. provide "&lt;SPAN&gt;scriptpro"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;3. What si the error recieved ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jul 2021 15:22:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321115#M228272</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2021-07-18T15:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: BMp Image data to hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321155#M228295</link>
      <description>&lt;P&gt;Hi Asis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CDH version : &amp;nbsp;&lt;SPAN&gt;CDH-7.1.5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Scripture : its just a directory&amp;nbsp;I created under db.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error while compiling statement: FAILED: SemanticException Unable to load data to destination table. Error: The file that you are trying to load does not match the file format of the destination table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know if you need more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sai&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 16:21:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321155#M228295</guid>
      <dc:creator>saidvs</dc:creator>
      <dc:date>2021-07-19T16:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: BMp Image data to hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321162#M228299</link>
      <description>&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please follow&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Does-hive-support-Photo-or-images-datatypes/td-p/221473" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Does-hive-support-Photo-or-images-datatypes/td-p/221473&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Copy the data to hdfs instead of loadpath and check,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Asish&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 17:26:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/BMp-Image-data-to-hive/m-p/321162#M228299</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2021-07-19T17:26:06Z</dc:date>
    </item>
  </channel>
</rss>

