From ff53a8ed46debbd4d62d6054af9db97dff072ab6 Mon Sep 17 00:00:00 2001 From: dom phan Date: Tue, 14 Jan 2025 10:25:43 -0800 Subject: [PATCH] chore: make sure to re-raise if not a stale file handle --- weave_query/weave_query/ops_domain/table.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weave_query/weave_query/ops_domain/table.py b/weave_query/weave_query/ops_domain/table.py index 49496dadaecd..e6f4ed4e7ecc 100644 --- a/weave_query/weave_query/ops_domain/table.py +++ b/weave_query/weave_query/ops_domain/table.py @@ -863,6 +863,8 @@ def file_table(file: artifact_fs.FilesystemArtifactFile) -> typing.Optional[Tabl import errno if e.errno == errno.ESTALE: return None + else: + raise e @op(name="file-partitionedTable")