create_catalog
- create_catalog(
name: string,
table_format: string,
location: string,
type: string,
credential: string,
datasource: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<CreateCatalogResponse>Parameters
- name: string
Name of the catalog to be created.
- table_format: string
Table format (iceberg, hudi, deltalake).
- location: string
Location of the catalog in ‘http[s]://[server[:port]]]’ format.
- type: string
Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue).
- credential: string
Name of the credential object to be used in catalog.
- datasource: string
Password for the remote system user; may be an empty string.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateCatalogResponse>
Promise<Types.CreateCatalogResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:5482
- name: string
create_catalog_request
- create_catalog_request(
request: CreateCatalogRequest,
callback?: GPUdbCallback,
): Promise<CreateCatalogResponse>Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.
Parameters
- request: CreateCatalogRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateCatalogResponse>
Promise<Types.CreateCatalogResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:5448
- request: CreateCatalogRequest
Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.