LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Node Release: Rename Fields

    Employee
    Posted 11-16-2010 15:09

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mmarinelli

    Node Name: Rename Fields
    Node Category: Metadata and Structure
    Use Case: Use this node to rename multiple fields using reference data at run time instead of using BRAINscript at design time
    Tested on Release: 4.1.7
    External Dependencies: None
    Practical Usage Example: An example use of this node has been provided in the prototype examples graph which is released in conjunction with the prototype library. Please see that graph for a executable use case.*
    Node Documentation:

    Functional Description:
    This node will rename some or all fields on the first input, using expressions based on values in the second input.If a field does not have a new name, the old one will be used.
    Parameters:
    • SourceFieldExpr: BRAINscript expression which describes the field values used as the rename source
    • DestinationFieldExpr: BRAINscript expression which describes the field values used as the rename destination
    Known Limitations: None


  • 2.  RE: Node Release: Rename Fields

    Employee
    Posted 11-19-2010 08:53

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rboccuzzi

    It was noted during the training session for this node, the node does not currently detect collisions in field names. Therefore, it is possible with flawed logic in expressions, to have duplicate field names as a result. It might be a good enhancement to detect this, and error.

    Cheers
    Rich