sdk/python/feast/infra/online_stores/astra.py
def _create_select_cql(key_space: str, table_name: str,
                       column_to_select: List,
                       conditions_eq: dict) -> str:
    """
    This function will create a general level Select query for Cassendera
    """
    select_cql = "SELECT "
    if column_to_select:
        select_cql += ", ".join(column_to_select)
    else:
        select_cql += "* "
    select_cql += " FROM " + key_space + "." + table_name
    select_cql += " WHERE "
    for key in conditions_eq:
        select_cql += (key + " = ?" + " AND ")
    select_cql = select_cql[:-4]
    select_cql += " ALLOW FILTERING;"

    return select_cql

    This function will create a general level Select query for Cassendera
    
This function will create a general level Select query for Cassendera
This function will create a general level Select query for Cassendera
def _create_select_cql(key_space: str, table_name: str,
                       column_to_select: List,
                       conditions_eq: dict) -> str:
    select_cql = "SELECT "
    if column_to_select:
        select_cql += ", ".join(column_to_select)
    else:
        select_cql += "* "
    select_cql += " FROM " + key_space + "." + table_name
    select_cql += " WHERE "
    for key in conditions_eq:
        select_cql += (key + " = ?" + " AND ")
    select_cql = select_cql[:-4]
    select_cql += " ALLOW FILTERING;"
    return select_cql
def _create_select_cql ( key_space : str , table_name : str , column_to_select : List , conditions_eq : dict ) -> str : select_cql = "SELECT " if column_to_select : select_cql += ", " . join ( column_to_select ) else : select_cql += "* " select_cql += " FROM " + key_space + "." + table_name select_cql += " WHERE " for key in conditions_eq : select_cql += ( key + " = ?" + " AND " ) select_cql = select_cql [ : - 4 ] select_cql += " ALLOW FILTERING;" return select_cql
This function will create a general level Select query for Cassendera
This function will create a general level Select query for Cassendera
"""
    This function will create a general level Select query for Cassendera
    """
key_space
str
table_name
str
column_to_select
List
conditions_eq
dict