[
https://issues.apache.org/jira/browse/PIG-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192922#comment-13192922
]
Prashant Kommireddi commented on PIG-2456:
------------------------------------------
These property files are key-value pairs, I believe declaring an alias is not
supported.
Here are a couple JIRAs around pig configs,
https://issues.apache.org/jira/browse/PIG-111 and
https://issues.apache.org/jira/browse/PIG-1381
You could also take a look at PropertiesUtil.loadDefaultProperties(Properties)
{code}
public static void loadDefaultProperties(Properties properties) {
loadPropertiesFromFile(properties,
System.getProperty("user.home") + "/.pigrc");
loadPropertiesFromClasspath(properties, DEFAULT_PROPERTIES_FILE);
loadPropertiesFromClasspath(properties, PROPERTIES_FILE);
setDefaultsIfUnset(properties);
//foo..
{code}
> Pig should have a pigrc to specify default script cache
> -------------------------------------------------------
>
> Key: PIG-2456
> URL: https://issues.apache.org/jira/browse/PIG-2456
> Project: Pig
> Issue Type: New Feature
> Reporter: Aniket Mokashi
>
> There should be a way to specify default statements in pig. This is helpful
> when multiple users are using pig in interactive mode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira