You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2019/03/01 17:50:00 UTC

[jira] [Resolved] (IMPALA-7968) Convert Analyzer AST to JSON for test verification

     [ https://issues.apache.org/jira/browse/IMPALA-7968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Rogers resolved IMPALA-7968.
---------------------------------
    Resolution: Won't Fix

Abandoning for now. Not a priority.

> Convert Analyzer AST to JSON for test verification
> --------------------------------------------------
>
>                 Key: IMPALA-7968
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7968
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 3.1.0
>            Reporter: Paul Rogers
>            Priority: Minor
>
> The FE code provides the {{PlannerTest}} which parses a SQL statement, analyzes it, plans the query, and writes selected portions of the plan to a file to be compared with a "golden" copy. Very helpful.
> At present, the Analyzer itself has no such test framework. This ticket asks to provide one. Key pieces:
> * JSON serializer to write the AST to JSON in a compact format for testing.
> * Potentially a YAML form of the above if the JSON grows too bulky
> * Serialization code in the AST objects to produce the JSON
> * Additions to the PlannerTest framework to add an AST section and an AST test framework
> * The actual AST tests



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)