Structs§
- Fragment
Desc - Partial
Actor Location - Partial
Fragment State Tables - Partial
Object - Partial
User Privilege - Streaming
JobExtra Info
Functions§
- build_
object_ 🔒group_ for_ delete - Build a object group for notifying the deletion of the given objects.
- build_
select_ node_ list - check_
connection_ name_ duplicate check_connection_name_duplicatechecks whether the connection name is already used in the target namespace.- check_
database_ name_ duplicate check_database_name_duplicatechecks whether the database name is already used in the cluster.- check_
function_ signature_ duplicate check_function_signature_duplicatechecks whether the function name and its signature is already used in the target namespace.- check_
if_ belongs_ to_ iceberg_ table - check_
object_ refer_ for_ drop check_object_refer_for_dropchecks whether the object is used by other objects except indexes. It returns an error that contains the details of the referring objects if it is used by others.- check_
relation_ name_ duplicate check_relation_name_duplicatechecks whether the relation name is already used in the target namespace.- check_
schema_ name_ duplicate check_schema_name_duplicatechecks whether the schema name is already used in the target database.- check_
secret_ name_ duplicate - check_
sink_ into_ table_ cycle - Check if create a sink with given dependent objects into the target table will cause a cycle, return true if it will.
- check_
subscription_ name_ duplicate - check_
user_ name_ duplicate check_user_name_duplicatechecks whether the user is already existed in the cluster.- compose_
dispatchers - construct_
obj_ dependency_ query - This function will construct a query using recursive cte to find all objects[(id,
obj_type)] that are used by the given object. - construct_
privilege_ dependency_ query construct_privilege_dependency_queryconstructs a query to find all privileges that are dependent on the given one.- construct_
sink_ cycle_ check_ query - This function will construct a query using recursive cte to find if dependent objects are already relying on the target table.
- ensure_
job_ not_ canceled - ensure_
object_ id ensure_object_idensures the existence of target object in the cluster.- ensure_
privileges_ not_ referred ensure_privileges_not_referredensures that the privileges are not granted to any other users.- ensure_
schema_ empty ensure_schema_emptyensures that the schema is empty, used byDROP SCHEMA.- ensure_
user_ id ensure_user_idensures the existence of target user in the cluster.- extract_
external_ table_ name_ from_ definition - extract_
grant_ obj_ id - fetch_
target_ fragments - filter_
workers_ by_ resource_ group - find_
dirty_ iceberg_ table_ jobs - get_
database_ resource_ group - get_
existing_ job_ resource_ group - get_
fragments_ for_ jobs - For the given streaming jobs, returns
- get_
index_ state_ tables_ by_ table_ id - get_
internal_ tables_ by_ id - get_
object_ owner get_object_ownerreturns the owner of the given object.- get_
referring_ objects - List all objects that are using the given one.
- get_
referring_ objects_ cascade - List all objects that are using the given one in a cascade way. It runs a recursive CTE to find all the dependencies.
- get_
referring_ privileges_ cascade - get_
sink_ fragment_ by_ ids - get_
streaming_ job_ extra_ info - get_
table_ columns - get_
user_ privilege get_user_privilegereturns the privileges of the given user.- grant_
default_ privileges_ automatically grant_default_privileges_automaticallygrants default privileges automatically for the given new object. It returns the list of user infos whose privileges are updated.- has_
table_ been_ migrated - insert_
fragment_ relations - list_
user_ info_ by_ ids list_user_info_by_idslists all users’ info by their ids.- rebuild_
fragment_ mapping - rename_
relation rename_relationrenames the target relation and its definition, it commits the changes to the transaction and returns the updated relations and the old name.- rename_
relation_ refer rename_relation_referupdates the definition of relations that refer to the target one, it commits the changes to the transaction and returns all the updated relations.- resolve_
no_ shuffle_ actor_ dispatcher - return (
upstream_actor_id->downstream_actor_id) - try_
get_ iceberg_ table_ by_ downstream_ sink - validate_
subscription_ deletion - Validate that subscription can be safely deleted, meeting any of the following conditions: