<?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: Is that possible to display special characters in custom TBLPROPERTIES property ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158551#M57133</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/16652/dvt.html"&gt;dvt isoft&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your question is how to store and retrieve encoded characters in French from table data definition, specifically table properties. Hive expects UTF-8 by default in data definition and even data store. I am not aware of the option to use that approach for data definition. Regarding data store you can encode/decode using a special SerDe as specified above by  @&lt;A href="https://community.hortonworks.com/users/14469/demerovb.html"&gt;Boris Demerov&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 01:05:13 GMT</pubDate>
    <dc:creator>cstanca</dc:creator>
    <dc:date>2017-03-16T01:05:13Z</dc:date>
    <item>
      <title>Is that possible to display special characters in custom TBLPROPERTIES property ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158549#M57131</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to set custom properties (using "ALTER TABLE ... SET TBLPROPERTIES ..." command) that contains special characters, like 'ç' or 'é'. The problem is I am getting '\u00e7' and '\u00e9' as a result when I execute a "DESCRIBE TABLE ... FORMATTED" command.&lt;/P&gt;&lt;P&gt;Is there a way to get the proper encoding in return ?&lt;/P&gt;&lt;P&gt;Here is my command :&lt;/P&gt;&lt;PRE&gt;ALTER TABLE mydatabase.mytable SET TBLPROPERTIES ('Test'='François');&lt;/PRE&gt;&lt;P&gt;Here is what I am getting as a result with a DESCRIBE TABLE ... FORMATTED command : &lt;/P&gt;&lt;P&gt;Test     Fran\\u00e7ois&lt;/P&gt;&lt;P&gt;Thanks in advance for your answer !&lt;/P&gt;&lt;P&gt;Sylvain.
  &lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 21:17:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158549#M57131</guid>
      <dc:creator>dvt_isoft</dc:creator>
      <dc:date>2017-03-15T21:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is that possible to display special characters in custom TBLPROPERTIES property ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158550#M57132</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/16652/dvt.html"&gt;@dvt isoft&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Custom SerDes are always a last resort. Hive expects UTF-8 data. If the encoding is, say, ISO/IEC 8859-1, you will need to either convert the data, however starting with Hive 0.14 you can use the feature added in &lt;A href="https://issues.apache.org/jira/browse/HIVE-7142"&gt;https://issues.apache.org/jira/browse/HIVE-7142&lt;/A&gt;. I believe that for French is FR. See below an example for GBK&lt;/P&gt;&lt;PRE&gt;CREATE TABLE person(id INT, name STRING, desc STRING)ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' WITH SERDEPROPERTIES("serialization.encoding"='GBK');
&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Mar 2017 00:44:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158550#M57132</guid>
      <dc:creator>demerovb</dc:creator>
      <dc:date>2017-03-16T00:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is that possible to display special characters in custom TBLPROPERTIES property ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158551#M57133</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/16652/dvt.html"&gt;dvt isoft&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your question is how to store and retrieve encoded characters in French from table data definition, specifically table properties. Hive expects UTF-8 by default in data definition and even data store. I am not aware of the option to use that approach for data definition. Regarding data store you can encode/decode using a special SerDe as specified above by  @&lt;A href="https://community.hortonworks.com/users/14469/demerovb.html"&gt;Boris Demerov&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 01:05:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158551#M57133</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2017-03-16T01:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is that possible to display special characters in custom TBLPROPERTIES property ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158552#M57134</link>
      <description>&lt;P&gt;Thank you, it seems like TBLPROPERTIES don't like french characters ...&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 23:36:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-that-possible-to-display-special-characters-in-custom/m-p/158552#M57134</guid>
      <dc:creator>dvt_isoft</dc:creator>
      <dc:date>2017-03-16T23:36:04Z</dc:date>
    </item>
  </channel>
</rss>

