You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2025/12/05 17:56:00 UTC

[jira] [Created] (HIVE-29360) Add tests for EXPLAIN FORMATTED CBO on TPC-DS queries

Stamatis Zampetakis created HIVE-29360:
------------------------------------------

             Summary: Add tests for EXPLAIN FORMATTED CBO on TPC-DS queries
                 Key: HIVE-29360
                 URL: https://issues.apache.org/jira/browse/HIVE-29360
             Project: Hive
          Issue Type: Test
            Reporter: Stamatis Zampetakis
            Assignee: Stamatis Zampetakis


The {{EXPLAIN FORMATTED}} CBO command returns the CBO plan serialized as JSON, which is a format that can be easily consumed and processed by other applications. Currently we don't have a lot of coverage especially around the CBO part. 
{noformat}
$ grep -Ri "explain.*formatted" ql/src/test/queries/ | wc -l
41
{noformat}
 The goal is to add tests with {{EXPLAIN FORMATTED CBO}} for all TPC-DS queries to improve coverage around this feature and guard against regressions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)