def get_sample_data(self, database, table, column=None, limit=100):
    column = '`%s`' % column if column else '*'
    statement = 'SELECT %s FROM `%s` LIMIT %d' % (column, table, limit)
    return self.execute_statement(statement)
dataset/ETHPy150Open cloudera/hue/desktop/libs/librdbms/src/librdbms/server/sqlite_lib.py/SQLiteClient.get_sample_data/original