Skip to content

bug: null character not permitted in chr function #479

@andygrove

Description

@andygrove

Describe the bug

The following query ran without error in Spark but failed in Comet. I discovered this bug using Comet Fuzz.

SELECT chr(c9),chr(c4) FROM test0
Query failed in Comet: Job aborted due to stage failure: Task 13 in stage 83.0 failed 1 times, most recent failure: Lost task 13.0 in stage 83.0 (TID 749) (192.168.86.33 executor driver): org.apache.comet.CometNativeException: Execution error: null character not permitted.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions