Snowflake · Schema

VerifiedQuery

VerifiedQuery represents a (question, sql) pair that has been manually verified (e.g. by an analyst) to be correct.

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
name string A name for this verified query. Mainly used for display purposes.
question string The question being answered.
sql string The correct SQL query for answering the question.
verified_at integer Timestamp at which the query was last verified - measures in seconds since epoch, in UTC.
verified_by string Name of the person who verified this query.
View JSON Schema on GitHub

JSON Schema

cortex-analyst-verified-query-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "VerifiedQuery",
  "type": "object",
  "description": "VerifiedQuery represents a (question, sql) pair that has been manually verified (e.g. by an analyst) to be correct.",
  "properties": {
    "name": {
      "type": "string",
      "description": "A name for this verified query. Mainly used for display purposes."
    },
    "question": {
      "type": "string",
      "description": "The question being answered."
    },
    "sql": {
      "type": "string",
      "description": "The correct SQL query for answering the question."
    },
    "verified_at": {
      "type": "integer",
      "description": "Timestamp at which the query was last verified - measures in seconds since epoch, in UTC."
    },
    "verified_by": {
      "type": "string",
      "description": "Name of the person who verified this query."
    }
  }
}