ibis.backends.base.sql.BaseSQLConnection.execute

BaseSQLConnection.execute(expr: ibis.expr.types.Expr, params: Optional[Dict[str, Any]] = None, limit: Optional[Union[int, str]] = 'default', **kwargs)

Compile and execute the given Ibis expression.

Compile and execute Ibis expression using this backend client interface, returning results in-memory in the appropriate object type

Parameters
  • expr (Expr) –

  • limit (int, default None) – For expressions yielding result yets; retrieve at most this number of values/rows. Overrides any limit already set on the expression.

  • params (not yet implemented) –

  • kwargs (Backends can receive extra params. For example, clickhouse) – uses this to receive external_tables as dataframes.

Returns

output – Table expressions: pandas.DataFrame Array expressions: pandas.Series Scalar expressions: Python scalar value

Return type

input type dependent