Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .codegen/_last_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d0f10d671a637cab2b494fe81cd50955cc608866
e13a7b6206adbdb6c4008e2a58b7cc785e32cb1c
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Version changelog

## Release v0.180.0 (2026-11-12)

### API Changes
* Add `workspaceClient.assumeGroup()` service.
* Add `effectiveResources` field for `com.databricks.sdk.service.apps.App`.
* Change `outputRef` field for `com.databricks.sdk.service.aifunctions.Batch` to be required.
* [Breaking] Change `outputRef` field for `com.databricks.sdk.service.aifunctions.Batch` to be required.
* [Breaking] Remove `continuous` field for `com.databricks.sdk.service.lakewatch.RuleSchedule`.
* [Breaking] Remove `EXPIRED` enum value for `com.databricks.sdk.service.aifunctions.BatchStatus`.

## Release v0.179.0 (2026-11-11)

### API Changes
Expand Down
2 changes: 1 addition & 1 deletion databricks-sdk-java/lockfile.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"artifactId": "databricks-sdk-java",
"groupId": "com.databricks",
"version": "0.179.0",
"version": "0.180.0",
"lockFileVersion": 1,
"dependencies": [
{
Expand Down
2 changes: 1 addition & 1 deletion databricks-sdk-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.databricks</groupId>
<artifactId>databricks-sdk-parent</artifactId>
<version>0.179.0</version>
<version>0.180.0</version>
</parent>
<artifactId>databricks-sdk-java</artifactId>
<name>Databricks SDK for Java</name>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public String getValue() {
// TODO: check if reading from
// /META-INF/maven/com.databricks/databrics-sdk-java/pom.properties
// or getClass().getPackage().getImplementationVersion() is enough.
private static final String version = "0.179.0";
private static final String version = "0.180.0";

public static void withProduct(String product, String productVersion) {
UserAgent.product = product;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -10,49 +10,65 @@
import java.util.Map;
import java.util.Objects;

/** An asynchronous run of one AI function over a file of requests. */
/**
* The AI Functions Asynchronous API lets you process large volumes of requests as a batch in a
* single call.
*/
@Generated
public class Batch {
/** Output only. Time the batch was created. */
/** Output only. The time when the batch was created. */
@JsonProperty("create_time")
private Timestamp createTime;

/** The AI function to run for every request, for example `ai_extract`. */
/** The AI function, for example `ai_parse_document`. */
@JsonProperty("endpoint")
private String endpoint;

/** Path of the JSONL input file on a Unity Catalog volume. Each line is one request. */
/**
* Unity Catalog volume path of the JSONL input file. Each line is one request, in the form
* `{"custom_id": ..., "body": ...}`. The file can hold up to 50,000 requests and be up to 200
* MiB.
*/
@JsonProperty("input_ref")
private String inputRef;

/** ID of the batch, in the form `batch_<id>`. The service assigns it. */
/**
* Output only. Identifier. Resource name of the batch, returned by create. Format: `batch_<id>`.
*/
@JsonProperty("name")
private String name;

/**
* Path on a Unity Catalog volume to write the JSONL output to. When it is omitted, the output
* stays on Databricks-managed storage and a finished batch returns a short-lived download URL in
* this field instead.
* Unity Catalog volume path to write the JSONL output file to. If the path is a directory, the
* file is `<path>/<name>_output.jsonl`.
*/
@JsonProperty("output_ref")
private String outputRef;

/** Function options applied to every request in the batch, for example the extraction schema. */
/**
* Parameters of the function other than its input, applied to every request in the batch, for
* example `schema` for `ai_extract`. Put function options, such as `version`, in a nested
* `options` object. For the parameters of each function, see [AI
* Functions](/large-language-models/ai-functions).
*/
@JsonProperty("params")
private Map<String, JsonNode> params;

/**
* Output only. Percentage of the requests that finished, from 0 to 100. Returned when one batch
* is read, not when batches are listed.
* Output only. The percentage of requests that are processed, from 0 to 100. Returned when you
* get a batch, not when you list batches.
*/
@JsonProperty("percent_complete")
private Double percentComplete;

/** Output only. Request counts. Returned when one batch is read, not when batches are listed. */
/**
* Output only. The number of requests in the batch, by result. Returned when you get a batch, not
* when you list batches.
*/
@JsonProperty("request_counts")
private BatchRequestCounts requestCounts;

/** Output only. Status of the batch. */
/** Output only. The status of the batch. */
@JsonProperty("status")
private BatchStatus status;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
/** Counts of the requests in a batch. */
@Generated
public class BatchRequestCounts {
/** Output only. Number of requests that failed and will not be retried. */
/** Output only. The number of requests that failed. The service does not retry them. */
@JsonProperty("failed")
private Long failed;

/** Output only. Number of requests that finished successfully. */
/** Output only. The number of requests that were processed successfully. */
@JsonProperty("succeeded")
private Long succeeded;

/** Output only. Number of requests in the input file. */
/** Output only. The number of requests in the batch. */
@JsonProperty("total")
private Long total;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public enum BatchStatus {
CANCELLED,
CANCELLING,
COMPLETED,
EXPIRED,
FAILED,
FINALIZING,
IN_PROGRESS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@Generated
public class CancelBatchRequest {
/** ID of the batch, in the form `batch_<id>`. */
/** Resource name of the batch. Format: `batch_<id>`. */
@JsonIgnore private String name;

public CancelBatchRequest setName(String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@Generated
public class GetBatchRequest {
/** ID of the batch, in the form `batch_<id>`. */
/** Resource name of the batch. Format: `batch_<id>`. */
@JsonIgnore private String name;

public GetBatchRequest setName(String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ListBatchesRequest {
@QueryParam("page_size")
private Long pageSize;

/** Page token from an earlier response. Omit it to read the first page. */
/** A page token from a previous call to list batches. Omit it to get the first page. */
@JsonIgnore
@QueryParam("page_token")
private String pageToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ListBatchesResponse {
@JsonProperty("batches")
private Collection<Batch> batches;

/** Token that reads the next page. It is empty on the last page. */
/** A token to get the next page. It is empty on the last page. */
@JsonProperty("next_page_token")
private String nextPageToken;

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading