You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2017/12/01 22:08:01 UTC

[jira] [Commented] (HIVE-18201) Disable XPROD_EDGE for sq_count_check() created for scalar subqueries

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

Gopal V commented on HIVE-18201:
--------------------------------

It would also be helpful to remove the cross-product warnings for this case in general, because it is a very low-impact one.

> Disable XPROD_EDGE for sq_count_check()  created for scalar subqueries
> ----------------------------------------------------------------------
>
>                 Key: HIVE-18201
>                 URL: https://issues.apache.org/jira/browse/HIVE-18201
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Nita Dembla
>         Attachments: query6.explain2.out
>
>
> sq_count_check()  will either return an error at runtime or a single row. In case of query6, the subquery has avg() function that should return a single row. Attaching the explain. 
> This does not need an x-prod, because it is not useful to shuffle the big table side for a cross-product against 1 row.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)