Constants for the fields of the /create/jointable request.
Option fields
options
Constants for options.
pub const CHUNK_SIZE: &str = “chunk_size”;Maximum number of records per joined-chunk for this table. Defaults to the gpudb.conf file chunk size.
pub const COLLECTION_NAME: &str = “collection_name”;[DEPRECATED–please specify the containing schema for the join as part of join_table_name and use /create/schema to create the schema if non-existent] Name of a schema for the join. If the schema is non-existent, it will be automatically created.
pub const CREATE_TEMP_TABLE: &str = “create_temp_table”;If true, a unique temporary table name will be generated in the sys_temp schema and used in place of join_table_name. This is always allowed even if the caller does not have permission to create tables. The generated name is returned in qualified_join_table_name.
pub const ENABLE_EQUI_JOIN_LAZY_RESULT_STORE: &str = “enable_equi_join_lazy_result_store”;Allow using the lazy result store to cache computation of one side of a multichunk equi-join. Reduces computation but also reduces parallelism to the number of chunks on the other side of the equi-join.
pub const ENABLE_PK_EQUI_JOIN: &str = “enable_pk_equi_join”;Use equi-join to do primary key joins rather than using primary key index.
pub const ENABLE_PREDICATE_EQUI_JOIN_LAZY_RESULT_STORE: &str = “enable_predicate_equi_join_lazy_result_store”;Allow using the lazy result store to cache computation of one side of a multichunk predicate-equi-join. Reduces computation but also reduces parallelism to the number of chunks on the other side of the equi-join.
pub const ENABLE_SPARSE_VIRTUAL_CHUNKING: &str = “enable_sparse_virtual_chunking”;Materialize virtual chunks with only non-deleted values.
pub const ENABLE_VIRTUAL_CHUNKING: &str = “enable_virtual_chunking”;Collect chunks with accumulated size less than chunk_size into a single chunk.
pub const FALSE: &str = “false”;pub const MAX_QUERY_DIMENSIONS: &str = “max_query_dimensions”;No longer used.
pub const MAX_VIRTUAL_CHUNK_SIZE: &str = “max_virtual_chunk_size”;Maximum number of records per virtual-chunk. When set, enables virtual chunking. Defaults to chunk_size if virtual chunking otherwise enabled.
pub const MIN_VIRTUAL_CHUNK_SIZE: &str = “min_virtual_chunk_size”;Minimum number of records per virtual-chunk. When set, enables virtual chunking. Defaults to chunk_size if virtual chunking otherwise enabled.
pub const NO_COUNT: &str = “no_count”;Return a count of 0 for the join table for logging and for /show/table; optimization needed for large overlapped equi-join stencils.
pub const STRATEGY_DEFINITION: &str = “strategy_definition”;The tier strategy for the table and its columns.
pub const TRUE: &str = “true”;pub const TTL: &str = “ttl”;Sets the TTL of the join table specified in join_table_name.
pub const VIEW_ID: &str = “view_id”;View this projection is part of.