Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 49042

Re: Table creation in lakehouse with schema

$
0
0

Hi @schou  ,

 

As far as I know this error message occurs due to architectural mismatch occurs .

You can try using the following syntax:

df = spark.read.format(“csv”).option(“header”, “false”).load( “Files/2019.csv") # Create a new table df.write.format(“delta”).saveAsTable(“test2”)

If the above syntax doesn't take effect, you may want to consider leaving this message unchecked, as checking it may cause the system to apply more stringent checks to the data being written

 

vyangliumsft_0-1725000842664.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


Viewing all articles
Browse latest Browse all 49042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>