<?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 How to accommodate special character '?' in a column name in Hive in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-accommodate-special-character-in-a-column-name-in/m-p/288435#M213639</link>
    <description>&lt;P&gt;I have a query where as per the requirement the column name should be 'abc xyz?'. I am using tilted quotes to accommodate the space and special characters in between column name but i am getting the below error with '?':&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Parameters cannot be used with normal Statement objects, use PreparedStatements instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SQL Workbench for connecting to Hive.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 12:32:58 GMT</pubDate>
    <dc:creator>ep</dc:creator>
    <dc:date>2020-01-28T12:32:58Z</dc:date>
    <item>
      <title>How to accommodate special character '?' in a column name in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-accommodate-special-character-in-a-column-name-in/m-p/288435#M213639</link>
      <description>&lt;P&gt;I have a query where as per the requirement the column name should be 'abc xyz?'. I am using tilted quotes to accommodate the space and special characters in between column name but i am getting the below error with '?':&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Parameters cannot be used with normal Statement objects, use PreparedStatements instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SQL Workbench for connecting to Hive.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 12:32:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-accommodate-special-character-in-a-column-name-in/m-p/288435#M213639</guid>
      <dc:creator>ep</dc:creator>
      <dc:date>2020-01-28T12:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to accommodate special character '?' in a column name in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-accommodate-special-character-in-a-column-name-in/m-p/288447#M213647</link>
      <description>&lt;P&gt;I would highly recommend to not use special characters in columns names. &amp;nbsp;Per documentation hive .13 (&lt;A href="https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.6.5/bk_data-access/content/hive-013-feature-quoted-identifiers.html" target="_self"&gt;link&lt;/A&gt;) `column?name` should work with Hive, &amp;nbsp;however, there is no gauruntee that other clients, including SQL Workbench will allow this when the special character can be considered a code like character ($ % &amp;amp; ? " , . etc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 12:57:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-accommodate-special-character-in-a-column-name-in/m-p/288447#M213647</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-01-28T12:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to accommodate special character '?' in a column name in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-accommodate-special-character-in-a-column-name-in/m-p/288534#M213707</link>
      <description>&lt;P&gt;Thankyou Steven &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 11:15:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-accommodate-special-character-in-a-column-name-in/m-p/288534#M213707</guid>
      <dc:creator>ep</dc:creator>
      <dc:date>2020-01-29T11:15:09Z</dc:date>
    </item>
  </channel>
</rss>

