You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] bin Command Validation enhancement on Non-Numeric Fields #4590
PPLPiped processing languagebugSomething isn't workingcalcitecalcite migration releatederror-experienceIssues related to how we handle failure cases in the plugin.
When the bin command is applied to a non-numeric field while using numeric span parameters (span, minspan, etc.), the command currently fails with an unclear or misleading error message.
Users cannot easily identify that the root cause is the use of a non-numeric field for numeric binning.
The expected behavior is that the bin command should gracefully skip numeric binning for non-numeric fields and preserve the original field values instead of throwing an error.
This ensures query continuity and prevents unexpected pipeline failures in mixed-type datasets.
Steps to Reproduce
Execute a query that applies numeric binning to a non-numeric field:
{
"query": "source=otellogs | bin severityText minspan=10"
}
(severityText is a non-numeric field, e.g., categorical text.)
Observe the returned error message.
Expected Behavior
The bin command should continue without error and return the original non-numeric value
Example:
With this data
PPLPiped processing languagebugSomething isn't workingcalcitecalcite migration releatederror-experienceIssues related to how we handle failure cases in the plugin.
Activity
ahkcs commentedon Oct 30, 2025
Potential solution: #4349