This recipe demonstrates how to read data from a Property file using tabular datasource.
Steps taken:
- Create a tabular datasource (Property.ds).
- Enter the file path of the Property file into the “Define Text Datasource > File URL” field. Set the Encoding to “UTF-8”. Set Date, Time and Timestamp formats properly. Set the “Access Type” to “Regular Expression”.
- On the next page, enter the following in the “Regular Expression” field:(.)=(.)Infer schema to load data. Click “Finish”.
To download the necessary files for this cookbook, refer to the attached ZIP file.
PropertyFile.zip (1.5 KB)