[
https://issues.apache.org/jira/browse/FLINK-18657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-18657:
-----------------------------------
Labels: auto-deprioritized-major stale-minor (was:
auto-deprioritized-major)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is
still Minor, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> Change semantics of DESCRIBE SELECT statement
> ---------------------------------------------
>
> Key: FLINK-18657
> URL: https://issues.apache.org/jira/browse/FLINK-18657
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / API
> Affects Versions: 1.11.0
> Reporter: Fabian Hueske
> Priority: Minor
> Labels: auto-deprioritized-major, stale-minor
>
> Running a {{DESCRIBE SELECT ...}} returns the same as {{EXPLAIN PLAN FOR
> SELECT ...}}, i.e., an unstructured, textual description of the execution
> plan.
> I think it would be more consistent and also more useful if {{DESCRIBE SELECT
> ...}} would display the result schema of the {{SELECT}} query, just like
> {{DESCRIBE TABLE xxx}} shows the schema of the table {{xxx}}. This would be
> useful for users who need to create a sink table to write the result schema
> of a SELECT query and figure out the schema of the query.
> This would be a breaking change, but {{DESCRIBE SELECT ...}} seems to be an
> undocumented feature (at least it is not listed on the [DESCRIBE
> docs|https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/table/sql/describe.html])
> and the original behavior would be still available via {{EXPLAIN PLAN FOR
> SELECT ...}} (which is documented).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)