Transform plugin : Split [Flink]
A string cutting function is defined, which is used to split the specified field in the Sql plugin.
name | type | required | default value |
---|---|---|---|
separator | string | no | , |
fields | array | yes | - |
common-options | string | no | - |
The specified delimiter, the default is ,
The name of each field after split
Transform plugin common parameters, please refer to Transform Plugin for details
# This just created a udf called split Split{ separator = "#" fields = ["name","age"] } # Use the split function (confirm that the fake table exists) sql { sql = "select * from (select info,split(info) as info_row from fake) t1" }