def get_sql_from_qbol_cmd(params):
    """
    Get Qubole sql from Qubole command
    """
    sql = ''
    if 'query' in params:
        sql = params['query']
    elif 'sql' in params:
        sql = params['sql']
    return sql