You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2017/10/17 11:44:01 UTC
[jira] [Created] (CALCITE-2014) Look for saffron.properties file in
classpath rather then in working directory
Arina Ielchiieva created CALCITE-2014:
-----------------------------------------
Summary: Look for saffron.properties file in classpath rather then in working directory
Key: CALCITE-2014
URL: https://issues.apache.org/jira/browse/CALCITE-2014
Project: Calcite
Issue Type: Improvement
Affects Versions: 1.14.0
Reporter: Arina Ielchiieva
Assignee: Julian Hyde
Fix For: 1.15.0
Calcite is using several [saffron properties|https://calcite.apache.org/apidocs/org/apache/calcite/util/SaffronProperties.html].
There are two ways to set them:
1. as system property;
2. using saffron.properties file.
Using saffron.properties file is very convenient when you need to set several properties at a time. In code saffron.properties location is expected to be [working folder|https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/util/SaffronProperties.java#L113], i.e. the place where java process was started.
For production systems it would much better is saffron.properties file was expected to be present in classpath rather then in working directory.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)