-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix TestUcAccShares #858
Merged
Merged
Fix TestUcAccShares #858
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #858 +/- ##
=====================================
Coverage 8.04% 8.04%
=====================================
Files 257 257
Lines 63994 63994
=====================================
Hits 5150 5150
Misses 58549 58549
Partials 295 295 ☔ View full report in Codecov by Sentry. |
hectorcast-db
approved these changes
Mar 14, 2024
mgyucht
added a commit
that referenced
this pull request
Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)). * Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)). ### Test Fixes * Fix TestUcAccShares ([#858](#858)). ### Internal Changes * Add telemetry for SDK usage from DBR ([#851](#851)). API Changes: * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole). * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest). * Added `BrowseOnly` field for [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo), [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), and [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo). * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData). * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Removed `any`. * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest). * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard). * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest). * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest). * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState). * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `any`. * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest). * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest). * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest). OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates: * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)). * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)). * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)). * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)). * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)). * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)). * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht
added a commit
that referenced
this pull request
Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)). * Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)). * Fix TestUcAccShares ([#858](#858)). * Add telemetry for SDK usage from DBR ([#851](#851)). API Changes: * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole). * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo). * Added `BrowseOnly` field for [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo). * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest). * Added `IncludeBrowse` field for [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest). * Added `IncludeBrowse` field for [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest). * Added `IncludeBrowse` field for [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest). * Added `IncludeBrowse` field for [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest). * Added `IncludeBrowse` field for [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest). * Added `IncludeBrowse` field for [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest). * Added `IncludeBrowse` field for [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest). * Added `IncludeBrowse` field for [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest). * Added `IncludeBrowse` field for [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest). * Added `IncludeBrowse` field for [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest). * Added `IncludeBrowse` field for [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest). * Added `IncludeBrowse` field for [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest). * Added `IncludeBrowse` field for [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest). * Added `BrowseOnly` field for [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo). * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Added `IncludeBrowse` field for [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest). * Added `BrowseOnly` field for [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo). * Added `BrowseOnly` field for [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo). * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added `BrowseOnly` field for [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo). * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData). * Added `BrowseOnly` field for [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo). * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Removed `any`. * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest). * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard). * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest). * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest). * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState). * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `any`. * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest). * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest). * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest). OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates: * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)). * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)). * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)). * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)). * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)). * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)). * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht
added a commit
that referenced
this pull request
Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)). * Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)). ### Internal Changes * Add telemetry for SDK usage from DBR ([#851](#851)). ### Test Fixes * Fix TestUcAccShares ([#858](#858)). API Changes: * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole). * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest). * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo). * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData). * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest). * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard). * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest). * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest). * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState). * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest). * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest). * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest). OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates: * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)). * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)). * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)). * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)). * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)). * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)). * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht
added a commit
that referenced
this pull request
Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)). * Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)). ### Internal Changes * Add telemetry for SDK usage from DBR ([#851](#851)). ### Test Fixes * Fix TestUcAccShares ([#858](#858)). API Changes: * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole). * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest). * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo). * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData). * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest). * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard). * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest). * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest). * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState). * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest). * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest). * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest). OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates: * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)). * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)). * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)). * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)). * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)). * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)). * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
Merged
mgyucht
added a commit
that referenced
this pull request
Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)). * Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)). ### Internal Changes * Add telemetry for SDK usage from DBR ([#851](#851)). ### Test Fixes * Fix TestUcAccShares ([#858](#858)). API Changes: * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole). * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest). * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo). * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData). * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest). * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard). * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest). * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest). * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState). * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest). * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest). * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest). OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates: * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)). * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)). * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)). * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)). * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)). * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)). * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht
added a commit
that referenced
this pull request
Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)). * Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)). ### Internal Changes * Add telemetry for SDK usage from DBR ([#851](#851)). ### Test Fixes * Fix TestUcAccShares ([#858](#858)). API Changes: * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole). * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest). * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo). * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData). * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest). * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard). * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest). * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest). * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState). * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest). * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest). * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest). OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates: * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)). * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)). * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)). * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)). * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)). * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)). * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
mgyucht
added a commit
that referenced
this pull request
Mar 19, 2024
* Added Config.GetAuthDetails ([#838](#838)). * Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)). ### Internal Changes * Add telemetry for SDK usage from DBR ([#851](#851)). ### Test Fixes * Fix TestUcAccShares ([#858](#858)). API Changes: * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole). * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest). * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo). * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData). * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest). * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard). * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest). * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest). * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState). * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest). * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest). * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest). OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates: * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)). * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)). * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)). * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)). * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)). * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)). * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)).
github-merge-queue bot
pushed a commit
that referenced
this pull request
Mar 20, 2024
* Added Config.GetAuthDetails ([#838](#838)). * Support DATABRICKS_SDK_UPSTREAM and DATABRICKS_SDK_UPSTREAM_VERSION ([#854](#854)). ### Internal Changes * Add telemetry for SDK usage from DBR ([#851](#851)). ### Test Fixes * Fix TestUcAccShares ([#858](#858)). API Changes: * Changed `List` method for [w.Catalogs](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogsAPI) workspace-level service to require request of [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Create` method for [w.OnlineTables](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#OnlineTablesAPI) workspace-level service . New request type is [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Removed [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole). * Changed `AwsIamRole` field for [catalog.CreateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo) to [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Changed `AwsIamRole` field for [catalog.UpdateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `AwsIamRole` field for [catalog.ValidateStorageCredential](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateStorageCredential) to [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Changed `Notifications` field for [catalog.CreateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.UpdateMonitor](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateMonitor) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Changed `Notifications` field for [catalog.MonitorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorInfo) to [catalog.MonitorNotificationsConfig](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#MonitorNotificationsConfig). * Added `IncludeBrowse` field for [catalog.GetCatalogRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCatalogRequest), [catalog.GetExternalLocationRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetExternalLocationRequest), [catalog.GetFunctionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetFunctionRequest), [catalog.GetModelVersionRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetModelVersionRequest), [catalog.GetRegisteredModelRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetRegisteredModelRequest), [catalog.GetSchemaRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetSchemaRequest), [catalog.GetTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetTableRequest), [catalog.ListExternalLocationsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListExternalLocationsRequest), [catalog.ListFunctionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListFunctionsRequest), [catalog.ListModelVersionsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListModelVersionsRequest), [catalog.ListRegisteredModelsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListRegisteredModelsRequest), [catalog.ListSchemasRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListSchemasRequest), [catalog.ListTablesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListTablesRequest), [catalog.ListVolumesRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListVolumesRequest), and [catalog.ReadVolumeRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ReadVolumeRequest). * Added `BrowseOnly` field for [catalog.ExternalLocationInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ExternalLocationInfo), [catalog.FunctionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#FunctionInfo), [catalog.ModelVersionInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ModelVersionInfo), [catalog.RegisteredModelInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#RegisteredModelInfo), [catalog.SchemaInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#SchemaInfo), [catalog.TableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TableInfo), and [catalog.VolumeInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#VolumeInfo). * Removed [catalog.ViewData](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ViewData). * Added [catalog.AwsIamRoleRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleRequest). * Added [catalog.AwsIamRoleResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRoleResponse). * Added [catalog.CreateOnlineTableRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateOnlineTableRequest). * Added [catalog.ListCatalogsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCatalogsRequest). * Changed `Publish` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service to return [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added `Create` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Get` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `GetPublished` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Trash` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added `Update` method for [w.Lakeview](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LakeviewAPI) workspace-level service. * Added [dashboards.CreateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#CreateDashboardRequest). * Added [dashboards.Dashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Dashboard). * Added [dashboards.GetLakeviewRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetLakeviewRequest). * Added [dashboards.GetPublishedRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#GetPublishedRequest). * Added [dashboards.LifecycleState](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#LifecycleState). * Added [dashboards.PublishedDashboard](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#PublishedDashboard). * Added [dashboards.TrashRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#TrashRequest). * Added [dashboards.UpdateDashboardRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#UpdateDashboardRequest). * Added `ScoreThreshold` field for [vectorsearch.QueryVectorIndexRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/vectorsearch#QueryVectorIndexRequest). OpenAPI SHA: 3821dc51952c5cf1c276dd84967da011b191e64a, Date: 2024-03-19 Dependency updates: * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/zerolog ([#855](#855)). * Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /examples/slog ([#856](#856)). * Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 ([#857](#857)). * Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ([#840](#840)). * Bump golang.org/x/mod from 0.15.0 to 0.16.0 ([#843](#843)). * Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ([#845](#845)). * Bump google.golang.org/api from 0.166.0 to 0.169.0 ([#849](#849)). --------- Co-authored-by: Tanmay Rustagi <tanmay.rustagi@databricks.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
A change was made recently to enable deletion vectors by default in new tables. However, this is incompatible with sharing, as shares don't currently support tables with deletion vectors, resulting in this failure:
This PR disables deletion vectors on the table created in this test so it can be added to a share.
Tests
make test
passingmake fmt
applied