Skip to content

Store cause for invalid field exceptions#18513

Merged
adarshsanjeev merged 1 commit intoapache:masterfrom
adarshsanjeev:invalid-field-cause
Sep 11, 2025
Merged

Store cause for invalid field exceptions#18513
adarshsanjeev merged 1 commit intoapache:masterfrom
adarshsanjeev:invalid-field-cause

Conversation

@adarshsanjeev
Copy link
Copy Markdown
Contributor

An InvalidFieldException only stores the error message string. The exception should instead also store the exception as the cause to make it easier to debug.


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@github-actions github-actions Bot added Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Sep 11, 2025
@adarshsanjeev adarshsanjeev merged commit 767a163 into apache:master Sep 11, 2025
112 of 113 checks passed
@adarshsanjeev adarshsanjeev deleted the invalid-field-cause branch September 11, 2025 08:44
@cecemei cecemei added this to the 35.0.0 milestone Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants