<?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 File to Microsoft Azure Databricks Delta Error when copy data in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/File-to-Microsoft-Azure-Databricks-Delta-Error-when-copy-data/m-p/2038445#M5022</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I configure my source as file and my target as&amp;nbsp;Azure Databricks Delta; and test connection works fine.&lt;/P&gt;
&lt;P&gt;When run task, create the table in databricks but no insert data.&lt;/P&gt;
&lt;P&gt;Error&lt;/P&gt;
&lt;P&gt;00011360: 2023-02-15T17:26:14 [TARGET_LOAD ]E: Failed (retcode -1) to execute statement: 'COPY INTO `default`.`regions` FROM(SELECT cast(_c0 as TINYINT) as `ID`, _c1 as `NAME` from 'abfss://myfilesystem1@datalake123134.dfs.core.windows.net') FILEFORMAT = CSV FILES = ('/staging1/File to Databricks/1/LOAD00000001.csv.gz') FORMAT_OPTIONS('nullValue' = 'attrep_null', 'multiLine'='true') COPY_OPTIONS('force' = 'true')' [1022502] (ar_odbc_stmt.c:4985)&lt;BR /&gt;00011360: 2023-02-15T17:26:14 [TARGET_LOAD ]E: RetCode: SQL_ERROR SqlState: 42000 NativeError: 80 Message: [Simba][Hardy] (80) Syntax or semantic analysis error thrown in server while executing query. Error message from server: org.apache.hive.service.cli.HiveSQLException: Error running query: Failure to initialize configurationInvalid configuration value detected for fs.azure.account.key&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.HiveThriftServerErrors$.runningQueryError(HiveThriftServerErrors.scala:53)&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation.org$apache$spark$sql$hive$thriftserver$SparkExecuteStatementOperation$$execute(SparkExecuteStatementOperation.scala:435)&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation$$anon$2$$anon$3.$anonfun$run$2(SparkExecuteStatementOperation.scala:257)&lt;BR /&gt;at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.ThriftLocalProperties.withLocalProperties(ThriftLocalProperties.scala:123)&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.ThriftLocalProperties.withLocalProperties [1022502] (ar_odbc_stmt.c:4992)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lguevara_0-1676501534978.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100624iF5DA8F9381B399CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lguevara_0-1676501534978.png" alt="lguevara_0-1676501534978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 22:54:57 GMT</pubDate>
    <dc:creator>lguevara</dc:creator>
    <dc:date>2023-02-15T22:54:57Z</dc:date>
    <item>
      <title>File to Microsoft Azure Databricks Delta Error when copy data</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/File-to-Microsoft-Azure-Databricks-Delta-Error-when-copy-data/m-p/2038445#M5022</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I configure my source as file and my target as&amp;nbsp;Azure Databricks Delta; and test connection works fine.&lt;/P&gt;
&lt;P&gt;When run task, create the table in databricks but no insert data.&lt;/P&gt;
&lt;P&gt;Error&lt;/P&gt;
&lt;P&gt;00011360: 2023-02-15T17:26:14 [TARGET_LOAD ]E: Failed (retcode -1) to execute statement: 'COPY INTO `default`.`regions` FROM(SELECT cast(_c0 as TINYINT) as `ID`, _c1 as `NAME` from 'abfss://myfilesystem1@datalake123134.dfs.core.windows.net') FILEFORMAT = CSV FILES = ('/staging1/File to Databricks/1/LOAD00000001.csv.gz') FORMAT_OPTIONS('nullValue' = 'attrep_null', 'multiLine'='true') COPY_OPTIONS('force' = 'true')' [1022502] (ar_odbc_stmt.c:4985)&lt;BR /&gt;00011360: 2023-02-15T17:26:14 [TARGET_LOAD ]E: RetCode: SQL_ERROR SqlState: 42000 NativeError: 80 Message: [Simba][Hardy] (80) Syntax or semantic analysis error thrown in server while executing query. Error message from server: org.apache.hive.service.cli.HiveSQLException: Error running query: Failure to initialize configurationInvalid configuration value detected for fs.azure.account.key&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.HiveThriftServerErrors$.runningQueryError(HiveThriftServerErrors.scala:53)&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation.org$apache$spark$sql$hive$thriftserver$SparkExecuteStatementOperation$$execute(SparkExecuteStatementOperation.scala:435)&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation$$anon$2$$anon$3.$anonfun$run$2(SparkExecuteStatementOperation.scala:257)&lt;BR /&gt;at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.ThriftLocalProperties.withLocalProperties(ThriftLocalProperties.scala:123)&lt;BR /&gt;at org.apache.spark.sql.hive.thriftserver.ThriftLocalProperties.withLocalProperties [1022502] (ar_odbc_stmt.c:4992)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lguevara_0-1676501534978.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100624iF5DA8F9381B399CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lguevara_0-1676501534978.png" alt="lguevara_0-1676501534978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 22:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/File-to-Microsoft-Azure-Databricks-Delta-Error-when-copy-data/m-p/2038445#M5022</guid>
      <dc:creator>lguevara</dc:creator>
      <dc:date>2023-02-15T22:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: File to Microsoft Azure Databricks Delta Error when copy data</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/File-to-Microsoft-Azure-Databricks-Delta-Error-when-copy-data/m-p/2038446#M5023</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please cross check the value for&amp;nbsp;&lt;SPAN&gt;fs.azure.account.key&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Madhavi&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 23:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/File-to-Microsoft-Azure-Databricks-Delta-Error-when-copy-data/m-p/2038446#M5023</guid>
      <dc:creator>kmadhavi2</dc:creator>
      <dc:date>2023-02-15T23:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: File to Microsoft Azure Databricks Delta Error when copy data</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/File-to-Microsoft-Azure-Databricks-Delta-Error-when-copy-data/m-p/2038449#M5024</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/182107"&gt;@lguevara&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you added the below key value on databricks&amp;nbsp; Advanced Options --&amp;gt; spark config&lt;BR /&gt;fs.azure.account.key.datalake123134.dfs.core.windows.net xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==&lt;/P&gt;
&lt;P&gt;&amp;nbsp;value you have to collect from your storage account secret.&lt;/P&gt;
&lt;P&gt;Let us know how it goes.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 23:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/File-to-Microsoft-Azure-Databricks-Delta-Error-when-copy-data/m-p/2038449#M5024</guid>
      <dc:creator>SwathiPulagam</dc:creator>
      <dc:date>2023-02-15T23:17:20Z</dc:date>
    </item>
  </channel>
</rss>

