◆ createUnion() [1/4]
| CreateUnionResponse gpudb::GPUdb::createUnion | ( | const CreateUnionRequest & | request_ | ) | const |
Merges data from one or more tables with comparable data types into a new table.
The following merges are supported:
UNION (DISTINCT/ALL) - For data set union details and examples, see Union. For limitations, see Union Limitations and Cautions.
INTERSECT (DISTINCT/ALL) - For data set intersection details and examples, see Intersect. For limitations, see Intersect Limitations.
EXCEPT (DISTINCT/ALL) - For data set subtraction details and examples, see Except. For limitations, see Except Limitations.
| [in] | request_ | Request object containing the parameters for the operation. |
◆ createUnion() [2/4]
| CreateUnionResponse & gpudb::GPUdb::createUnion | ( | const CreateUnionRequest & | request_, |
| CreateUnionResponse & | response_ ) const |
Merges data from one or more tables with comparable data types into a new table.
The following merges are supported:
UNION (DISTINCT/ALL) - For data set union details and examples, see Union. For limitations, see Union Limitations and Cautions.
INTERSECT (DISTINCT/ALL) - For data set intersection details and examples, see Intersect. For limitations, see Intersect Limitations.
EXCEPT (DISTINCT/ALL) - For data set subtraction details and examples, see Except. For limitations, see Except Limitations.
◆ createUnion() [3/4]
| CreateUnionResponse gpudb::GPUdb::createUnion | ( | const std::string & | tableName, |
| const std::vector< std::string > & | tableNames, | ||
| const std::vector< std::vector< std::string > > & | inputColumnNames, | ||
| const std::vector< std::string > & | outputColumnNames, | ||
| const std::map< std::string, std::string > & | options ) const |
Merges data from one or more tables with comparable data types into a new table.
The following merges are supported:
UNION (DISTINCT/ALL) - For data set union details and examples, see Union. For limitations, see Union Limitations and Cautions.
INTERSECT (DISTINCT/ALL) - For data set intersection details and examples, see Intersect. For limitations, see Intersect Limitations.
EXCEPT (DISTINCT/ALL) - For data set subtraction details and examples, see Except. For limitations, see Except Limitations.
| [in] | tableName | Name of the table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. |
| [in] | tableNames | The list of table names to merge, in [schema_name.]table_name format, using standard name resolution rules. Must contain the names of one or more existing tables. |
| [in] | inputColumnNames | The list of columns from each of the corresponding input tables. |
| [in] | outputColumnNames | The list of names of the columns to be stored in the output table. |
| [in] | options | Optional parameters.
|
◆ createUnion() [4/4]
| CreateUnionResponse & gpudb::GPUdb::createUnion | ( | const std::string & | tableName, |
| const std::vector< std::string > & | tableNames, | ||
| const std::vector< std::vector< std::string > > & | inputColumnNames, | ||
| const std::vector< std::string > & | outputColumnNames, | ||
| const std::map< std::string, std::string > & | options, | ||
| CreateUnionResponse & | response_ ) const |
Merges data from one or more tables with comparable data types into a new table.
The following merges are supported:
UNION (DISTINCT/ALL) - For data set union details and examples, see Union. For limitations, see Union Limitations and Cautions.
INTERSECT (DISTINCT/ALL) - For data set intersection details and examples, see Intersect. For limitations, see Intersect Limitations.
EXCEPT (DISTINCT/ALL) - For data set subtraction details and examples, see Except. For limitations, see Except Limitations.
| [in] | tableName | Name of the table to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. |
| [in] | tableNames | The list of table names to merge, in [schema_name.]table_name format, using standard name resolution rules. Must contain the names of one or more existing tables. |
| [in] | inputColumnNames | The list of columns from each of the corresponding input tables. |
| [in] | outputColumnNames | The list of names of the columns to be stored in the output table. |
| [in] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |