Apache Pinot · Schema

SqlQueryRequest

SqlQueryRequest schema from Apache Pinot

AnalyticsDatabaseLow LatencyOLAPReal-TimeApacheOpen Source

Properties

Name Type Description
sql string SQL query to execute
queryOptions string Query options key=value pairs
View JSON Schema on GitHub

JSON Schema

apache-pinot-sql-query-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-pinot/refs/heads/main/json-schema/apache-pinot-sql-query-request-schema.json",
  "title": "SqlQueryRequest",
  "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"
  ]
}