You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2021/05/19 07:23:00 UTC
[jira] [Created] (CALCITE-4612) Fuzzer for RelBuilder
Vladimir Sitnikov created CALCITE-4612:
------------------------------------------
Summary: Fuzzer for RelBuilder
Key: CALCITE-4612
URL: https://issues.apache.org/jira/browse/CALCITE-4612
Project: Calcite
Issue Type: Test
Components: core
Reporter: Vladimir Sitnikov
A generator of random rels would be useful for testing:
a) Generate rel, write it down as SQL (ensures "Rel to SQL" does not fail), parse it back (ensures parser works OK), plans the tree (ensures the rules do not throw exceptions)
b) Generate rel, serialize with one of the adapters (e.g. serialize to ElasticSearch).
c) Generate rel, and execute it with https://github.com/sqlancer/sqlancer (or alike) approach to verify the results of the query. It might surface **correctness** bugs in optimizer, not just NPEs
--
This message was sent by Atlassian Jira
(v8.3.4#803005)