Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- links to