Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions protos/configs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -57,24 +57,6 @@ message WorkflowSettings {
bool disable_assertions = 13;
}

message DefaultIcebergConfig {
// Optional. Bucket name used to construct a storage URI when creating an
// Iceberg table.
string bucket_name = 1;

// Optional. Table folder root used to construct a storage URI when creating
// an Iceberg table.
string table_folder_root = 2;

// Optional. Table folder subpath used to construct a storage URI when
// creating an Iceberg table.
string table_folder_subpath = 3;

// Optional. The connection specifying the credentials to be used to read and
// write to external storage, such as Cloud Storage.
string connection = 4;
}

// Action configs defines the contents of `actions.yaml` configuration files.
message ActionConfigs {
repeated ActionConfig actions = 1;
Expand Down
19 changes: 18 additions & 1 deletion protos/core.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ syntax = "proto3";

package dataform;

import "protos/configs.proto";
import "google/protobuf/struct.proto";

option java_package = "com.dataform.protos";
Expand Down Expand Up @@ -36,6 +35,24 @@ message ProjectConfig {
reserved 3, 4, 6, 8, 10, 12, 13;
}

message DefaultIcebergConfig {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What you're doing is correct (we shouldn't have done this in the first place), but technically it's a breaking change

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@kolina should we leave it as is, or can we introduce this change (I can work around this if we prefer to have it as is).

Copy link
Copy Markdown
Contributor

@kolina kolina Mar 10, 2026

Choose a reason for hiding this comment

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

Will this change be wire-compatible? i.e. can the new client read the old compilation result protobuf and the old client read the new compilation result?

I would be ok to do this change, but we need to make sure that it won't break runtime interaction

// Optional. Bucket name used to construct a storage URI when creating an
// Iceberg table.
string bucket_name = 1;

// Optional. Table folder root used to construct a storage URI when creating
// an Iceberg table.
string table_folder_root = 2;

// Optional. Table folder subpath used to construct a storage URI when
// creating an Iceberg table.
string table_folder_subpath = 3;

// Optional. The connection specifying the credentials to be used to read and
// write to external storage, such as Cloud Storage.
string connection = 4;
}

message CompileConfig {
// Required.
string project_dir = 1;
Expand Down
Loading