Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json_extract: Velox throws while Presto returns NULL #12344

Open
peterenescu opened this issue Feb 14, 2025 · 0 comments
Open

json_extract: Velox throws while Presto returns NULL #12344

peterenescu opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working fuzzer-found

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Feb 14, 2025

Description

Velox function json_extract throws Invalid JSON path: while Presto returns successfully.

Reproduction

SELECT json_extract(c0, c1) from (values (varchar 'CUCH<QVF,)k6^7TQ\wS|eg-f!kryH/ITg>htEok&''_:VMwUEU|8O6pE&%Xq:*|irFw(U|@8+', varchar 'wWLVRQ}-ORZM5gms?y<)$N|0*"_J{y+*!nA=F`Dt,57u`z/UoX.O;Jk8pn') ) t(c0, c1);

Relevant logs

Additional relevant logs from fuzzer run:

Presto-0.289: Returns NULL
Velox: Throws an exception "Invalid JSON path: ..."
SIMDJsonExtractor
@peterenescu peterenescu added bug Something isn't working fuzzer Issues related the to Velox fuzzer test components. fuzzer-found and removed fuzzer Issues related the to Velox fuzzer test components. fuzzer-found labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fuzzer-found
Projects
None yet
Development

No branches or pull requests

2 participants