Skip to main content
show_types(type_id=None, label=None, options=)[source]

Retrieves information for the specified data type ID or type label. For all data types that match the input criteria, the database returns the type ID, the type schema, the label (if available), and the type’s column properties.

Parameters

type_id (str) –

Type Id returned in response to a call to GPUdb.create_type().

label (str) –

Option string that was supplied by user in a call to GPUdb.create_type().

options (dict of str to str) –

Optional parameters. Allowed keys are:

  • no_join_types – When set to ‘true’, no join types will be included. Allowed values are:

    • true

    • false

    The default value is ‘false’.

The default value is an empty dict ( ).

Returns

A dict with the following entries–

type_ids (list of str) –

The type IDs of the matching types.

type_schemas (list of str) –

The Avro schema strings describing each matching type.

labels (list of str) –

The user-defined labels of each matching type.

properties (list of dicts of str to lists of str) –

The column properties of each matching type.

info (dict of str to str) –

Additional information.