<?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 I am trying to load a delta table from a dataframe. But its giving me an error. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/i-am-trying-to-load-a-delta-table-from-a-dataframe-but-its/m-p/27897#M19735</link>
    <description>&lt;P&gt;Code : &lt;/P&gt;&lt;P&gt;from pyspark.sql.functions import *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;acDF = spark.read.format('csv').options(header='true', inferschema='true').load("/mnt/rahulmnt/Insurance_Info1.csv"); &lt;/P&gt;&lt;P&gt;acDF.write.option("overwriteSchema", "true").format("delta").mode("overwrite").save("/delta/InsuranceInput")&lt;/P&gt;&lt;P&gt;Error : &lt;/P&gt;&lt;P&gt;AnalysisException: 'Incompatible format detected.\n\nYou are trying to write to &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/delta/InsuranceInput&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; using Databricks Delta, but there is no\ntransaction log present. Check the upstream job to make sure that it is writing\nusing format("delta") and that you are trying to write to the table base path.\n\nTo disable this check, SET spark.databricks.delta.formatCheck.enabled=false\nTo learn more about Delta, see &lt;A href="https://docs.azuredatabricks.net/delta/index.html" alt="https://docs.azuredatabricks.net/delta/index.html" target="_blank"&gt;https://docs.azuredatabricks.net/delta/index.html\n&lt;/A&gt;;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 15:14:50 GMT</pubDate>
    <dc:creator>RahulMukherjee</dc:creator>
    <dc:date>2019-08-13T15:14:50Z</dc:date>
    <item>
      <title>I am trying to load a delta table from a dataframe. But its giving me an error.</title>
      <link>https://community.databricks.com/t5/data-engineering/i-am-trying-to-load-a-delta-table-from-a-dataframe-but-its/m-p/27897#M19735</link>
      <description>&lt;P&gt;Code : &lt;/P&gt;&lt;P&gt;from pyspark.sql.functions import *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;acDF = spark.read.format('csv').options(header='true', inferschema='true').load("/mnt/rahulmnt/Insurance_Info1.csv"); &lt;/P&gt;&lt;P&gt;acDF.write.option("overwriteSchema", "true").format("delta").mode("overwrite").save("/delta/InsuranceInput")&lt;/P&gt;&lt;P&gt;Error : &lt;/P&gt;&lt;P&gt;AnalysisException: 'Incompatible format detected.\n\nYou are trying to write to &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/delta/InsuranceInput&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; using Databricks Delta, but there is no\ntransaction log present. Check the upstream job to make sure that it is writing\nusing format("delta") and that you are trying to write to the table base path.\n\nTo disable this check, SET spark.databricks.delta.formatCheck.enabled=false\nTo learn more about Delta, see &lt;A href="https://docs.azuredatabricks.net/delta/index.html" alt="https://docs.azuredatabricks.net/delta/index.html" target="_blank"&gt;https://docs.azuredatabricks.net/delta/index.html\n&lt;/A&gt;;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 15:14:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-am-trying-to-load-a-delta-table-from-a-dataframe-but-its/m-p/27897#M19735</guid>
      <dc:creator>RahulMukherjee</dc:creator>
      <dc:date>2019-08-13T15:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: I am trying to load a delta table from a dataframe. But its giving me an error.</title>
      <link>https://community.databricks.com/t5/data-engineering/i-am-trying-to-load-a-delta-table-from-a-dataframe-but-its/m-p/27898#M19736</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;1. using Spark SQL Context in python, &lt;PRE&gt;&lt;CODE&gt;scala&lt;/CODE&gt;&lt;/PRE&gt; notebooks :&lt;/P&gt;
&lt;P&gt;sql("SET spark.databricks.delta.formatCheck.enabled=false")&lt;/P&gt;
&lt;P&gt;2. In &lt;PRE&gt;&lt;CODE&gt;SQL dbc notebooks&lt;/CODE&gt;&lt;/PRE&gt;:&lt;/P&gt;
&lt;P&gt;SET spark.databricks.delta.formatCheck.enabled=false&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 08:40:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-am-trying-to-load-a-delta-table-from-a-dataframe-but-its/m-p/27898#M19736</guid>
      <dc:creator>AbhaKhanna</dc:creator>
      <dc:date>2020-08-28T08:40:46Z</dc:date>
    </item>
  </channel>
</rss>

