How to: |
This section describes how to create a wrangler configuration in iWay Big Data Integrator (iBDI). The wrangler provides structure to unstructured data by assigning a schema to the data. The wrangler will conform the data to the schema.
The New dialog opens, as shown in the following image.
The New Wrangler dialog opens, as shown in the following image.
The Project Folder field is automatically populated with a folder path, which you can modify as required.
The Select a Source dialog opens.
You are returned to the New Wrangler dialog where the Source field and Name field are now populated.
The wrangler opens as a new tab (for example, FlumeData2.wrangler) in the iBDI workspace, as shown in the following image.
The console pane in the lower part of the iBDI user interface displays the results. For example:
12/09/2016 03:30:43.590 [INFO] Executing statement: CREATE DATABASE IF NOT EXISTS new_schemax 12/09/2016 03:30:43.610 [INFO] Executing statement: CREATE EXTERNAL TABLE new_schemax.personnel ( First_name STRING , Last_name STRING ) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' LOCATION '/user/root/flume/JR' 12/09/2016 03:30:43.707 [INFO] Wrangler execution was completed successfully.
The new table should be available.
Note: If the result set is very large, this process may take several minutes to complete and appear under the menu, as shown in the following image.