Beispiel #1
0
def compile(expr, params=None):
    """
    Force compilation of expression as though it were an expression depending
    on BigQuery. Note you can also call expr.compile()

    Returns
    -------
    compiled : string
    """
    from ibis.bigquery.compiler import to_sql
    return to_sql(expr, dialect.make_context(params=params))
Beispiel #2
0
def compile(expr, params=None):
    """Compile an expression for BigQuery.

    Returns
    -------
    compiled : str

    See Also
    --------
    ibis.expr.types.Expr.compile

    """
    from ibis.bigquery.compiler import to_sql

    return to_sql(expr, dialect.make_context(params=params))
Beispiel #3
0
def compile(expr, params=None):
    """Compile an expression for BigQuery.

    Returns
    -------
    compiled : str

    See Also
    --------
    ibis.expr.types.Expr.compile

    """
    from ibis.bigquery.compiler import to_sql

    return to_sql(expr, dialect.make_context(params=params))