- 6234 Views
- 8 replies
- 9 kudos
Hi, I'm doing some something simple on Databricks notebook:spark.sparkContext.setCheckpointDir("/tmp/")
import pyspark.pandas as ps
sql=("""select
field1, field2
From table
Where date>='2021-01.01""")
df = ps.sql(sql)
df.spark.checkpoint()That...
- 6234 Views
- 8 replies
- 9 kudos
Latest Reply
checkpoint() returns a checkpointed DataFrame, so you need to assign it to a new variable:checkpointedDF = df.checkpoint()
7 More Replies
by
RohanB
• New Contributor III
- 5697 Views
- 8 replies
- 3 kudos
I have a Spark Structured Streaming job which reads from 2 Delta tables in streams , processes the data and then writes to a 3rd Delta table. The job is being run with the Databricks service on GCP.Sometimes the job fails with the following exception...
- 5697 Views
- 8 replies
- 3 kudos
Latest Reply
Hi @Jose Gonzalez ,Do you require any more information regarding the code? Any idea what could be cause for the issue?Thanks and Regards,Rohan
7 More Replies