Apache Pig · JSON Structure

Apache Pig Script Request Structure

ScriptRequest schema from Apache Pig

Type: object Properties: 1 Required: 1
Big DataData AnalysisETLHadoopScriptingApacheOpen Source

ScriptRequest is a JSON Structure definition published by Apache Pig, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

script

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/apache-pig/refs/heads/main/json-structure/apache-pig-script-request-structure.json",
  "description": "ScriptRequest schema from Apache Pig",
  "type": "object",
  "properties": {
    "script": {
      "type": "string",
      "example": "A = LOAD 'data.csv';\nB = FOREACH A GENERATE $0, $1;"
    }
  },
  "required": [
    "script"
  ],
  "name": "ScriptRequest"
}