Skip to content

Conversation

@pietern
Copy link
Contributor

@pietern pietern commented Nov 5, 2025

Changes

Instead of marking output-only fields with doNotSuggest (see #3599), completely exclude them from the schema.

This is done by:

  • Marking fields as OUTPUT_ONLY in FieldBehaviors during annotation
  • Adding removeOutputOnlyFields transformation to remove these fields
  • Also removing them from required lists

This removes 77 output-only properties from the schema.

Why

Output-only field must not show up in the generated code for Python support.

Tests

A few fields were removed from the Python code.

Instead of marking output-only fields with doNotSuggest, completely
exclude them from the schema. This is done by:
- Marking fields as OUTPUT_ONLY in FieldBehaviors during annotation
- Adding removeOutputOnlyFields transformation to remove these fields
- Also removing them from required lists

This removes 77 output-only properties from the schema.
@pietern pietern enabled auto-merge November 5, 2025 11:01
@eng-dev-ecosystem-bot
Copy link
Collaborator

eng-dev-ecosystem-bot commented Nov 5, 2025

Run: 19099514218

Env 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip
💚​ aws linux 1 1 326 591
💚​ aws windows 1 1 327 590
💚​ aws-ucws linux 1 1 449 486
💚​ aws-ucws windows 1 1 450 485
💚​ azure linux 1 1 326 590
💚​ azure windows 1 1 327 589
💚​ azure-ucws linux 1 1 445 485
💚​ azure-ucws windows 1 1 446 484
🔄​ gcp linux 3 1 323 592
💚​ gcp windows 1 1 326 591
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 🔄​f 💚​R
TestAccept/bundle/run/app-with-job 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
TestAccept/bundle/templates/default-python/combinations/classic ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=yes/NBOOK=no/PY=yes ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p 🔄​f ✅​p

@pietern pietern added this pull request to the merge queue Nov 5, 2025
Merged via the queue into main with commit a7e9ebd Nov 5, 2025
19 checks passed
@pietern pietern deleted the schema-remove-output-only branch November 5, 2025 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants