# Path: arbalest/core.py
# class SchemaException(Exception):
#     pass


from arbalest.core import SchemaException
    @staticmethod
    def __validate_supported_type(column_type):
        types = ['SMALLINT',
                 'INT2',
                 'INTEGER',
                 'INT',
                 'INT4',
                 'BIGINT',
                 'INT8',
                 'DECIMAL',
                 'NUMERIC',
                 'REAL',
                 'FLOAT4',
                 'DOUBLE PRECISION',
                 'FLOAT8',
                 'FLOAT',
                 'BOOLEAN',
                 'BOOL',
                 'CHAR',
                 'CHARACTER',
                 'NCHAR',
                 'BPCHAR',
                 'VARCHAR',
                 'CHARACTER VARYING',
                 'NVARCHAR',
                 'TEXT',
                 'DATE',
                 'TIMESTAMP']
        if True not in [type_name in str(column_type).upper() for type_name in
                        types]:

# Path: arbalest/core.py
# class SchemaException(Exception):
#     pass


# Path: arbalest/redshift/schema.py
from arbalest.core import SchemaException

    @staticmethod
    def __validate_supported_type(column_type):
        types = ['SMALLINT',
                 'INT2',
                 'INTEGER',
                 'INT',
                 'INT4',
                 'BIGINT',
                 'INT8',
                 'DECIMAL',
                 'NUMERIC',
                 'REAL',
                 'FLOAT4',
                 'DOUBLE PRECISION',
                 'FLOAT8',
                 'FLOAT',
                 'BOOLEAN',
                 'BOOL',
                 'CHAR',
                 'CHARACTER',
                 'NCHAR',
                 'BPCHAR',
                 'VARCHAR',
                 'CHARACTER VARYING',
                 'NVARCHAR',
                 'TEXT',
                 'DATE',
                 'TIMESTAMP']
        if True not in [type_name in str(column_type).upper() for type_name in
                        types]:

            raise SchemaException(