Handle recent versions of Ibis
@@ -34,8 +34,11 @@ class IbisInterface(Interface):
@classmethod
def is_rowid_zero_indexed(cls, data):
+ try:
from ibis.client import find_backends, validate_backends
(backend,) = validate_backends(list(find_backends(data)))
+ except Exception:
+ backend = data._find_backend()
return type(backend).__module__ in cls.zero_indexed_backend_modules
@classmethod
