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

Driver.queryState.commandType is often not set correctly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • None
    • None

    Description

      For example, various EXPLAIN <....> operations all have this set to QUERY though it would make more sense to set it to HiveOperation.EXPLAIN especially since ExplainSemanticAnalyzer forks off another instance of Driver to run the <...> for EXPLAIN ANALYZE <...> types of commands but shares the QueryState between the 2.

      Changing this of course causes a lot of .q.out files to change.

      It would useful in general for the Driver to know the HiveOperation type more precisely.

      For example, there is no distinction between SELECT/UPDATE/INSERT/DELETE/MERGE.

      Need to clean this up.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: