Skip to content

feat(rest)!: require virtual column outputs#346

Merged
BubbleCal merged 2 commits into
mainfrom
yang/virtual-column-outputs
Jun 1, 2026
Merged

feat(rest)!: require virtual column outputs#346
BubbleCal merged 2 commits into
mainfrom
yang/virtual-column-outputs

Conversation

@BubbleCal
Copy link
Copy Markdown
Contributor

Summary

  • Replace legacy top-level AddVirtualColumnEntry.data_type with required AddVirtualColumnEntry.outputs in the canonical OpenAPI spec.
  • Add AddVirtualColumnOutputEntry for physical output column, UDF struct field, JSON data type, nullability, and optional metadata.
  • Regenerate Java, Python, and Rust clients/docs so generated APIs match the new contract.

Breaking Change

REST add-virtual-column payloads now require virtual_column.outputs; the old top-level virtual_column.data_type field is removed from the public contract and generated models.

Validation

  • make lint
  • make gen
  • uv run pytest in python/lance_namespace_urllib3_client (243 passed)
  • cargo +1.88.0 test --all-features in rust/lance-namespace-reqwest-client
  • ./mvnw install -pl lance-namespace-apache-client,lance-namespace-async-client,lance-namespace-springboot-server -am -DskipTests in java
  • git diff --check

BREAKING CHANGE: remove AddVirtualColumnEntry.data_type and require outputs.
@github-actions github-actions Bot added enhancement New feature or request breaking-change Features that introduces a breaking API change python Python features java Java features rust Rust features labels Jun 1, 2026
@BubbleCal BubbleCal requested a review from jackye1995 June 1, 2026 03:43
@BubbleCal BubbleCal marked this pull request as ready for review June 1, 2026 04:05
@BubbleCal BubbleCal requested a review from rpgreen June 1, 2026 04:05
Copy link
Copy Markdown
Collaborator

@jackye1995 jackye1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure when you release it you bump the minor version

@BubbleCal BubbleCal merged commit 10ec620 into main Jun 1, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Features that introduces a breaking API change 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.

2 participants