diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..6112565 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://json.schemastore.org/claude-code-settings.json", + "permissions": { + "allow": [ + "Bash(*)", + "Bash(gh:*)", + "Bash(pip:*)", + "Bash(mypy:*)", + "Bash(python:*)" + ], + "deny": [] + } +} \ No newline at end of file diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index e776358..fc0e9db 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -34,4 +34,4 @@ jobs: with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} timeout_minutes: "60" - allowed_tools: 'Bash(*),Bash(gh *),Bash(pip *),Bash(mypy *),Bash(python *),Bash(mypy servc --check-untyped-defs),Bash(pip install -r requirements-dev.txt)' + allowed_tools: 'Bash(*),Bash(gh:*),Bash(pip:*),Bash(mypy:*),Bash(python:*)' diff --git a/requirements.txt b/requirements.txt index 7ff1cef..c804cb8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,5 @@ simplejson==3.20.1 flask==3.1.1 pyyaml==6.0.2 pyiceberg[sql-sqlite,pyarrow]==0.8.1 -deltalake==0.25.5 +deltalake==1.1.3 azure-servicebus==7.14.2 diff --git a/servc/svc/com/storage/delta.py b/servc/svc/com/storage/delta.py index c2c4f40..6c6205d 100644 --- a/servc/svc/com/storage/delta.py +++ b/servc/svc/com/storage/delta.py @@ -137,7 +137,6 @@ def overwrite( storage_options=self._storageOptions, mode="overwrite", predicate=predicate, - engine="rust", ) return True @@ -181,7 +180,8 @@ def read( def getSchema(self) -> Schema | None: table = self.getConn() - return table.schema().to_pyarrow() + arrow_schema = table.schema().to_arrow() + return pa.schema(arrow_schema) # type: ignore[arg-type] def _close(self): if self._isOpen: