ModulesΒ§
- current π
- cursor_
manager π - transaction π
StructsΒ§
- Auth
Context - Frontend
Env π - The global environment for the frontend server.
- Session
Impl - Session
Manager Impl - Temporary
Source Manager - If TEMPORARY or TEMP is specified, the source is created as a temporary source.
Temporary sources are automatically dropped at the end of a session
Temporary sources are expected to be selected by batch queries, not streaming queries.
Temporary sources currently are only used by cloud portal to preview the data during table and
source creation, so it is a internal feature and not exposed to users.
The current PR supports temporary source with minimum effort,
so we donβt care about the database name and schema name, but only care about the source name.
Temporary sources can only be shown via
show sources
command but not other system tables. - Worker
Process Id
EnumsΒ§
ConstantsΒ§
- FRONTEND_
BATCH_ πMEMORY_ PROPORTION - The proportion of frontend memory used for batch processing.
StaticsΒ§
FunctionsΒ§
- cancel_
creating_ jobs_ in_ session - cancel_
queries_ in_ session - infer π
- Returns row description of the statement
Type AliasesΒ§
- Session
MapRef - Session map identified by
(process_id, secret_key)