[teiid-issues] [JBoss JIRA] (TEIID-5308) ENV() function doesn't resolve environment variables but system properties

Steven Hawkins (JIRA) issues at jboss.org
Sat Apr 7 20:34:00 EDT 2018


    [ https://issues.jboss.org/browse/TEIID-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557691#comment-13557691 ] 

Steven Hawkins commented on TEIID-5308:
---------------------------------------

The proposal from the forum topic:

> How about creating separate functions, SYS_PROP(), and ENV_VAR() that do what they are supposed to do, and deprecate ENV() but keep it for backward compatibility?

I think that sounds good.  I would want all of the functions exposed with the existing allowEnvFunction property.

[~rareddy] any thoughts?

> ENV() function doesn't resolve environment variables but system properties
> --------------------------------------------------------------------------
>
>                 Key: TEIID-5308
>                 URL: https://issues.jboss.org/browse/TEIID-5308
>             Project: Teiid
>          Issue Type: Bug
>            Reporter: Mathieu Rampant
>            Assignee: Steven Hawkins
>            Priority: Critical
>
> the ENV() function, contrary to what its name suggests, doesn't look for environment variables but looks for system properties instead.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list