Versions in this module Expand all Collapse all v0 v0.23.2 Feb 12, 2024 Changes in this version + const ABORT + const ABSOLUTE + const ACCESS + const ACTION + const ADD + const ADMIN + const AFTER + const AGGREGATE + const ALL + const ALTER + const ALWAYS + const ANALYSE + const ANALYZE + const AND + const AND_AND + const ANNOTATE_TYPE + const ANY + const ARRAY + const AS + const ASC + const ASENSITIVE + const ASYMMETRIC + const AS_JSON + const AS_LA + const AT + const ATOMIC + const ATTRIBUTE + const AT_AT + const AUTHORIZATION + const AUTOMATIC + const AVAILABILITY + const BACKUP + const BACKUPS + const BACKWARD + const BATCH + const BCONST + const BEFORE + const BEGIN + const BETWEEN + const BIGINT + const BIGSERIAL + const BINARY + const BIT + const BITCONST + const BOOLEAN + const BOTH + const BOX2D + const BUCKET_COUNT + const BUNDLE + const BY + const CACHE + const CALL + const CALLED + const CANCEL + const CANCELQUERY + const CAPABILITIES + const CAPABILITY + const CASCADE + const CASE + const CAST + const CBRT + const CHANGEFEED + const CHAR + const CHARACTER + const CHARACTERISTICS + const CHECK + const CHECK_FILES + const CLOSE + const CLUSTER + const CLUSTERS + const CLUSTER_ALL + const COALESCE + const COLLATE + const COLLATION + const COLUMN + const COLUMNS + const COMMENT + const COMMENTS + const COMMIT + const COMMITTED + const COMPACT + const COMPLETE + const COMPLETIONS + const CONCAT + const CONCURRENTLY + const CONFIGURATION + const CONFIGURATIONS + const CONFIGURE + const CONFLICT + const CONNECTION + const CONNECTIONS + const CONSTRAINT + const CONSTRAINTS + const CONTAINED_BY + const CONTAINS + const CONTROLCHANGEFEED + const CONTROLJOB + const CONVERSION + const CONVERT + const COPY + const COST + const COVERING + const CREATE + const CREATEDB + const CREATELOGIN + const CREATEROLE + const CROSS + const CSV + const CUBE + const CURRENT + const CURRENT_CATALOG + const CURRENT_DATE + const CURRENT_ROLE + const CURRENT_SCHEMA + const CURRENT_TIME + const CURRENT_TIMESTAMP + const CURRENT_USER + const CURSOR + const CYCLE + const DATA + const DATABASE + const DATABASES + const DATE + const DAY + const DEALLOCATE + const DEBUG_DUMP_METADATA_SST + const DEBUG_IDS + const DEBUG_PAUSE_ON + const DEC + const DECIMAL + const DECLARE + const DEFAULT + const DEFAULTS + const DEFERRABLE + const DEFERRED + const DEFINER + const DELETE + const DELIMITER + const DEPENDS + const DESC + const DESTINATION + const DETACHED + const DETAILS + const DISCARD + const DISTINCT + const DO + const DOMAIN + const DOT_DOT + const DOUBLE + const DROP + const ELSE + const ENCODING + const ENCRYPTED + const ENCRYPTION_INFO_DIR + const ENCRYPTION_PASSPHRASE + const END + const ENUM + const ENUMS + const ERROR + const ESCAPE + const EXCEPT + const EXCLUDE + const EXCLUDING + const EXECUTE + const EXECUTION + const EXISTS + const EXPERIMENTAL + const EXPERIMENTAL_AUDIT + const EXPERIMENTAL_FINGERPRINTS + const EXPERIMENTAL_RELOCATE + const EXPERIMENTAL_REPLICA + const EXPIRATION + const EXPLAIN + const EXPORT + const EXTENSION + const EXTERNAL + const EXTRACT + const EXTRACT_DURATION + const EXTREMES + const FAILURE + const FALSE + const FAMILY + const FCONST + const FETCH + const FETCHTEXT + const FETCHTEXT_PATH + const FETCHVAL + const FETCHVAL_PATH + const FILES + const FILTER + const FIRST + const FLOAT + const FLOAT4 + const FLOAT8 + const FLOORDIV + const FOLLOWING + const FOR + const FORCE + const FORCE_INDEX + const FORCE_NOT_NULL + const FORCE_NULL + const FORCE_QUOTE + const FORCE_ZIGZAG + const FOREIGN + const FORMAT + const FORWARD + const FREEZE + const FROM + const FULL + const FUNCTION + const FUNCTIONS + const GENERATED + const GENERATED_ALWAYS + const GENERATED_BY_DEFAULT + const GEOGRAPHY + const GEOMETRY + const GEOMETRYCOLLECTION + const GEOMETRYCOLLECTIONM + const GEOMETRYCOLLECTIONZ + const GEOMETRYCOLLECTIONZM + const GEOMETRYM + const GEOMETRYZ + const GEOMETRYZM + const GLOBAL + const GOAL + const GRANT + const GRANTEE + const GRANTS + const GREATER_EQUALS + const GREATEST + const GROUP + const GROUPING + const GROUPS + const HASH + const HAVING + const HEADER + const HELPTOKEN + const HIGH + const HISTOGRAM + const HOLD + const HOUR + const ICONST + const IDENT + const IDENTITY + const IF + const IFERROR + const IFNULL + const IGNORE_FOREIGN_KEYS + const ILIKE + const IMMEDIATE + const IMMUTABLE + const IMPORT + const IN + const INCLUDE + const INCLUDE_ALL_SECONDARY_TENANTS + const INCLUDE_ALL_VIRTUAL_CLUSTERS + const INCLUDING + const INCREMENT + const INCREMENTAL + const INCREMENTAL_LOCATION + const INDEX + const INDEXES + const INDEX_AFTER_ORDER_BY_BEFORE_AT + const INDEX_BEFORE_NAME_THEN_PAREN + const INDEX_BEFORE_PAREN + const INET + const INET_CONTAINED_BY_OR_EQUALS + const INET_CONTAINS_OR_EQUALS + const INHERITS + const INITIALLY + const INJECT + const INNER + const INOUT + const INPUT + const INSENSITIVE + const INSERT + const INT + const INTEGER + const INTERSECT + const INTERVAL + const INTERVAL_SIMPLE + const INTO + const INTO_DB + const INVERTED + const INVISIBLE + const INVOKER + const IS + const ISERROR + const ISNULL + const ISOLATION + const JOB + const JOBS + const JOIN + const JSON + const JSONB + const JSON_ALL_EXISTS + const JSON_SOME_EXISTS + const KEY + const KEYS + const KMS + const KV + const LABEL + const LANGUAGE + const LAST + const LATERAL + const LATEST + const LC_COLLATE + const LC_CTYPE + const LEADING + const LEAKPROOF + const LEASE + const LEAST + const LEFT + const LESS + const LESS_EQUALS + const LEVEL + const LIKE + const LIMIT + const LINESTRING + const LINESTRINGM + const LINESTRINGZ + const LINESTRINGZM + const LIST + const LOCAL + const LOCALITY + const LOCALTIME + const LOCALTIMESTAMP + const LOCKED + const LOGIN + const LOOKUP + const LOW + const LSHIFT + const MATCH + const MATERIALIZED + const MAXVALUE + const MERGE + const METHOD + const MINUTE + const MINVALUE + const MODIFYCLUSTERSETTING + const MODIFYSQLCLUSTERSETTING + const MONTH + const MOVE + const MULTILINESTRING + const MULTILINESTRINGM + const MULTILINESTRINGZ + const MULTILINESTRINGZM + const MULTIPOINT + const MULTIPOINTM + const MULTIPOINTZ + const MULTIPOINTZM + const MULTIPOLYGON + const MULTIPOLYGONM + const MULTIPOLYGONZ + const MULTIPOLYGONZM + const MaxInt + const MaxUint + const NAME + const NAMES + const NAN + const NATURAL + const NEVER + const NEW_DB_NAME + const NEW_KMS + const NEXT + const NO + const NOCANCELQUERY + const NOCONTROLCHANGEFEED + const NOCONTROLJOB + const NOCREATEDB + const NOCREATELOGIN + const NOCREATEROLE + const NOLOGIN + const NOMODIFYCLUSTERSETTING + const NONE + const NONVOTERS + const NOREPLICATION + const NORMAL + const NOSQLLOGIN + const NOT + const NOTHING + const NOTHING_AFTER_RETURNING + const NOTNULL + const NOT_EQUALS + const NOT_LA + const NOT_REGIMATCH + const NOT_REGMATCH + const NOVIEWACTIVITY + const NOVIEWACTIVITYREDACTED + const NOVIEWCLUSTERSETTING + const NOWAIT + const NO_FULL_SCAN + const NO_INDEX_JOIN + const NO_ZIGZAG_JOIN + const NULL + const NULLIF + const NULLS + const NULLS_LA + const NUMERIC + const OF + const OFF + const OFFSET + const OID + const OIDS + const OIDVECTOR + const OLD_KMS + const ON + const ONLY + const ON_LA + const OPERATOR + const OPT + const OPTION + const OPTIONS + const OR + const ORDER + const ORDINALITY + const OTHERS + const OUT + const OUTER + const OVER + const OVERLAPS + const OVERLAY + const OWNED + const OWNER + const PARALLEL + const PARENT + const PARTIAL + const PARTITION + const PARTITIONS + const PASSWORD + const PAUSE + const PAUSED + const PHYSICAL + const PLACEHOLDER + const PLACEMENT + const PLACING + const PLAN + const PLANS + const POINT + const POINTM + const POINTZ + const POINTZM + const POLYGON + const POLYGONM + const POLYGONZ + const POLYGONZM + const POSITION + const POSTFIXOP + const PRECEDING + const PRECISION + const PREPARE + const PRESERVE + const PRIMARY + const PRIOR + const PRIORITY + const PRIVILEGES + const PROCEDURAL + const PROCEDURE + const PROCEDURES + const PUBLIC + const PUBLICATION + const QUERIES + const QUERY + const QUOTE + const RANGE + const RANGES + const READ + const REAL + const REASON + const REASSIGN + const RECURRING + const RECURSIVE + const REDACT + const REF + const REFERENCES + const REFRESH + const REGCLASS + const REGIMATCH + const REGION + const REGIONAL + const REGIONS + const REGNAMESPACE + const REGPROC + const REGPROCEDURE + const REGROLE + const REGTYPE + const REINDEX + const RELATIVE + const RELEASE + const RELOCATE + const REMOVE_PATH + const REMOVE_REGIONS + const RENAME + const REPEATABLE + const REPLACE + const REPLICATION + const RESET + const RESET_ALL + const RESTART + const RESTORE + const RESTRICT + const RESTRICTED + const RESUME + const RETENTION + const RETRY + const RETURN + const RETURNING + const RETURNS + const REVISION_HISTORY + const REVOKE + const RIGHT + const ROLE + const ROLES + const ROLE_ALL + const ROLLBACK + const ROLLUP + const ROUTINES + const ROW + const ROWS + const RSHIFT + const RULE + const RUNNING + const SAVEPOINT + const SCANS + const SCATTER + const SCHEDULE + const SCHEDULES + const SCHEMA + const SCHEMAS + const SCHEMA_ONLY + const SCONST + const SCROLL + const SCRUB + const SEARCH + const SECOND + const SECONDARY + const SECURITY + const SELECT + const SEQUENCE + const SEQUENCES + const SERIALIZABLE + const SERVER + const SERVICE + const SESSION + const SESSIONS + const SESSION_USER + const SET + const SETOF + const SETS + const SETTING + const SETTINGS + const SET_TRACING + const SHARE + const SHARED + const SHOW + const SIMILAR + const SIMPLE + const SIZE + const SKIP + const SKIP_LOCALITIES_CHECK + const SKIP_MISSING_FOREIGN_KEYS + const SKIP_MISSING_SEQUENCES + const SKIP_MISSING_SEQUENCE_OWNERS + const SKIP_MISSING_UDFS + const SKIP_MISSING_VIEWS + const SMALLINT + const SMALLSERIAL + const SNAPSHOT + const SOME + const SPLIT + const SQL + const SQLLOGIN + const SQRT + const STABLE + const START + const STATE + const STATEMENTS + const STATISTICS + const STATUS + const STDIN + const STDOUT + const STOP + const STORAGE + const STORE + const STORED + const STORING + const STREAM + const STRICT + const STRING + const SUBSCRIPTION + const SUBSTRING + const SUPER + const SUPPORT + const SURVIVAL + const SURVIVE + const SYMMETRIC + const SYNTAX + const SYSTEM + const TABLE + const TABLES + const TABLESPACE + const TEMP + const TEMPLATE + const TEMPORARY + const TENANT + const TENANTS + const TENANT_ALL + const TENANT_NAME + const TESTING_RELOCATE + const TEXT + const THEN + const THROTTLING + const TIES + const TIME + const TIMESTAMP + const TIMESTAMPTZ + const TIMETZ + const TO + const TRACE + const TRACING + const TRAILING + const TRANSACTION + const TRANSACTIONS + const TRANSFER + const TRANSFORM + const TREAT + const TRIGGER + const TRIM + const TRUE + const TRUNCATE + const TRUSTED + const TYPE + const TYPEANNOTATE + const TYPECAST + const TYPES + const UMINUS + const UNBOUNDED + const UNCOMMITTED + const UNION + const UNIQUE + const UNKNOWN + const UNLISTEN + const UNLOGGED + const UNSAFE_RESTORE_INCOMPATIBLE_VERSION + const UNSET + const UNSPLIT + const UNTIL + const UPDATE + const UPDATES_CLUSTER_MONITORING_METRICS + const UPSERT + const USE + const USER + const USERS + const USER_ALL + const USING + const UUID + const VALID + const VALIDATE + const VALUE + const VALUES + const VARBIT + const VARCHAR + const VARIADIC + const VARYING + const VERIFY_BACKUP_TABLE_DATA + const VIEW + const VIEWACTIVITY + const VIEWACTIVITYREDACTED + const VIEWCLUSTERMETADATA + const VIEWCLUSTERSETTING + const VIEWDEBUG + const VIRTUAL + const VIRTUAL_CLUSTER + const VIRTUAL_CLUSTER_NAME + const VISIBILITY + const VISIBLE + const VOLATILE + const VOTERS + const WHEN + const WHERE + const WINDOW + const WITH + const WITHIN + const WITHOUT + const WITH_LA + const WORK + const WRITE + const YEAR + const ZONE + var AllHelp = func(h map[string]HelpMessageBody) string { ... }(helpMessages) + var HelpMessages = func(h map[string]HelpMessageBody) map[string]HelpMessageBody { ... }(helpMessages) + func GetTypeFromCastOrCollate(expr tree.Expr) (tree.ResolvableTypeReference, error) + func GetTypeFromValidSQLSyntax(sql string) (tree.ResolvableTypeReference, error) + func GetTypeReferenceFromName(typeName tree.Name) (tree.ResolvableTypeReference, error) + func NakedIntTypeFromDefaultIntSize(defaultIntSize int32) *types.T + func Parse(sql string) (statements.Statements, error) + func ParseExpr(sql string) (tree.Expr, error) + func ParseExprWithInt(sql string, nakedIntType *types.T) (tree.Expr, error) + func ParseExprs(sql []string) (tree.Exprs, error) + func ParseOne(sql string) (statements.Statement[tree.Statement], error) + func ParseOneWithInt(sql string, nakedIntType *types.T) (statements.Statement[tree.Statement], error) + func ParseQualifiedTableName(sql string) (*tree.TableName, error) + func ParseTableName(sql string) (*tree.UnresolvedObjectName, error) + func ParseTablePattern(sql string) (tree.TablePattern, error) + func ParseWithInt(sql string, nakedIntType *types.T) (statements.Statements, error) + func PopulateErrorDetails(tokID int32, lastTokStr string, lastTokPos int32, lastErr error, lIn string) error + func RunShowSyntax(ctx context.Context, stmt string, ...) + func SplitFirstStatement(sql string) (pos int, ok bool) + type HelpMessage struct + Command string + Function string + func (h *HelpMessage) Format(w io.Writer) + func (h *HelpMessage) String() string + type HelpMessageBody struct + Category string + SeeAlso string + ShortDescription string + Text string + type Parser struct + func (p *Parser) Parse(sql string) (statements.Statements, error) + func (p *Parser) ParseWithInt(sql string, nakedIntType *types.T) (statements.Statements, error) + type TokenString struct + Str string + TokenID int32 + func Tokens(sql string) (tokens []TokenString, ok bool) + func TokensIgnoreErrors(sql string) (tokens []TokenString)