Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-20281 SharedWorkOptimizer fails with 'operator cache contents and actual plan differ'
- Closed
-
HIVE-16002 Correlated IN subquery with aggregate asserts in sq_count_check UDF
- Closed