[Text DataSources] Property File

This recipe demonstrates how to read data from a Property file using tabular datasource.

Steps taken:

  1. Create a tabular datasource (Property.ds).
  2. 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”.
  3. 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)