Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17119

Improve error message thrown by subqueries if there are no statistics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Logical Optimizer
    • None

    Description

      Currently if there are no stats hive bails out of cbo and try non-cbo route. Since most of the subqueries are only supported in CBO and not in non-cbo we end up with completely different error message. This creates confusion.
      One possible solution is to throw warnings that stats are missing before throwing subquery related error message.

      cc pxiong

      Attachments

        Issue Links

          Activity

            People

              vgarg Vineet Garg
              vgarg Vineet Garg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: