Reverse Engineering Models

You can create a Parquet data model from a script using the Reverse Engineering process.

This topic walks you through the steps to reverse engineer a Parquet model. For detailed description of reverse engineering options, refer to the Reverse Engineering Options topic.

To reverse engineer the Parquet model:

  1. In erwin Data Modeler (DM), click Actions > Reverse Engineer.
  2. The New Model screen appears.

  3. Click Logical/Physical and set Database to Parquet.

  4. Click Next.
  5. The Reverse Engineering Wizard appears.

  6. Click Script File.
  7. Click Browse to select the required JSON file.
  8. Click Next.
  9. The Detailed Options tab appears.

  10. Set up appropriate options based on your requirement.
  11. Click OK
  12. The reverse engineering process starts.

    Once the process is complete, based on your selections, a schema is generated, and a model is created. For example, in the following model, four records and 206 fields are created. In the account_string_components_15.0 record, the city field is nested inside the properties field, which is nested under another properties field.