Description
Finding out whether the input is already unique requires a call to areColumnsUnique that currently (until CALCITE-794 is fixed) places a heavy load on the metadata system. This can lead to long CBO planning.
This is a temporary fix that avoid the call to the method till then.
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-12503 GBY-Join transpose rule may go in infinite loop
- Closed
- relates to
-
CALCITE-794 Detect cycles when computing statistics
- Closed
-
HIVE-10785 Support aggregate push down through joins
- Closed