RecordSplitPlugin (tmap v21.9.3) View Source
Split a record in several records. Example: From [%{"k1" => "v1", "k2" => "word1,word2,word3"}] To: [%{ "k1" => "v1", "k2" => "word1"},
%{"k1" => "v1",
"k2" => "word2"},
%{"k1" => "v1",
"k2" => "word3"} Using the rule [
%{
"action" => "ValueSplit", "key" => "k2", "pattern" => ","
}
]
Link to this section Summary
Functions
Callback implementation for Plugin.transform/2
.
Link to this section Functions
Callback implementation for Plugin.transform/2
.