Skip to content
ByDataFix
  • Home
  • Contact
  • Privacy Policy
  • Terms & Conditions
Subscribe
Subscribe
Databricks Troubleshooting

How to Update Nested (Struct) Columns in PySpark & Spark

withColumn("address.city", …) doesn't update the nested field — it quietly creates a weird new one. Here's how to actually update, add, and drop fields inside a struct.

Read More
July 24, 2026
Databricks Troubleshooting

Fix Spark Data Skew in Joins (One Task Runs Forever)

Your job is "99% done" for an hour because one task got all the data. That's skew. Here's how to fix it with AQE, broadcast joins, skew hints, and salting.

Read More
July 24, 2026
Databricks Troubleshooting

Fix Corrupted Parquet Files in Spark (“Could Not Read Footer”)

One bad file shouldn't take down the whole read. Here's why Parquet files corrupt, how to skip past them to get your data now, and how to find and fix the real culprit.

Read More
July 22, 2026
Databricks Troubleshooting

Fix Delta ConcurrentAppendException (Concurrent Write Conflicts)

Two jobs wrote the same Delta table and one blew up. Here's what optimistic concurrency is really doing, and how to fix conflicts with partition filters, retries, and row-level concurrency.

Read More
July 22, 2026
Databricks Troubleshooting

Fix Over-Partitioned Delta Tables (Slow Queries) in Databricks

Partitioning by the wrong column shatters your table into millions of tiny files and grinds queries to a halt. Here's how to right-size it — and why liquid clustering is usually the better answer.

Read More
July 22, 2026
Databricks Troubleshooting

Why Empty Strings Become Null in a Partitioned Column (Spark)

No error, just wrong data: partition by a column with empty strings and Spark reads them back as null. Here's exactly why — and how to keep the values distinct.

Read More
July 22, 2026
Databricks Troubleshooting

Fix “User Does Not Have Permission SELECT on ANY File” in Databricks

You're reading data by file path on a Table-ACL cluster. The blunt fix is dangerous — here's what the error means and the scoped, safe way to grant file access.

Read More
July 22, 2026
Databricks Troubleshooting

Fix “User Does Not Have USAGE on Database” in Databricks

Granting SELECT isn't enough. Databricks needs USAGE (USE SCHEMA) on the database too — because permissions are a hierarchy. Here's how to grant the right privileges.

Read More
July 22, 2026

Posts pagination

« Previous 1 2 3 4 5 6 Next »

Recent Posts

  • Adaptive Query Execution in Spark: What AQE Does and How to Tune It
  • Fix Spark Executor OOM: java.lang.OutOfMemoryError Explained
  • Broadcast Join vs Bucketing: Two Ways to Skip the Shuffle in Spark
  • Spark Spill to Disk: Why It Happens and How to Fix It
  • Spark Shuffle Explained: Why Wide Transformations Slow Your Job

Archives

  • September 2026
  • August 2026
  • July 2026

Categories

  • Apache Spark
  • Azure Storage
  • Data Engineering Basics
  • Databricks
  • Databricks Troubleshooting
  • Delta Lake
ByDataFix

All about data engineering

© 2026 ByDataFix. All rights reserved.

Subscribe to ByDataFix

Practical data engineering — PySpark, Azure, Snowflake and more. New posts straight to your inbox. No spam, unsubscribe anytime.