-
Notifications
You must be signed in to change notification settings - Fork 971
Open
Labels
Description
Description
There is currently an inconsistency in how our system handles null values depending on the execution mode. To ensure predictable behavior and data integrity, we should align these strategies.
Current Behavior
- Batch Mode: Null values are automatically coerced/set to
0. - Streaming Mode: Null values trigger a runtime error.
Proposed Change
We need to decide on a unified strategy for handling null values across both modes. Potential directions include:
- Strict Error Handling: Both modes return an error to prevent silent data corruption.
- Default Coercion: Both modes default to
0(or a type-appropriate default). - Configurable Policy: Allow users to define the
on_nullbehavior (e.g.,ignore,fill_zero, orraise_error).
Context
To-Do / Discussion Points
- Research performance implications of adding null-checks in the streaming hot path.
- Determine if "Default to 0" is safe for all supported data types.
- Reach a consensus on the unified default behavior.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog