Databricks SDK Java v0.117.0: Enhanced AI agent detection and pagination
Databricks SDK Java version 0.117.0 enhances AI agent detection by recognizing the AI_AGENT environment variable, improving user agent reporting for recognized AI tools. It also introduces explicit factory methods for pagination strategies, deprecating the direct constructor. Bug fixes address issues with paginators silently dropping results on empty pages. These updates benefit developers using the SDK for interacting with Databricks AI features and data listing operations.
Features (2) ›
Detect the AI_AGENT environment variable (Vercel @vercel/detect-agent convention) as a secondary fallback for the AI agent reported in the user agent, consulted only when the agents.md AGENT variable is unset or empty. An unrecognized AGENT or AI_AGENT value is now passed through as-is (sanitized to the user agent allowlist and capped at 64 characters) instead of being reported as unknown. Mirrors databricks/databricks-sdk-go#1683
Added Paginator.newTokenPagination(...) and Paginator.newOffsetPagination(...) factory methods in com.databricks.sdk.support, which make the pagination strategy explicit. The Paginator constructor is now deprecated in favor of these; it keeps its previous (offset/limit) behavior
Fixes (1) ›
Fixed Paginator silently dropping results when a token-paginated response returned an empty page with a non-empty next_page_token. List methods (e.g. tables().list()) now keep paging until the page token is absent instead of stopping at the first empty page
https://github.com/databricks/databricks-sdk-java/releases/tag/v0.117.0
Related releases
- Databricks `ai_transcribe()` SQL Function for Audio Transcription (Beta) Databricks Release Notes ·
- Databricks Lakebase Snapshots API (Beta) for Programmatic Management Databricks Release Notes ·
- Databricks Introduces Session Restore for Serverless Jobs in Public Preview Databricks Release Notes ·
- Announcing On-Demand State Repartitioning for Apache Spark Structured Streaming on Databricks Databricks Blog ·
- Databricks Genie now displays visualizations directly in Slack replies Databricks Release Notes ·
- Databricks Introduces Configurable Data Retention for System Tables (Beta) Databricks Release Notes ·