def get_schema(self, table_name, database=None):
        """
        Return a Schema object for the indicated table and database

        Parameters
        ----------
        table_name : string
          May be fully qualified
        database : string, default None

        Returns
        -------
        schema : ibis Schema
        """
        qualified_name = self._fully_qualified_name(table_name, database)
        query = 'DESC {0}'.format(qualified_name)
        data, _, _ = self.raw_sql(query, results=True)

        colnames, coltypes = data[:2]
        coltypes = list(map(ClickhouseDataType.parse, coltypes))

        return sch.schema(colnames, coltypes)
def get_schema ( self , table_name , database = None ) : qualified_name = self . _fully_qualified_name ( table_name , database ) query = 'DESC {0}' . format ( qualified_name ) data , _ , _ = self . raw_sql ( query , results = True ) colnames , coltypes = data [ : 2 ] coltypes = list ( map ( ClickhouseDataType . parse , coltypes ) ) return sch . schema ( colnames , coltypes )
Return a Schema object for the indicated table and database

        Parameters
        ----------
        table_name : string
          May be fully qualified
        database : string, default None

        Returns
        -------
        schema : ibis Schema