Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5775 Introduce Cost Based Optimizer to Hive
  3. HIVE-7835

[CBO] Handle a case where FieldTimmer trims all fields from input

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • CBO
    • None

    Description

      eg in queries like select 1 from t1 where nothing needs to be projected we generate empty project list which results in incorrect ast getting generated. Currently, we fix while generating ast by eliminating such AST node, but better is to generate correct project list to begin with.

      Attachments

        1. h-7835.patch
          3 kB
          Ashutosh Chauhan

        Issue Links

          Activity

            People

              ashutoshc Ashutosh Chauhan
              ashutoshc Ashutosh Chauhan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: