Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typeflat
printablefalse

This operator splits a column into multiple columns

...

table (TableReference): The input table
inputColumn (ColumnReference): The name of the column from the input table which needs to be split
splitRegex (String): The regex on which a column is to be split
outputColumns (String[]): The name of the output columns in which split values from the input column will be stored

Example

Input

email

isEmployee

salary

designation

Chadwick_Ainsworth9303@supunk.biz

true

2986

HR

Aeris_Bristow8797@famism.biz

false

2986.7910022

Banker

mathew@outlook.com

null

3982

IT

john@gmail.com

true

293782

Media

You can extract the values using the below query in LQL.

...

Code Block
splitColumn(nodeData1, $.email, "@", ["name","domain"])

Output

email

isEmployee

salary

designation

name

domain

Chadwick_Ainsworth9303@supunk.biz

true

2986

HR

Chadwick_Ainsworth9303

supunk.biz

Aeris_Bristow8797@famism.biz

false

2986.7910022

Banker

Aeris_Bristow8797

famism.biz

mathew@outlook.com

null

3982

IT

mathew

http://outlook.com

john@gmail.com

true

293782

Media

john

gmail.com