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

Gets names of the tables whose type matches the given criteria. Each table has a particular type. This type comprises the schema and properties of the table and sometimes a type label. This function allows a look up of the existing tables based on full or partial type information. The operation is synchronous.

Parameters

type_id (str) –

Type id returned by a call to GPUdb.create_type().

label (str) –

Optional user supplied label which can be used instead of the type_id to retrieve all tables with the given label.

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

table_names (list of str) –

List of tables matching the input criteria.

info (dict of str to str) –

Additional information.