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

codepoint: Error mismatch between Presto and Velox #12533

Closed
peterenescu opened this issue Mar 4, 2025 · 1 comment
Closed

codepoint: Error mismatch between Presto and Velox #12533

peterenescu opened this issue Mar 4, 2025 · 1 comment
Labels
bug Something isn't working triage Newly created issue that needs attention.

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Mar 4, 2025

Description

Function codepoint has different error output between Velox and Presto.

Reproduction

Velox:

presto:di> select codepoint(c0) from (values (0.8959898501634598)) t(c0);
Query 20250304_235340_00067_rd7dj failed: line 1:8: Unexpected parameters (double) for function codepoint. Expected: codepoint(varchar(1)) 
select codepoint(c0) from (values (0.8959898501634598)) t(c0)

Presto:

presto:tpch> select codepoint(0.8959898501634598);
Query 20250304_235315_15219_hjmrr failed: line 1:8: Unexpected parameters (decimal(16,16)) for function codepoint. Expected: codepoint(varchar(1)) 
select codepoint(0.8959898501634598)
@peterenescu peterenescu added bug Something isn't working triage Newly created issue that needs attention. labels Mar 4, 2025
@peterenescu
Copy link
Contributor Author

Actual issue caused by fuzzer default null handling: #12548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Newly created issue that needs attention.
Projects
None yet
Development

No branches or pull requests

1 participant