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)