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

HiveDriverRunHookContext's command is null in HS2 mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • Query Processor
    • None

    Description

      Looking at the Driver#runInternal(String command, boolean alreadyCompiled):

          HiveDriverRunHookContext hookContext = new HiveDriverRunHookContextImpl(conf, command);
          // Get all the driver run hooks and pre-execute them.
          List<HiveDriverRunHook> driverRunHooks;
      

      The context is initialized with the command passed in to the method. However, this command is always null if alreadyCompiled is true, which is the case for HS2 mode.

      Attachments

        1. HIVE-14343.1.patch
          0.7 kB
          Chao Sun
        2. HIVE-14343.0.patch
          0.7 kB
          Chao Sun

        Activity

          People

            csun Chao Sun
            csun Chao Sun
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: