Github user cestella commented on the issue:

    https://github.com/apache/metron/pull/718
  
    Currently you cannot have two statements in stellar field transformations 
with the same variable, so 
    ```
    {
    "transformation" : "STELLAR"
    ,"output" : [ "better_title", "title"]
    ,"config" : {
    "better_title" : "title"
    ,"title" : "SOME_UDF_THAT_CAN_RET_NULL()"
    ,"title" : "if title == null then GET_RANDOM_TITLE()
    }
    }
    ```
    would evaluate only the last `title` expression.  It's a problem with our 
use of maps and why in enrichment we transitioned to lists of strings as an 
alternative 😢 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to