Charles Givre created DRILL-7599:
------------------------------------
Summary: Move Function to Access Drill Temp Directory to Utility
Library
Key: DRILL-7599
URL: https://issues.apache.org/jira/browse/DRILL-7599
Project: Apache Drill
Issue Type: Improvement
Affects Versions: 1.17.0
Reporter: Charles Givre
Assignee: Charles Givre
Fix For: 1.18.0
In the codebase there are several instances in which plugins use the
DRILL_TEMP_DIRECTORY. These instances all use cut/paste code seen below. This
Jira will create a utility function to do this, and replace all instances of
this cut/paste code with a function call.
{{ if (context.getOptions().getOption(ExecConstants.DRILL_TMP_DIR) != null)
{ drillTempDir =
context.getOptions().getOption(ExecConstants.DRILL_TMP_DIR).string_val; }
else
{ drillTempDir = System.getenv("DRILL_TMP_DIR"); }
}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)