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

url_extract_fragment: Velox produces value "" instead of NULL #12324

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

url_extract_fragment: Velox produces value "" instead of NULL #12324

peterenescu opened this issue Feb 13, 2025 · 0 comments
Labels
bug Something isn't working fuzzer-found triage Newly created issue that needs attention.

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Feb 13, 2025

Bug description

Value mismatch for function url_extract_fragment. Presto produces empty string whilst Presto produces NULL

Reproduction

(Velox followed by Presto)

presto:di> SELECT URL_EXTRACT_FRAGMENT(c0) FROM (VALUES ('sWPEqePc:')) t(c0);
 _col0                
-------
       
(1 row)
presto:di> SELECT URL_EXTRACT_FRAGMENT('sWPEqePc:');
 _col0                
-------
 NULL  
(1 row)
@peterenescu peterenescu added bug Something isn't working fuzzer-found triage Newly created issue that needs attention. labels Feb 13, 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 triage Newly created issue that needs attention.
Projects
None yet
Development

No branches or pull requests

1 participant