Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1067

Passing Arguments through Impala Shell

    XMLWordPrintableJSON

Details

    Description

      The following line is a part of the script file.

      (CASE WHEN(cast(now() as int)-cast(record_time as int) >= 60) THEN "R" ELSE "P" END)

      I need to pass the value 60 as an argument, the value of 60 should be passed as parameter/argument from impala shell.

      If we do that in shell script, it affects the performance, as it has to invoke a shell and quit the impala shell for every line of the script.

      Thank you.

      Warm regards,
      Adharsh

      Attachments

        Activity

          People

            araujo_impala_fd90 Andre Araujo
            addykicha_impala_0144 Adharsh Krishnan S
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: