Regex extract transform
Use this transform to extract new columns from a string column with JSON data.
To add a Regex Extract transform:
-
Navigate to your visual ETL job in Amazon SageMaker Unified Studio.
-
Choose the plus icon to open the Add nodes menu.
-
Under Transforms, choose Regex Extract.
-
Select the diagram to add the node to your visual ETL job.
-
Select the node on the diagram to view details about the transform.
-
Under Column to extract from, choose a column from the data source you connected to the transform.
-
Under Regular expression, enter a regular expression to apply on the column. If there are multiple columns, the expression must have a number of groups equal to the number of columns.
-
Under Extracted column, enter the name of the column to contain the extracted regex.