def get_columns(self, connection, table_name, schema=None, **kw):
        """
        Return information about columns in `table_name`.

        Overrides interface
        :meth:`~sqlalchemy.engine.interfaces.Dialect.get_columns`.
        """
        cols = self._get_redshift_columns(connection, table_name, schema, **kw)
        if not self._domains:
            self._domains = self._load_domains(connection)
        domains = self._domains
        columns = []
        for col in cols:
            column_info = self._get_column_info(
                name=col.name, format_type=col.format_type,
                default=col.default, notnull=col.notnull, domains=domains,
                enums=[], schema=col.schema, encode=col.encode)
            columns.append(column_info)
        return columns
def get_columns ( self , connection , table_name , schema = None , ** kw ) : cols = self . _get_redshift_columns ( connection , table_name , schema , ** kw ) if not self . _domains : self . _domains = self . _load_domains ( connection ) domains = self . _domains columns = [ ] for col in cols : column_info = self . _get_column_info ( name = col . name , format_type = col . format_type , default = col . default , notnull = col . notnull , domains = domains , enums = [ ] , schema = col . schema , encode = col . encode ) columns . append ( column_info ) return columns
Return information about columns in `table_name`.

        Overrides interface
        :meth:`~sqlalchemy.engine.interfaces.Dialect.get_columns`.