Mortar has joined Datadog, the leading SaaS-based monitoring service for cloud applications. Read more about what this means here.

Generate a Load Statement

    Loading data into a Pig script is accomplished through the use of a load statement, which tells Pig where to ingest data from and how to treat that data. Mortar's Load Statement Generator is a tool that makes it easy to generate Pig load statements for common data formats (JSON, XML, CSV, and MongoDB). Details on loading other data types are available here. Just set the parameters below to match your data, and the tool auto-generates a load statement for you.

    Begin by setting the Input Path, which is where you will load your data from.


    Data Type and Location


    Data Fields

    Set the type of data for each field in an entry.

    Generated Statement

        Because of missing parameters, a load statement could not be generated.