Exemplo n.º 1
0
    def execute(self, query, params=None, limit='default', **kwargs):
        from ibis.pandas.core import execute_and_reset

        if limit != 'default':
            raise ValueError(
                'limit parameter to execute is not yet implemented in the '
                'pandas backend')

        assert isinstance(query, ir.Expr)
        return execute_and_reset(query, params=params, **kwargs)
Exemplo n.º 2
0
    def execute(self, query, params=None, limit='default', **kwargs):
        if limit != 'default':
            raise ValueError(
                'limit parameter to execute is not yet implemented in the '
                'pandas backend')

        if not isinstance(query, ir.Expr):
            raise TypeError(
                "`query` has type {!r}, expected ibis.expr.types.Expr".format(
                    type(query).__name__))
        return execute_and_reset(query, params=params, **kwargs)
Exemplo n.º 3
0
    def execute(self, query, params=None, limit='default', **kwargs):
        from ibis.pandas.core import execute_and_reset

        if limit != 'default':
            raise ValueError(
                'limit parameter to execute is not yet implemented in the '
                'pandas backend'
            )

        assert isinstance(query, ir.Expr)
        return execute_and_reset(query, params=params, **kwargs)
Exemplo n.º 4
0
 def execute(self, expr, params=None, **kwargs):  # noqa
     assert isinstance(expr, ir.Expr)
     scope = kwargs.pop('scope', {})
     return execute_and_reset(expr, params=params, scope=scope, **kwargs)
Exemplo n.º 5
0
 def execute(self, expr, params=None, **kwargs):  # noqa
     assert isinstance(expr, ir.Expr)
     return execute_and_reset(expr, params=params, **kwargs)
Exemplo n.º 6
0
 def execute(self, expr, params=None, **kwargs):  # noqa
     assert isinstance(expr, ir.Expr)
     scope = kwargs.pop('scope', {})
     return execute_and_reset(expr, params=params, scope=scope, **kwargs)