<?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>topic How to set charset encoding in SQL view? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-set-charset-encoding-in-sql-view/m-p/3878#M770</link>
    <description>&lt;P&gt;Hi! I have a SQL query that has a where-clause that checks a string attribute not being equal to e.g. 'シミュレータに接続されていません' (Japanese). This works fine when running the query in SQL Editor ad hoc, but creating a view with the same query, the special characters are converted to '?????' in hive_metastore looking at the view-details. How can I preserve the special characters in the view representation? Right now I've implemented a workaround with hex(encode(string_attribute)).&lt;/P&gt;&lt;P&gt;Running in Azure databricks environment with Spark 3.3.2&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 13:57:28 GMT</pubDate>
    <dc:creator>AEM</dc:creator>
    <dc:date>2023-05-30T13:57:28Z</dc:date>
    <item>
      <title>How to set charset encoding in SQL view?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-set-charset-encoding-in-sql-view/m-p/3878#M770</link>
      <description>&lt;P&gt;Hi! I have a SQL query that has a where-clause that checks a string attribute not being equal to e.g. 'シミュレータに接続されていません' (Japanese). This works fine when running the query in SQL Editor ad hoc, but creating a view with the same query, the special characters are converted to '?????' in hive_metastore looking at the view-details. How can I preserve the special characters in the view representation? Right now I've implemented a workaround with hex(encode(string_attribute)).&lt;/P&gt;&lt;P&gt;Running in Azure databricks environment with Spark 3.3.2&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 13:57:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-set-charset-encoding-in-sql-view/m-p/3878#M770</guid>
      <dc:creator>AEM</dc:creator>
      <dc:date>2023-05-30T13:57:28Z</dc:date>
    </item>
  </channel>
</rss>

