def get_columns(self, with_aliases=False):
        """
        Remove table names and strip quotes from column names.
        """
        soql_trans = self.query_topology()
        cols, col_params = compiler.SQLCompiler.get_columns(self, with_aliases)
        out = []
        for col in cols:
            if soql_trans and re.match(r'^\w+\.\w+$', col):
                tab_name, col_name = col.split('.')
                out.append('%s.%s' % (soql_trans[tab_name], col_name))
            else:
                out.append(col)
        cols = out
        result = [x.replace(' AS ', ' ') for x in cols]
        return (result, col_params)
dataset/ETHPy150Open django-salesforce/django-salesforce/salesforce/backend/compiler.py/SQLCompiler.get_columns/original