Skip to content

Commit 34c28d8

Browse files
renovate-botfabio-rizzo-01
authored andcommitted
parent 3185adf
author Mend Renovate <bot@renovateapp.com> 1749165686 +0200 committer Rizzo Cascio, Fabio <fabio.rizzocascio@jpmorgan.com> 1749485275 +0100 # This is a combination of 18 commits. # This is the 1st commit message: Mutable objects used for immutable values #772: fixed tests and formatting and updated from main
1 parent 3185adf commit 34c28d8

File tree

68 files changed

+1865
-1427
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1865
-1427
lines changed

.github/workflows/python-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4646

4747
- name: Set up JDK for Gradle
48-
uses: actions/setup-java@v4
48+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
4949
with:
5050
distribution: 'temurin'
5151
java-version: '21'

build-logic/src/main/kotlin/publishing/PublishingHelperPlugin.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ constructor(private val softwareComponentFactory: SoftwareComponentFactory) : Pl
133133

134134
suppressPomMetadataWarningsFor("testFixturesApiElements")
135135
suppressPomMetadataWarningsFor("testFixturesRuntimeElements")
136+
137+
if (project.tasks.findByName("createPolarisSparkJar") != null) {
138+
// if the project contains spark client jar, also publish the jar to maven
139+
artifact(project.tasks.named("createPolarisSparkJar").get())
140+
}
136141
}
137142

138143
if (

client/python/.github/workflows/python.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

client/python/.openapi-generator-ignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
# Then explicitly reverse the ignore rule for a single file:
4242
#!docs/README.md
4343

44-
.github/workflows/python.yml
45-
.gitlab-ci.yml
4644
pyproject.toml
4745
requirements.txt
4846
test-requirements.txt

client/python/.openapi-generator/FILES

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.gitignore
2-
.travis.yml
32
README.md
43
docs/AddPartitionSpecUpdate.md
54
docs/AddSchemaUpdate.md
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.12.0
1+
7.11.0

client/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
2525

2626
- API version: 0.0.1
2727
- Package version: 1.0.0
28-
- Generator version: 7.12.0
28+
- Generator version: 7.11.0
2929
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
3030

3131
## Requirements.

client/python/docs/CatalogAPI.md

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,7 @@ Name | Type | Description | Notes
238238
239239
Create a table in the given namespace
240240

241-
Create a table or start a create transaction, like atomic CTAS.
242-
243-
If `stage-create` is false, the table is created immediately.
244-
245-
If `stage-create` is true, the table is not created, but table metadata is initialized and returned. The service should prepare as needed for a commit to the table commit endpoint to complete the create transaction. The client uses the returned metadata to begin a transaction. To commit the transaction, the client sends all create and subsequent changes to the table commit route. Changes from the table create operation include changes like AddSchemaUpdate and SetCurrentSchemaUpdate that set the initial table state.
241+
Create a table or start a create transaction, like atomic CTAS. If `stage-create` is false, the table is created immediately. If `stage-create` is true, the table is not created, but table metadata is initialized and returned. The service should prepare as needed for a commit to the table commit endpoint to complete the create transaction. The client uses the returned metadata to begin a transaction. To commit the transaction, the client sends all create and subsequent changes to the table commit route. Changes from the table create operation include changes like AddSchemaUpdate and SetCurrentSchemaUpdate that set the initial table state.
246242

247243
### Example
248244

@@ -697,7 +693,7 @@ void (empty response body)
697693
698694
List namespaces, optionally providing a parent namespace to list underneath
699695

700-
List all namespaces at a certain level, optionally starting from a given parent namespace. If table accounting.tax.paid.info exists, using 'SELECT NAMESPACE IN accounting' would translate into `GET /namespaces?parent=accounting` and must return a namespace, ["accounting", "tax"] only. Using 'SELECT NAMESPACE IN accounting.tax' would translate into `GET /namespaces?parent=accounting%1Ftax` and must return a namespace, ["accounting", "tax", "paid"]. If `parent` is not provided, all top-level namespaces should be listed.
696+
List all namespaces at a certain level, optionally starting from a given parent namespace. If table accounting.tax.paid.info exists, using 'SELECT NAMESPACE IN accounting' would translate into `GET /namespaces?parent=accounting` and must return a namespace, [\"accounting\", \"tax\"] only. Using 'SELECT NAMESPACE IN accounting.tax' would translate into `GET /namespaces?parent=accounting%1Ftax` and must return a namespace, [\"accounting\", \"tax\", \"paid\"]. If `parent` is not provided, all top-level namespaces should be listed.
701697

702698
### Example
703699

@@ -1161,13 +1157,7 @@ Name | Type | Description | Notes
11611157
11621158
Load a table from the catalog
11631159

1164-
Load a table from the catalog.
1165-
1166-
The response contains both configuration and table metadata. The configuration, if non-empty is used as additional configuration for the table that overrides catalog configuration. For example, this configuration may change the FileIO implementation to be used for the table.
1167-
1168-
The response also contains the table's full metadata, matching the table metadata JSON file.
1169-
1170-
The catalog configuration may contain credentials that should be used for subsequent requests for the table. The configuration key "token" is used to pass an access token to be used as a bearer token for table requests. Otherwise, a token may be passed using a RFC 8693 token type as a configuration key. For example, "urn:ietf:params:oauth:token-type:jwt=<JWT-token>".
1160+
Load a table from the catalog. The response contains both configuration and table metadata. The configuration, if non-empty is used as additional configuration for the table that overrides catalog configuration. For example, this configuration may change the FileIO implementation to be used for the table. The response also contains the table's full metadata, matching the table metadata JSON file. The catalog configuration may contain credentials that should be used for subsequent requests for the table. The configuration key \"token\" is used to pass an access token to be used as a bearer token for table requests. Otherwise, a token may be passed using a RFC 8693 token type as a configuration key. For example, \"urn:ietf:params:oauth:token-type:jwt=<JWT-token>\".
11711161

11721162
### Example
11731163

@@ -1266,13 +1256,7 @@ Name | Type | Description | Notes
12661256
12671257
Load a view from the catalog
12681258

1269-
Load a view from the catalog.
1270-
1271-
The response contains both configuration and view metadata. The configuration, if non-empty is used as additional configuration for the view that overrides catalog configuration.
1272-
1273-
The response also contains the view's full metadata, matching the view metadata JSON file.
1274-
1275-
The catalog configuration may contain credentials that should be used for subsequent requests for the view. The configuration key "token" is used to pass an access token to be used as a bearer token for view requests. Otherwise, a token may be passed using a RFC 8693 token type as a configuration key. For example, "urn:ietf:params:oauth:token-type:jwt=<JWT-token>".
1259+
Load a view from the catalog. The response contains both configuration and view metadata. The configuration, if non-empty is used as additional configuration for the view that overrides catalog configuration. The response also contains the view's full metadata, matching the view metadata JSON file. The catalog configuration may contain credentials that should be used for subsequent requests for the view. The configuration key \"token\" is used to pass an access token to be used as a bearer token for view requests. Otherwise, a token may be passed using a RFC 8693 token type as a configuration key. For example, \"urn:ietf:params:oauth:token-type:jwt=<JWT-token>\".
12761260

12771261
### Example
12781262

@@ -2094,9 +2078,7 @@ void (empty response body)
20942078
20952079
Set or remove properties on a namespace
20962080

2097-
Set and/or remove properties on a namespace. The request body specifies a list of properties to remove and a map of key value pairs to update.
2098-
Properties that are not in the request are not modified or removed by this call.
2099-
Server implementations are not required to support namespace properties.
2081+
Set and/or remove properties on a namespace. The request body specifies a list of properties to remove and a map of key value pairs to update. Properties that are not in the request are not modified or removed by this call. Server implementations are not required to support namespace properties.
21002082

21012083
### Example
21022084

@@ -2191,13 +2173,7 @@ Name | Type | Description | Notes
21912173
21922174
Commit updates to a table
21932175

2194-
Commit updates to a table.
2195-
2196-
Commits have two parts, requirements and updates. Requirements are assertions that will be validated before attempting to make and commit changes. For example, `assert-ref-snapshot-id` will check that a named ref's snapshot ID has a certain value. Server implementations are required to fail with a 400 status code if any unknown updates or requirements are received.
2197-
2198-
Updates are changes to make to table metadata. For example, after asserting that the current main ref is at the expected snapshot, a commit may add a new child snapshot and set the ref to the new snapshot id.
2199-
2200-
Create table transactions that are started by createTable with `stage-create` set to true are committed using this route. Transactions should include all changes to the table, including table initialization, like AddSchemaUpdate and SetCurrentSchemaUpdate. The `assert-create` requirement is used to ensure that the table was not created concurrently.
2176+
Commit updates to a table. Commits have two parts, requirements and updates. Requirements are assertions that will be validated before attempting to make and commit changes. For example, `assert-ref-snapshot-id` will check that a named ref's snapshot ID has a certain value. Server implementations are required to fail with a 400 status code if any unknown updates or requirements are received. Updates are changes to make to table metadata. For example, after asserting that the current main ref is at the expected snapshot, a commit may add a new child snapshot and set the ref to the new snapshot id. Create table transactions that are started by createTable with `stage-create` set to true are committed using this route. Transactions should include all changes to the table, including table initialization, like AddSchemaUpdate and SetCurrentSchemaUpdate. The `assert-create` requirement is used to ensure that the table was not created concurrently.
22012177

22022178
### Example
22032179

client/python/docs/ConfigurationAPI.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,7 @@ Method | HTTP request | Description
3232
3333
List all catalog configuration settings
3434

35-
All REST clients should first call this route to get catalog configuration properties from the server to configure the catalog and its HTTP client. Configuration from the server consists of two sets of key/value pairs.
36-
- defaults - properties that should be used as default configuration; applied before client configuration
37-
- overrides - properties that should be used to override client configuration; applied after defaults and client configuration
38-
39-
Catalog configuration is constructed by setting the defaults, then client- provided configuration, and finally overrides. The final property set is then used to configure the catalog.
40-
41-
For example, a default configuration property might set the size of the client pool, which can be replaced with a client-specific setting. An override might be used to set the warehouse location, which is stored on the server rather than in client configuration.
42-
43-
Common catalog configuration settings are documented at https://iceberg.apache.org/docs/latest/configuration/#catalog-properties
44-
45-
The catalog configuration also holds an optional `endpoints` field that contains information about the endpoints supported by the server. If a server does not send the `endpoints` field, a default set of endpoints is assumed:
46-
- GET /v1/{prefix}/namespaces
47-
- POST /v1/{prefix}/namespaces
48-
- GET /v1/{prefix}/namespaces/{namespace}
49-
- DELETE /v1/{prefix}/namespaces/{namespace}
50-
- POST /v1/{prefix}/namespaces/{namespace}/properties
51-
- GET /v1/{prefix}/namespaces/{namespace}/tables
52-
- POST /v1/{prefix}/namespaces/{namespace}/tables
53-
- GET /v1/{prefix}/namespaces/{namespace}/tables/{table}
54-
- POST /v1/{prefix}/namespaces/{namespace}/tables/{table}
55-
- DELETE /v1/{prefix}/namespaces/{namespace}/tables/{table}
56-
- POST /v1/{prefix}/namespaces/{namespace}/register
57-
- POST /v1/{prefix}/namespaces/{namespace}/tables/{table}/metrics
58-
- POST /v1/{prefix}/tables/rename
59-
- POST /v1/{prefix}/transactions/commit
35+
All REST clients should first call this route to get catalog configuration properties from the server to configure the catalog and its HTTP client. Configuration from the server consists of two sets of key/value pairs. - defaults - properties that should be used as default configuration; applied before client configuration - overrides - properties that should be used to override client configuration; applied after defaults and client configuration Catalog configuration is constructed by setting the defaults, then client- provided configuration, and finally overrides. The final property set is then used to configure the catalog. For example, a default configuration property might set the size of the client pool, which can be replaced with a client-specific setting. An override might be used to set the warehouse location, which is stored on the server rather than in client configuration. Common catalog configuration settings are documented at https://iceberg.apache.org/docs/latest/configuration/#catalog-properties The catalog configuration also holds an optional `endpoints` field that contains information about the endpoints supported by the server. If a server does not send the `endpoints` field, a default set of endpoints is assumed: - GET /v1/{prefix}/namespaces - POST /v1/{prefix}/namespaces - GET /v1/{prefix}/namespaces/{namespace} - DELETE /v1/{prefix}/namespaces/{namespace} - POST /v1/{prefix}/namespaces/{namespace}/properties - GET /v1/{prefix}/namespaces/{namespace}/tables - POST /v1/{prefix}/namespaces/{namespace}/tables - GET /v1/{prefix}/namespaces/{namespace}/tables/{table} - POST /v1/{prefix}/namespaces/{namespace}/tables/{table} - DELETE /v1/{prefix}/namespaces/{namespace}/tables/{table} - POST /v1/{prefix}/namespaces/{namespace}/register - POST /v1/{prefix}/namespaces/{namespace}/tables/{table}/metrics - POST /v1/{prefix}/tables/rename - POST /v1/{prefix}/transactions/commit
6036

6137
### Example
6238

client/python/docs/GenericTableAPI.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,7 @@ Name | Type | Description | Notes
309309
310310
Load a generic table under the given namespace from the catalog
311311

312-
Load a generic table from the catalog under the given namespace.
313-
The response contains all table information passed during create.
312+
Load a generic table from the catalog under the given namespace. The response contains all table information passed during create.
314313

315314
### Example
316315

0 commit comments

Comments
 (0)