Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5685

Provide a way to set common environment variable between sqlline and Drillbit differently.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • None

    Description

      Drill has distrib-env.sh which is used to set any distribution specific environment consumed by both sqlline and Drillbit. These environment variables can be overridden by drill-env.sh. But there is no clean way to know if these scripts were sourced for Drillbit or for sqlline, currently all the variables will be set for both the scripts.
      With this JIRA we will introduce a separated environment variable DRILLBIT_CONTEXT which will only be set inside drillbit.sh. Based on this variable any script called later in the pipeline can make decision's to set/unset an environment variable or to set the common environment variable differently for sqlline and Drillbit.

      Attachments

        Issue Links

          Activity

            People

              shamirwasia Sorabh Hamirwasia
              shamirwasia Sorabh Hamirwasia
              Paul Rogers Paul Rogers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: