MRASYADC
Home Projects Writings News Contact
INSIGHTS & TECHNICAL LOGS

Writings

Engineering thoughts, guides, and architectural decisions.

Jul 8, 2026 • 4 min read

The Silent Timezone Shift: Debugging PySpark's .collect() Offset Bug

How querying a UTC timestamp via PySpark's .collect() magically gained a +7 hour offset, and how to safely serialize dates from the JVM to Python.

Data EngineeringApache SparkPySparkDebuggingTimezones
Read Article →
Jul 8, 2026 • 4 min read

Beyond DISTINCT: The Smart Deduplication Pattern Using Window Functions

How standard DISTINCT logic fails on edge cases, and why ROW_NUMBER() window functions are the ultimate tool for intelligent data deduplication.

Data EngineeringSQLApache SparkDeduplication
Read Article →
Jul 8, 2026 • 4 min read

The Spark 1582 Anomaly: Handling Legacy Dates in Parquet

How a dummy date of 0001-01-01 crashed our production pipeline, and why Spark 3.x enforces the Proleptic Gregorian calendar.

Data EngineeringApache SparkParquetDebugging
Read Article →
Jul 8, 2026 • 6 min read

Taming Spark Event Logs: Cutting Azure Storage Costs by 90% Without Losing Observability

A deep dive into Spark History Server configuration, and how we saved on Azure ADLS Gen2 costs by leveraging ZSTD compression and JVM heap buffering.

Data EngineeringApache SparkAzureCost Optimization
Read Article →
Jul 6, 2026 • 13 min read

Delta Lake Liquid Clustering Benchmark

An empirical deep-dive into the impact of Liquid Clustering on upsert (MERGE) performance using a real-world telematics dataset.

Data EngineeringDelta LakeSparkPerformance
Read Article →
Apr 13, 2026 • 12 min read

Taming the Data Swamp: The Impact of OPTIMIZE, ZORDER, and VACUUM on Delta Tables

An empirical deep-dive into resolving Write Amplification and Small File Problems in Delta Lake on a managed cloud Spark cluster with local M2 benchmarks.

Data EngineeringDelta LakeDelta OSSPerformance Tuning
Read Article →
MRASYADC © 2026
Privacy Policy Email LinkedIn GitHub