<?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 Re: Databricks JDBC SQL Warehouse Encoding Issue in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/78002#M35448</link>
    <description>&lt;P&gt;If Databricks support/Product managers follow the forum, suggest you review the SIMBA provided docs.&lt;BR /&gt;It does not discuss the name value pairs mentioned re utf and encoding.&lt;BR /&gt;&lt;A href="https://www.databricks.com/spark/jdbc-drivers-download" target="_blank"&gt;https://www.databricks.com/spark/jdbc-drivers-download&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are other gaps in the SIMBA docs re name-value pairs including PreparedMetadataLimitZero&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 23:32:03 GMT</pubDate>
    <dc:creator>151640</dc:creator>
    <dc:date>2024-07-09T23:32:03Z</dc:date>
    <item>
      <title>Databricks JDBC SQL Warehouse Encoding Issue</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/65434#M32808</link>
      <description>&lt;P&gt;Hi Everyone.&lt;/P&gt;&lt;P&gt;I am trying to connect and read data from the Databricks table using SQL Warehouse and return it using Azure API.&lt;/P&gt;&lt;P&gt;However, the non-English characters, for example,&amp;nbsp;'&lt;SPAN&gt;&lt;SPAN class=""&gt;Ä',&lt;/SPAN&gt;&lt;/SPAN&gt; are present in the response as following: &lt;SPAN&gt;��&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;I am using the databricks-jdbc driver of the latest version.&lt;/P&gt;&lt;P&gt;I have tried to resolve it by setting the System properties as:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;System.&lt;SPAN&gt;setProperty&lt;/SPAN&gt;(&lt;SPAN&gt;"file.encoding"&lt;/SPAN&gt;, &lt;SPAN&gt;"UTF-8"&lt;/SPAN&gt;);&lt;BR /&gt;System.&lt;SPAN&gt;setProperty&lt;/SPAN&gt;(&lt;SPAN&gt;"sun.jnu.encoding"&lt;/SPAN&gt;, &lt;SPAN&gt;"UTF-8"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Another thing that I tried was changing the connection string to contain:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;useUnicode=true;characterEncoding=UTF-8&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;However, this causes the exception:&lt;/P&gt;&lt;P&gt;Internal Server Error: [Databricks][DatabricksJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, infoMessages:[*org.apache.hive.service.cli.HiveSQLException:Configuration useUnicode is not available&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 16:09:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/65434#M32808</guid>
      <dc:creator>crankerkor</dc:creator>
      <dc:date>2024-04-03T16:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks JDBC SQL Warehouse Encoding Issue</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/65799#M32925</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I was able to resolve the issue by changing the approach of setting system properties from the code itself at the start of the execution to propagating them to the Azure Function environment variables in JAVA_OPTS. This way the JVM is instantiated already with the proper configuration.&lt;BR /&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 11:21:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/65799#M32925</guid>
      <dc:creator>crankerkor</dc:creator>
      <dc:date>2024-04-08T11:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks JDBC SQL Warehouse Encoding Issue</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/78002#M35448</link>
      <description>&lt;P&gt;If Databricks support/Product managers follow the forum, suggest you review the SIMBA provided docs.&lt;BR /&gt;It does not discuss the name value pairs mentioned re utf and encoding.&lt;BR /&gt;&lt;A href="https://www.databricks.com/spark/jdbc-drivers-download" target="_blank"&gt;https://www.databricks.com/spark/jdbc-drivers-download&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are other gaps in the SIMBA docs re name-value pairs including PreparedMetadataLimitZero&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 23:32:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/78002#M35448</guid>
      <dc:creator>151640</dc:creator>
      <dc:date>2024-07-09T23:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks JDBC SQL Warehouse Encoding Issue</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/78005#M35449</link>
      <description>&lt;P&gt;If Databricks support/Product Management following the forum, note that PDF from SIMBA in 2.6.28 does not discuss the name-value pairs in the above solution.&lt;BR /&gt;&lt;BR /&gt;Other errata includes&amp;nbsp;PreparedMetadataLimitZero.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 23:43:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-jdbc-sql-warehouse-encoding-issue/m-p/78005#M35449</guid>
      <dc:creator>151640</dc:creator>
      <dc:date>2024-07-09T23:43:52Z</dc:date>
    </item>
  </channel>
</rss>

