You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/02 16:57:51 UTC

[jira] [Commented] (METRON-687) Create String Formatting Function for Stellar

    [ https://issues.apache.org/jira/browse/METRON-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15850178#comment-15850178 ] 

ASF GitHub Bot commented on METRON-687:
---------------------------------------

GitHub user nickwallen opened a pull request:

    https://github.com/apache/incubator-metron/pull/434

    METRON-687 Create String Formatting Function for Stellar

    Created a string formatting function for Stellar. 
    * Uses Java's String formatting conventions.  
    * Any non-existent variables will be formatted as 'null'.  This failure scenario would arise from a data quality issue.
    * Forgetting to pass an argument required by the format string will throw an exception.  
    * Not passing a format string will throw an exception.
    
    #### FORMAT
    * Description: Returns a formatted string using the specified format string and arguments.  Uses Java's string formatting conventions.
    * Input:
        * format - string
        * arguments... - object(s)
    * Returns: A formatted string.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nickwallen/incubator-metron METRON-687

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/434.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #434
    
----
commit 5b1fad7ecc73f2e7a44ba644812eb1f008e82853
Author: Nick Allen <ni...@nickallen.org>
Date:   2017-02-02T16:42:13Z

    METRON-687 Create String Formatting Function for Stellar

----


> Create String Formatting Function for Stellar
> ---------------------------------------------
>
>                 Key: METRON-687
>                 URL: https://issues.apache.org/jira/browse/METRON-687
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>
> Create a Stellar function that allows a user to create formatting strings aka perform string interpolation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)