[ 
https://issues.apache.org/jira/browse/SPARK-12727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122124#comment-15122124
 ] 

Cheng Lian commented on SPARK-12727:
------------------------------------

It would be nice if we can recover the original distinct aggregation SQL query. 
But we can also call it a done if we simply wrap all unrecognized patterns into 
subqueries. In this way the generated SQL query string can be quite verbose, 
but the optimizer will do the hard work.

> SQL generation support for distinct aggregation patterns that fit 
> DistinctAggregationRewriter analysis rule
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-12727
>                 URL: https://issues.apache.org/jira/browse/SPARK-12727
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Cheng Lian
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to