Skip to content

Split URL

Description

This activity splits the values of the specified column containing Url into multiple columns and parts.

Input

Data only

Output

Transformed Data


Configuration Fields

  • URL Column Specifies the column containing URLs.
  • Protocol Column Name Defines the column for storing URL protocols.
  • Host Column Name Defines the column for storing host names.
  • Port Column Name Defines the column for storing ports.
  • Path Column Name Defines the column for storing URL paths.
  • Query Column Name Defines the column for storing URL query parameters.
  • Fragment Column Name Defines the column for storing URL fragments.

Sample Input

employee_idnameurl
E001John Doehttps://company.com:8080/employee?id=E001&name=John+Doe&department=Sales#profile
E002Marie Duponthttp://marketing.com/employee?id=E002&name=Marie+Dupont&department=Marketing
E003Carlos Gómezftp://fileserver.com:21/download?id=E003&name=Carlos+Gómez&department=Engineering

Sample Configuration

alt text

Sample Output

employee_idnameurlProtocolHostPortPathQueryFragment
E001John Doehttps://company.com:8080/employee?id=E001&name=John+Doe&department=Sales#profilehttpscompany.com8080/employeeid=E001&name=John+Doe&department=Salesprofile
E002Marie Duponthttp://marketing.com/employee?id=E002&name=Marie+Dupont&department=Marketinghttpmarketing.com/employeeid=E002&name=Marie+Dupont&department=Marketing
E003Carlos Gómezftp://fileserver.com:21/download?id=E003&name=Carlos+Gómez&department=Engineeringftpfileserver.com21/downloadid=E003&name=Carlos+Gómez&department=Engineering