Skip to content

Commit 2ba3bdd

Browse files
Update SDK to dbf9b0a4e0432e846520442b14c34fc7f0ca0d8c
1 parent 65c026b commit 2ba3bdd

File tree

4 files changed

+7
-39
lines changed

4 files changed

+7
-39
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
44cbc832f1b070c47544ff470fd8498853d24cf3
1+
dbf9b0a4e0432e846520442b14c34fc7f0ca0d8c

NEXT_CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@
3838
* Add `command` and `envVars` fields for `com.databricks.sdk.service.apps.AppDeployment`.
3939
* Add `fullName` and `securableType` fields for `com.databricks.sdk.service.catalog.AccessRequestDestinations`.
4040
* [Breaking] Change `deleteKafkaConfig()` method for `workspaceClient.featureEngineering()` service . Method path has changed.
41-
* [Breaking] Change long-running operation configuration for `workspaceClient.postgres().deleteRole()` method . Long running operation response type changed to `Void class`.
41+
* [Breaking] Change long-running operation configuration for `workspaceClient.postgres().deleteRole()` method . Long running operation response type changed to `Void class`.
42+
* Add `TABLE_DELTASHARING_OPEN_DIR_BASED` enum value for `com.databricks.sdk.service.catalog.SecurableKind`.
43+
* [Breaking] Remove `accessModes` and `storageLocation` fields for `com.databricks.sdk.service.sharing.Table`.

databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
import com.databricks.sdk.support.Generated;
66

7-
/** Latest kind: CONNECTION_ONELAKE = 289; Next id:290 */
7+
/** Latest kind: TABLE_DELTASHARING_OPEN_DIR_BASED = 290; Next id:291 */
88
@Generated
99
public enum SecurableKind {
1010
TABLE_DB_STORAGE,
1111
TABLE_DELTA,
1212
TABLE_DELTASHARING,
1313
TABLE_DELTASHARING_MUTABLE,
14+
TABLE_DELTASHARING_OPEN_DIR_BASED,
1415
TABLE_DELTA_EXTERNAL,
1516
TABLE_DELTA_ICEBERG_DELTASHARING,
1617
TABLE_DELTA_ICEBERG_MANAGED,

databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Table.java

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@
1010

1111
@Generated
1212
public class Table {
13-
/**
14-
* The access modes supported for this table (e.g., "url", "dir"). Used for open sharing to
15-
* indicate how the table can be accessed.
16-
*/
17-
@JsonProperty("access_modes")
18-
private Collection<String> accessModes;
19-
2013
/** The comment of the table. */
2114
@JsonProperty("comment")
2215
private String comment;
@@ -53,23 +46,10 @@ public class Table {
5346
@JsonProperty("share_id")
5447
private String shareId;
5548

56-
/** The cloud storage location of the table for open sharing. */
57-
@JsonProperty("storage_location")
58-
private String storageLocation;
59-
6049
/** The Tags of the table. */
6150
@JsonProperty("tags")
6251
private Collection<com.databricks.sdk.service.catalog.TagKeyValue> tags;
6352

64-
public Table setAccessModes(Collection<String> accessModes) {
65-
this.accessModes = accessModes;
66-
return this;
67-
}
68-
69-
public Collection<String> getAccessModes() {
70-
return accessModes;
71-
}
72-
7353
public Table setComment(String comment) {
7454
this.comment = comment;
7555
return this;
@@ -151,15 +131,6 @@ public String getShareId() {
151131
return shareId;
152132
}
153133

154-
public Table setStorageLocation(String storageLocation) {
155-
this.storageLocation = storageLocation;
156-
return this;
157-
}
158-
159-
public String getStorageLocation() {
160-
return storageLocation;
161-
}
162-
163134
public Table setTags(Collection<com.databricks.sdk.service.catalog.TagKeyValue> tags) {
164135
this.tags = tags;
165136
return this;
@@ -174,8 +145,7 @@ public boolean equals(Object o) {
174145
if (this == o) return true;
175146
if (o == null || getClass() != o.getClass()) return false;
176147
Table that = (Table) o;
177-
return Objects.equals(accessModes, that.accessModes)
178-
&& Objects.equals(comment, that.comment)
148+
return Objects.equals(comment, that.comment)
179149
&& Objects.equals(id, that.id)
180150
&& Objects.equals(internalAttributes, that.internalAttributes)
181151
&& Objects.equals(materializationNamespace, that.materializationNamespace)
@@ -184,14 +154,12 @@ public boolean equals(Object o) {
184154
&& Objects.equals(schema, that.schema)
185155
&& Objects.equals(share, that.share)
186156
&& Objects.equals(shareId, that.shareId)
187-
&& Objects.equals(storageLocation, that.storageLocation)
188157
&& Objects.equals(tags, that.tags);
189158
}
190159

191160
@Override
192161
public int hashCode() {
193162
return Objects.hash(
194-
accessModes,
195163
comment,
196164
id,
197165
internalAttributes,
@@ -201,14 +169,12 @@ public int hashCode() {
201169
schema,
202170
share,
203171
shareId,
204-
storageLocation,
205172
tags);
206173
}
207174

208175
@Override
209176
public String toString() {
210177
return new ToStringer(Table.class)
211-
.add("accessModes", accessModes)
212178
.add("comment", comment)
213179
.add("id", id)
214180
.add("internalAttributes", internalAttributes)
@@ -218,7 +184,6 @@ public String toString() {
218184
.add("schema", schema)
219185
.add("share", share)
220186
.add("shareId", shareId)
221-
.add("storageLocation", storageLocation)
222187
.add("tags", tags)
223188
.toString();
224189
}

0 commit comments

Comments
 (0)