Closed Deepesh125 closed 2 weeks ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contrib/babelfishpg_tsql/src/iterative_exec.c | 37 | 41 | 90.24% | ||
<!-- | Total: | 39 | 43 | 90.7% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
contrib/babelfishpg_tds/src/backend/tds/tds_srv.c | 1 | 89.15% | ||
contrib/babelfishpg_tsql/src/collationproperty.c | 1 | 92.86% | ||
contrib/babelfishpg_tds/src/backend/tds/tdscomm.c | 1 | 73.97% | ||
contrib/babelfishpg_common/src/encoding/mb/conversion_procs/utf8_and_uhc/utf8_and_uhc.c | 2 | 0.0% | ||
contrib/babelfishpg_tds/src/backend/tds/err_handler.c | 2 | 73.79% | ||
contrib/babelfishpg_tsql/src/tsqlIface.hpp | 3 | 84.21% | ||
contrib/babelfishpg_tds/src/backend/tds/tdsprotocol.c | 3 | 64.46% | ||
contrib/babelfishpg_common/src/encoding/mb/conversion_procs/utf8_and_gbk/utf8_and_gbk.c | 4 | 0.0% | ||
contrib/babelfishpg_common/src/encoding/mb/conversion_procs/utf8_and_sjis/utf8_and_sjis.c | 4 | 0.0% | ||
contrib/babelfishpg_tds/src/backend/utils/adt/xml.c | 4 | 30.85% | ||
<!-- | Total: | 21623 | --> |
Totals | |
---|---|
Change from base Build 9416708039: | -37.2% |
Covered Lines: | 20739 |
Relevant Lines: | 57909 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contrib/babelfishpg_tsql/src/pl_explain.c | 0 | 1 | 0.0% | ||
contrib/babelfishpg_tsql/src/iterative_exec.c | 39 | 41 | 95.12% | ||
<!-- | Total: | 41 | 44 | 93.18% | --> |
Totals | |
---|---|
Change from base Build 9485967080: | 0.02% |
Covered Lines: | 42312 |
Relevant Lines: | 57910 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contrib/babelfishpg_tsql/src/pl_explain.c | 0 | 1 | 0.0% | ||
contrib/babelfishpg_tsql/src/iterative_exec.c | 39 | 41 | 95.12% | ||
<!-- | Total: | 41 | 44 | 93.18% | --> |
Totals | |
---|---|
Change from base Build 9485967080: | 0.02% |
Covered Lines: | 42312 |
Relevant Lines: | 57910 |
I think we should not show antlr parsing time when we're using options like : BABELFISH_SHOWPLAN_ALL , we should show antlr parsing time when we're using options like : BABELFISH_STATISTICS PROFILE on, since output the antlr time costing is the purpose for explain analyze ( run the query , output the execution details )
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
contrib/babelfishpg_tsql/src/iterative_exec.c | 39 | 41 | 95.12% | ||
<!-- | Total: | 41 | 43 | 95.35% | --> |
Totals | |
---|---|
Change from base Build 9554254032: | 0.02% |
Covered Lines: | 42353 |
Relevant Lines: | 57950 |
Description
This commit adds support to show ANTLR parsing time with EXPLAIN info. With this change, query plan would look like following:
Check List
By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.