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

Logical error during JSONExtractKeysAndValuesRaw execution #37610

Closed
novikd opened this issue May 27, 2022 · 0 comments · Fixed by #37759
Closed

Logical error during JSONExtractKeysAndValuesRaw execution #37610

novikd opened this issue May 27, 2022 · 0 comments · Fixed by #37759
Assignees
Labels
fuzz Problem found by one of the fuzzers

Comments

@novikd
Copy link
Member

novikd commented May 27, 2022

SELECT
    JSONExtractKeysAndValuesRaw(NULL),
    arrayJoin([-1]),
    [NULL, 255, NULL],
    JSONExtractKeysAndValuesRaw(JSONExtractKeysAndValuesRaw([2147483647, 255, 100], NULL, arrayJoin([]))),
    JSONExtractKeysAndValuesRaw('1', NULL),
    *
FROM t_enum8

<Fatal> : Logical error: 'Function JSONExtractKeysAndValuesRaw with argument with type Nothing and default implementation for Nothing is expected to return result with type Nothing, got Nullable(Nothing)'

https://s3.amazonaws.com/clickhouse-test-reports/37460/60b9d81773d5a56486c5685ec3880d6caf207d1f/fuzzer_astfuzzerubsan,actions//report.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fuzz Problem found by one of the fuzzers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants