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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development