Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: databricks/databricks-sdk-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.42.0
Choose a base ref
...
head repository: databricks/databricks-sdk-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.43.0
Choose a head ref
  • 5 commits
  • 40 files changed
  • 4 contributors

Commits on Jun 7, 2024

  1. Generate from latest spec (#944)

    ## Changes
    Generate from latest spec
    
    ## Tests
    - [X] `make test` passing
    - [X] `make fmt` applied
    - [ ] relevant integration tests applied
    hectorcast-db authored Jun 7, 2024
    Configuration menu
    Copy the full SHA
    490bc13 View commit details
    Browse the repository at this point in the history
  2. Support partners in SDK (#925)

    ## Changes
    Partners of Databricks need a mechanism to register themselves in
    libraries or applications that they write. In this way, requests made by
    users of those libraries will include sufficient information to link
    those requests to the original users.
    
    This PR adds a new function `WithPartner` that can be used by a partner
    to add partner information to the User-Agent header for requests made by
    the SDK. The new header will have the form `partner/<parther id>`. The
    partner identifier is opaque for the SDK, but it must be alphanumeric.
    
    This PR also lifts the requirement that there may only be a single copy
    of an entry in the user agent. This allows multiple partners to register
    themselves in the same library or application.
    
    ## Tests
    Unit tests for user agent were modified to support multiple entries for
    the same header key. A unit test is added to cover the WithProduct
    method.
    
    - [ ] `make test` passing
    - [ ] `make fmt` applied
    - [ ] relevant integration tests applied
    mgyucht authored Jun 7, 2024
    Configuration menu
    Copy the full SHA
    d098b1a View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Update OpenAPI spec (#947)

    ## Changes
    Update OpenAPI spec. This includes fixes to Isolation Mode enum
    impacting nightlies.
    
    ## Tests
    - [X] `make test` passing
    - [X] `make fmt` applied
    - [X] relevant integration tests applied
    hectorcast-db authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    00b1d09 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Add serverless_compute_id field to the config (#952)

    ## Changes
    Adding `serverless_compute_id` field to the config following [the same
    change](databricks/databricks-sdk-py#685) in
    databricks-sdk-py
    
    ## Tests
    
    - [x] `make test` passing
    - [x] `make fmt` applied
    - [ ] relevant integration tests applied
    
    ---------
    
    Co-authored-by: Pieter Noordhuis <[email protected]>
    alexkh-db and pietern authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    ce3dc98 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Release v0.43.0 (#955)

    Major Changes and Improvements:
    * Support partners in user agent for SDK
    ([#925](#925)).
    * Add `serverless_compute_id` field to the config
    ([#952](#952)).
    
    Other Changes:
    
    * Generate from latest spec
    ([#944](#944)) and
    ([#947](#947)).
    
    API Changes:
    
    * Changed `IsolationMode` field for
    [catalog.CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo)
    to
    [catalog.CatalogIsolationMode](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogIsolationMode).
    * Added `IsolationMode` field for
    [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo).
    * Added `MaxResults` and `PageToken` fields for
    [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest).
    * Added `NextPageToken` field for
    [catalog.ListCatalogsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsResponse).
    * Added `TableServingUrl` field for
    [catalog.OnlineTable](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTable).
    * Added `IsolationMode` field for
    [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo).
    * Changed `IsolationMode` field for
    [catalog.UpdateCatalog](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateCatalog)
    to
    [catalog.CatalogIsolationMode](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogIsolationMode).
    * Added `IsolationMode` field for
    [catalog.UpdateExternalLocation](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateExternalLocation).
    * Added `IsolationMode` field for
    [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential).
    * Added
    [catalog.CatalogIsolationMode](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogIsolationMode).
    * Added `CreateSchedule`, `CreateSubscription`, `DeleteSchedule`,
    `DeleteSubscription`, `GetSchedule`, `GetSubscription`, `List`,
    `ListSchedules`, `ListSubscriptions` and `UpdateSchedule` methods for
    [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI)
    workspace-level service.
    * Added
    [dashboards.CreateScheduleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateScheduleRequest),
    [dashboards.CreateSubscriptionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateSubscriptionRequest),
    [dashboards.CronSchedule](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CronSchedule),
    [dashboards.DashboardView](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#DashboardView),
    [dashboards.DeleteScheduleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#DeleteScheduleRequest),
    [dashboards.DeleteSubscriptionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#DeleteSubscriptionRequest),
    [dashboards.GetScheduleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetScheduleRequest),
    [dashboards.GetSubscriptionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetSubscriptionRequest),
    [dashboards.ListDashboardsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#ListDashboardsRequest),
    [dashboards.ListDashboardsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#ListDashboardsResponse),
    [dashboards.ListSchedulesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#ListSchedulesRequest),
    [dashboards.ListSchedulesResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#ListSchedulesResponse),
    [dashboards.ListSubscriptionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#ListSubscriptionsRequest),
    [dashboards.ListSubscriptionsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#ListSubscriptionsResponse),
    [dashboards.Schedule](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Schedule),
    [dashboards.SchedulePauseStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#SchedulePauseStatus),
    [dashboards.Subscriber](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Subscriber),
    [dashboards.Subscription](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Subscription),
    [dashboards.SubscriptionSubscriberDestination](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#SubscriptionSubscriberDestination),
    [dashboards.SubscriptionSubscriberUser](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#SubscriptionSubscriberUser)
    and
    [dashboards.UpdateScheduleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateScheduleRequest)
    structs.
    * Added `OnStreamingBacklogExceeded` field for
    [jobs.JobEmailNotifications](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#JobEmailNotifications).
    * Added `EnvironmentKey` field for
    [jobs.RunTask](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#RunTask).
    * Removed `ConditionTask`, `DbtTask`, `NotebookTask`, `PipelineTask`,
    `PythonWheelTask`, `RunJobTask`, `SparkJarTask`, `SparkPythonTask`,
    `SparkSubmitTask`, `SqlTask` and `Environments` fields for
    [jobs.SubmitRun](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#SubmitRun).
    * Added `DbtTask` and `EnvironmentKey` field for
    [jobs.SubmitTask](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#SubmitTask).
    * Added `OnStreamingBacklogExceeded` field for
    [jobs.TaskEmailNotifications](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#TaskEmailNotifications).
    * Added `Periodic` field for
    [jobs.TriggerSettings](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#TriggerSettings).
    * Added `OnStreamingBacklogExceeded` field for
    [jobs.WebhookNotifications](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#WebhookNotifications).
    * Added
    [jobs.PeriodicTriggerConfiguration](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#PeriodicTriggerConfiguration).
    * Added
    [jobs.PeriodicTriggerConfigurationTimeUnit](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#PeriodicTriggerConfigurationTimeUnit).
    * Added `ProviderSummary` field for
    [marketplace.Listing](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/marketplace#Listing).
    * Added
    [marketplace.ProviderIconFile](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/marketplace#ProviderIconFile).
    * Added
    [marketplace.ProviderIconType](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/marketplace#ProviderIconType).
    * Added
    [marketplace.ProviderListingSummaryInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/marketplace#ProviderListingSummaryInfo).
    * Added `Start` method for
    [w.Apps](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#AppsAPI)
    workspace-level service.
    * Added
    [w.ServingEndpointsDataPlane](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#ServingEndpointsDataPlaneAPI)
    workspace-level service.
    * Added `ServicePrincipalId` field for
    [serving.App](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#App).
    * Added `ServicePrincipalName` field for
    [serving.App](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#App).
    * Added
    [serving.StartAppRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/serving#StartAppRequest).
    * Added `QueryNextPage` method for
    [w.VectorSearchIndexes](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#VectorSearchIndexesAPI)
    workspace-level service.
    * Added `QueryType` field for
    [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest).
    * Added `NextPageToken` field for
    [vectorsearch.QueryVectorIndexResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexResponse).
    * Added
    [vectorsearch.QueryVectorIndexNextPageRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexNextPageRequest).
    
    OpenAPI SHA: 7437dabb9dadee402c1fc060df4c1ce8cc5369f0, Date: 2024-06-25
    hectorcast-db authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    3e41913 View commit details
    Browse the repository at this point in the history
Loading