Append Column

Instructions for Use

Append columns are fields connected by two sets of elements, which append the attributes of a dataset to the source dataset and generate a new result dataset (FeatureRDD) based on the source dataset. be careful:

  1. If a field in the field name set that is appended to the target dataset in the specified source dataset does not exist in the source dataset, ignore this field and only append the fields that exist in the source dataset;
  2. If a set of field names corresponding to the additional fields in the target dataset is specified, create the additional fields in the target dataset according to the specified field names;
  3. When the specified field name already exists in the target dataset, it will be automatically added_ Create fields using x (1, 2, 3...);
  4. If the creation of a field in the target dataset fails, ignore this field and continue to append other fields;
  5. The source field name set must be specified, otherwise the appending will not be successful; Once the target field name set is specified, the field names in this set must correspond one-to-one with the field names in the source field name set. !

    Parameter Description

    Parameter Name Default Value Parameter Definition Parameter Type
    Source Feature Dataset   Source Feature Dataset FeatureRDD
    Feature Dataset Providing Attributes   Feature Dataset Providing Attributes FeatureRDD
    Additional column names
    (Optional)
      Column names that need to be added to the feature dataset that provides attributes String
    Appended attribute field name
    (Optional)
      Appended attribute field name, corresponding to "Appended column name" one by one String
    The connection field of the source dataset
    (Optional)
      The connection field of the source dataset. If the parameter does not exist or is empty, use the ID value of the feature for connection, supporting multiple Strings
    Connect the connection field of the dataset
    (Optional)
      Connect the connection field of the dataset. If the parameter does not exist or is empty, it is connected using the ID value of the feature, supporting multiple, and corresponding to the number of "Connection Fields in the Source Dataset" parameters String