Skip to content

fix sql planner for json_value with returning boolean to plan as long type output#18698

Merged
cryptoe merged 1 commit intoapache:masterfrom
clintropolis:json-value-returning-boolean-as-long
Oct 29, 2025
Merged

fix sql planner for json_value with returning boolean to plan as long type output#18698
cryptoe merged 1 commit intoapache:masterfrom
clintropolis:json-value-returning-boolean-as-long

Conversation

@clintropolis
Copy link
Member

Without this change, this query in the planner falls into the 'json_value_any' part of the convertlet that does not set the expected native druid type. The added test would fail with a class cast exception as a string matcher was being used to handle a selector that was not returning strings (exploring a change for this as a separate branch).

@cryptoe cryptoe merged commit 4de1909 into apache:master Oct 29, 2025
51 checks passed
@clintropolis clintropolis deleted the json-value-returning-boolean-as-long branch October 29, 2025 15:58
@kgyrtkirk kgyrtkirk added this to the 36.0.0 milestone Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants