Amazon Glue DataBrew · JSON Structure

Glue Databrew Job Sample Structure

A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.

Type: object Properties: 2
Data AnalyticsData PreparationETLMachine Learning

JobSample is a JSON Structure definition published by Amazon Glue DataBrew, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Mode Size

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-glue-databrew/refs/heads/main/json-structure/glue-databrew-job-sample-structure.json",
  "name": "JobSample",
  "description": "A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a <code>JobSample</code> value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.",
  "type": "object",
  "properties": {
    "Mode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SampleMode"
        },
        {
          "description": "<p>A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:</p> <ul> <li> <p>FULL_DATASET - The profile job is run on the entire dataset.</p> </li> <li> <p>CUSTOM_ROWS - The profile job is run on the number of rows specified in the <code>Size</code> parameter.</p> </li> </ul>"
        }
      ]
    },
    "Size": {
      "allOf": [
        {
          "$ref": "#/components/schemas/JobSize"
        },
        {
          "description": "<p>The <code>Size</code> parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE.</p> <p>Long.MAX_VALUE = 9223372036854775807</p>"
        }
      ]
    }
  }
}