Skip to content

Commit 35669be

Browse files
Bikramjeet Vigfacebook-github-bot
Bikramjeet Vig
authored andcommitted
fix(json): Ensure input is parsed as json for json extract functions (facebookincubator#12409)
Summary: We recently noticed as detailed in prestodb/presto#24563 that some json functions that take varchar as input and output a json type can skip parsing the input. This can result in non-canonicalized result and inconsistent behavior. This change ensures that json_extract and json_extract_scalar always parse the input in these instances. Differential Revision: D69611952
1 parent 78e13e5 commit 35669be

File tree

4 files changed

+407
-250
lines changed

4 files changed

+407
-250
lines changed

0 commit comments

Comments
 (0)