Uploaded image for project: 'Livy (READ-ONLY)'
  1. Livy (READ-ONLY)
  2. LIVY-40

Ability to create SQL Kind Session on Livy Job Server

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.1
    • Fix Version/s: None
    • Component/s: Core
    • Labels:

      Description

      Currently Livy Job Server supports only PySpark and Scala Spark kind sessions to create and submit codes.
      curl -X POST --data '

      {"kind": "pyspark"}

      ' -H "Content-Type: application/json" localhost:8998/sessions
      curl -X POST --data '

      {"kind": "spark"}

      ' -H "Content-Type: application/json" localhost:8998/sessions
      It would be better, if we are able to create '

      {"kind": "sql"}

      ' kind session to submit spark sql through hiveContext.
      eg:
      curl -X POST --data '

      {"kind": "sql"}

      ' -H "Content-Type: application/json" localhost:8998/sessions
      curl localhost:8998/sessions/0/statements -X POST -H 'Content-Type: application/json' -d '

      {"code":"INSERT OVERWRITE TABLE target SELECT cols FROM source"}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prabhu1984 Prabhu Kasinathan
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: