src/ab/plugins/db/hive.py [254:261]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if condition:
            where = ' where {condition}'.format(condition=condition)
        else:
            where = ''

        fields = ', '.join(column_names)
        sql = 'select {fields} from {table_name}{where} limit {self.max_count}'.format(
            fields=fields, table_name=table_name, where=where, self=self)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/ab/plugins/db/odps_helper.py [476:483]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if condition:
            where = ' where {condition}'.format(condition=condition)
        else:
            where = ''

        fields = ', '.join(column_names)
        sql = 'select {fields} from {table_name}{where} limit {self.max_count}'.format(
            fields=fields, table_name=table_name, where=where, self=self)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



