Class CreateUnionRequest.Options

    • Field Detail

      • CREATE_TEMP_TABLE

        public static final String CREATE_TEMP_TABLE
        If TRUE, a unique temporary table name will be generated in the sys_temp schema and used in place of tableName. If PERSIST is FALSE (or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned in QUALIFIED_TABLE_NAME. Supported values: The default value is FALSE.
        See Also:
        Constant Field Values
      • COLLECTION_NAME

        public static final String COLLECTION_NAME
        [DEPRECATED--please specify the containing schema for the projection as part of tableName and use GPUdb.createSchema to create the schema if non-existent] Name of the schema for the output table. If the schema provided is non-existent, it will be automatically created. The default value is ''.
        See Also:
        Constant Field Values
      • MODE

        public static final String MODE
        The mode describes what rows of the tables being unioned will be retained. Supported values:
        • UNION_ALL: Retains all rows from the specified tables.
        • UNION: Retains all unique rows from the specified tables (synonym for UNION_DISTINCT).
        • UNION_DISTINCT: Retains all unique rows from the specified tables.
        • EXCEPT: Retains all unique rows from the first table that do not appear in the second table (only works on 2 tables).
        • EXCEPT_ALL: Retains all rows(including duplicates) from the first table that do not appear in the second table (only works on 2 tables).
        • INTERSECT: Retains all unique rows that appear in both of the specified tables (only works on 2 tables).
        • INTERSECT_ALL: Retains all rows(including duplicates) that appear in both of the specified tables (only works on 2 tables).
        The default value is UNION_ALL.
        See Also:
        Constant Field Values
      • UNION_DISTINCT

        public static final String UNION_DISTINCT
        Retains all unique rows from the specified tables.
        See Also:
        Constant Field Values
      • EXCEPT

        public static final String EXCEPT
        Retains all unique rows from the first table that do not appear in the second table (only works on 2 tables).
        See Also:
        Constant Field Values
      • EXCEPT_ALL

        public static final String EXCEPT_ALL
        Retains all rows(including duplicates) from the first table that do not appear in the second table (only works on 2 tables).
        See Also:
        Constant Field Values
      • INTERSECT

        public static final String INTERSECT
        Retains all unique rows that appear in both of the specified tables (only works on 2 tables).
        See Also:
        Constant Field Values
      • INTERSECT_ALL

        public static final String INTERSECT_ALL
        Retains all rows(including duplicates) that appear in both of the specified tables (only works on 2 tables).
        See Also:
        Constant Field Values
      • LONG_HASH

        public static final String LONG_HASH
        When true use 128 bit hash for union-distinct, except, except_all, intersect and intersect_all modes. Otherwise use 64 bit hash.
        See Also:
        Constant Field Values
      • CHUNK_SIZE

        public static final String CHUNK_SIZE
        Indicates the number of records per chunk to be used for this output table.
        See Also:
        Constant Field Values
      • CHUNK_COLUMN_MAX_MEMORY

        public static final String CHUNK_COLUMN_MAX_MEMORY
        Indicates the target maximum data size for each column in a chunk to be used for this output table.
        See Also:
        Constant Field Values
      • CHUNK_MAX_MEMORY

        public static final String CHUNK_MAX_MEMORY
        Indicates the target maximum data size for all columns in a chunk to be used for this output table.
        See Also:
        Constant Field Values
      • CREATE_INDEXES

        public static final String CREATE_INDEXES
        Comma-separated list of columns on which to create indexes on the output table. The columns specified must be present in outputColumnNames.
        See Also:
        Constant Field Values
      • PERSIST

        public static final String PERSIST
        If TRUE, then the output table specified in tableName will be persisted and will not expire unless a TTL is specified. If FALSE, then the output table will be an in-memory table and will expire unless a TTL is specified otherwise. Supported values: The default value is FALSE.
        See Also:
        Constant Field Values
      • VIEW_ID

        public static final String VIEW_ID
        ID of view of which this output table is a member. The default value is ''.
        See Also:
        Constant Field Values
      • NO_COUNT

        public static final String NO_COUNT
        Return a count of 0 for the union table response to avoid the cost of counting; optimization needed for many chunk virtual_union's. The default value is 'false'.
        See Also:
        Constant Field Values