Apache Pinot · JSON Structure

Apache Pinot Sql Query Request Structure

SqlQueryRequest schema from Apache Pinot

Type: object Properties: 2 Required: 1
AnalyticsDatabaseLow LatencyOLAPReal-TimeApacheOpen Source

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

Properties

sql queryOptions

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-pinot/refs/heads/main/json-structure/apache-pinot-sql-query-request-structure.json",
  "description": "SqlQueryRequest schema from Apache Pinot",
  "type": "object",
  "properties": {
    "sql": {
      "type": "string",
      "description": "SQL query to execute",
      "example": "SELECT COUNT(*) FROM airlineStats WHERE Year = 2014"
    },
    "queryOptions": {
      "type": "string",
      "description": "Query options key=value pairs",
      "example": "timeoutMs=5000"
    }
  },
  "required": [
    "sql"
  ],
  "name": "SqlQueryRequest"
}