Usability

Structured Logging Framework

Spark 4.1.1 outputs logs in structured JSON format for easy ingestion by log aggregation tools (ELK, Splunk, Datadog).

Bash
Copy
Bash
Copy

Error Class Framework

Standardized, actionable error messages that explain what failed, why, and how to fix it.

Before (Spark 3.x):

Bash
Copy

After (Spark 4.1.1):

Bash
Copy

Example error message for boolean expression misuse:

Bash
Copy

Behavior Change Process

Spark 4.1.1 follows a formal Behavior Change Process, documenting all breaking changes with opt-out flags where applicable.

Key behavior changes from Spark 3.x → 4.1.1:

ChangeSpark 3.x DefaultSpark 4.1.1 DefaultOpt-Out Flag
ANSI SQL modefalsetruespark.sql.ansi.enabled=false
Integer overflowSilentExceptionvia ANSI flag
Null handlingPermissiveStrictervia ANSI flag
Structured loggingDisabledEnabledspark.log.structuredLogging.enabled=false
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated