<?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: Hive is truncating strings :( in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187277#M73431</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/54176/paularnaudpy.html" nodeid="54176"&gt;@PY Paul-Arnaud,&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your quick answer. &lt;BR /&gt;Unfortunately that's not a datatype that hiveql recognizes... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jan 2018 01:40:49 GMT</pubDate>
    <dc:creator>hsfelix</dc:creator>
    <dc:date>2018-01-13T01:40:49Z</dc:date>
    <item>
      <title>Hive is truncating strings :(</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187275#M73429</link>
      <description>&lt;P&gt;Hello friends,&lt;BR /&gt;I'm working with a Hive table which fetches twitter data from flume / oozie.&lt;BR /&gt;The problem is that Hive is truncating the tweet text field... &lt;BR /&gt;Can anybody please help me solving this issue?&lt;BR /&gt;&lt;BR /&gt;Here's the table:&lt;/P&gt;&lt;PRE&gt;CREATE EXTERNAL TABLE tweets (
  id bigint, 
  created_at string,
  source STRING,
   favorited BOOLEAN,
   retweeted_status STRUCT&amp;lt;
     text:STRING,
     user:STRUCT&amp;lt;screen_name:STRING,name:STRING&amp;gt;,
     retweet_count:INT&amp;gt;,
   entities STRUCT&amp;lt;
     urls:ARRAY&amp;lt;STRUCT&amp;lt;expanded_url:STRING&amp;gt;&amp;gt;,
     user_mentions:ARRAY&amp;lt;STRUCT&amp;lt;screen_name:STRING,name:STRING&amp;gt;&amp;gt;,
     hashtags:ARRAY&amp;lt;STRUCT&amp;lt;text:STRING&amp;gt;&amp;gt;&amp;gt;,
  lang string,
  retweet_count int,
  text string,
  user STRUCT&amp;lt;
     screen_name:STRING,
     name:STRING,
     friends_count:INT,
     followers_count:INT,
     statuses_count:INT,
     verified:BOOLEAN,
     utc_offset:INT,
     time_zone:STRING&amp;gt;
       )
PARTITIONED BY (datehour int)
LOCATION
  'hdfs://192.168.1.11:8020/user/flume/tweets'&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Jan 2018 00:12:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187275#M73429</guid>
      <dc:creator>hsfelix</dc:creator>
      <dc:date>2018-01-13T00:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hive is truncating strings :(</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187276#M73430</link>
      <description>&lt;P&gt;Hi, may be could you try `text_general` instead of `string` for tweets. I did it with Solr and it's wor&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 00:30:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187276#M73430</guid>
      <dc:creator>paularnaudpy</dc:creator>
      <dc:date>2018-01-13T00:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hive is truncating strings :(</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187277#M73431</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/54176/paularnaudpy.html" nodeid="54176"&gt;@PY Paul-Arnaud,&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your quick answer. &lt;BR /&gt;Unfortunately that's not a datatype that hiveql recognizes... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2018 01:40:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187277#M73431</guid>
      <dc:creator>hsfelix</dc:creator>
      <dc:date>2018-01-13T01:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hive is truncating strings :(</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187278#M73432</link>
      <description>&lt;P&gt;It was actually a problem in the twitter JSON.&lt;BR /&gt;When we get a tweet wich is actually a retweet, flume truncates it.&lt;/P&gt;&lt;P&gt;Problem solved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 18:18:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-is-truncating-strings/m-p/187278#M73432</guid>
      <dc:creator>hsfelix</dc:creator>
      <dc:date>2018-01-22T18:18:53Z</dc:date>
    </item>
  </channel>
</rss>

