Skip to content

[SQL] Improve error messages for validating JSON#5683

Merged
mihaibudiu merged 1 commit intomainfrom
issue5677
Feb 25, 2026
Merged

[SQL] Improve error messages for validating JSON#5683
mihaibudiu merged 1 commit intomainfrom
issue5677

Conversation

@mihaibudiu
Copy link
Contributor

@mihaibudiu mihaibudiu commented Feb 24, 2026

Fixes #5677

Describe Manual Test Plan

There are regression tests which validate the implementation.
I also verified that the errors look good in the web ui: see screenshot below

Checklist

  • Unit tests added/updated

@mihaibudiu mihaibudiu requested a review from blp February 24, 2026 01:46
@mihaibudiu
Copy link
Contributor Author

image

@lalithsuresh
Copy link
Contributor

Can we fix the formatting? The line breaks, spacing etc feel inconsistent.

@blp
Copy link
Member

blp commented Feb 24, 2026

The whole [Source: REDACTED...] thing still seems weird to me.

Copy link
Collaborator

@mythical-fred mythical-fred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two blockers — see inline.

@mihaibudiu
Copy link
Contributor Author

Can we fix the formatting? The line breaks, spacing etc feel inconsistent.

This has been formatted by IntelliJ... it should be consistent. But I will take a look to see what you don't like.

@mihaibudiu
Copy link
Contributor Author

The whole [Source: REDACTED...] thing still seems weird to me.

That's the message coming from the Json library I am using, I will massage it, but it will be a very custom solution.

@mihaibudiu mihaibudiu force-pushed the issue5677 branch 3 times, most recently from 05e699c to bef5cbb Compare February 24, 2026 19:27
@mihaibudiu mihaibudiu enabled auto-merge February 24, 2026 19:27
@mihaibudiu
Copy link
Contributor Author

The whole [Source: REDACTED...] thing still seems weird to me.

That's the message coming from the Json library I am using, I will massage it, but it will be a very custom solution.

Turns out that the Json handling exception I get already has a nice way to do this.

@mihaibudiu mihaibudiu added this pull request to the merge queue Feb 24, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 25, 2026
Signed-off-by: Mihai Budiu <mbudiu@feldera.com>
@mihaibudiu mihaibudiu enabled auto-merge February 25, 2026 04:05
@mihaibudiu mihaibudiu added this pull request to the merge queue Feb 25, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 25, 2026
@mihaibudiu mihaibudiu added this pull request to the merge queue Feb 25, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 25, 2026
@mihaibudiu mihaibudiu added this pull request to the merge queue Feb 25, 2026
Merged via the queue into main with commit 8f18e21 Feb 25, 2026
1 check passed
@mihaibudiu mihaibudiu deleted the issue5677 branch February 25, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SQL] Compiler should provide more helpful messages when validating JSON

4 participants