Hive
  1. Hive
  2. HIVE-1014

Ability to execute external scripts from within HiveCLI

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Clients
    • Labels:
      None
    • Release Note:
      Hide
      source was added in HIVE-1451
      Show
      source was added in HIVE-1451
    • Tags:
      cli script source start @

      Description

      I would like to be able to execute external query scripts from within the HiveCLI.
      For example:

      hive> source awesome_script.q
      ...
      hive> source /Users/larry/larrys_awesome_script.q
      ...
      hive> source hdfs://localhost/user/bob/lame_script.q
      ...
      

      In other words, the 'source' command will read input from the specified
      file and execute it as though it had been typed on the keyboard.

        Issue Links

          Activity

          Carl Steinbach made changes -
          Link This issue relates to HIVE-6570 [ HIVE-6570 ]
          Edward Capriolo made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Release Note source was added in HIVE-1451
          Resolution Duplicate [ 3 ]
          Carl Steinbach created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Carl Steinbach
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development