Skip to content

feat(rest): extend virtual column entries with UDF metadata and add identity to requests#337

Merged
jackye1995 merged 1 commit into
lance-format:mainfrom
jackye1995:jack/extend-virtual-column
May 5, 2026
Merged

feat(rest): extend virtual column entries with UDF metadata and add identity to requests#337
jackye1995 merged 1 commit into
lance-format:mainfrom
jackye1995:jack/extend-virtual-column

Conversation

@jackye1995
Copy link
Copy Markdown
Collaborator

Summary

  • Add optional UDF metadata fields to AddVirtualColumnEntry and AlterVirtualColumnEntry: udf_backend, auto_backfill, manifest, manifest_checksum, field_metadata
  • Add identity field to AlterTableAddColumnsRequest, AlterTableAlterColumnsRequest, AlterTableBackfillColumnsRequest, RefreshMaterializedViewRequest
  • Regenerate all clients (Rust, Python, Java)

Test plan

  • YAML validates
  • All clients build

Add optional fields to AddVirtualColumnEntry and AlterVirtualColumnEntry:
- udf_backend: UDF backend type (e.g. DockerUDFSpecV1)
- auto_backfill: whether to auto-backfill after column creation
- manifest: JSON-serialized UDF environment manifest
- manifest_checksum: SHA-256 of manifest content
- field_metadata: user-supplied string key-value metadata

Add identity field to all 4 new request schemas:
- AlterTableAddColumnsRequest
- AlterTableAlterColumnsRequest
- AlterTableBackfillColumnsRequest
- RefreshMaterializedViewRequest

Regenerate all clients.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added enhancement New feature or request python Python features java Java features rust Rust features labels May 5, 2026
@jackye1995 jackye1995 merged commit b1efd82 into lance-format:main May 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request java Java features python Python features rust Rust features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant