06-25-2021 09:29 AM
I cannot find how to truncate table using pyspark or python commnd , I need to truncate delta table using python
06-25-2021 09:31 AM
Not everything is exposed as a function for Python or Java/Scala. Some operations are SQL-only, like
spark.sql("TRUNCATE TABLE delta.`<path>`")
never-displayed
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.