Skip to content

Commit 4e53f9c

Browse files
snazyrenovate-botjoyhaldarJoy Haldargh-yzou
authored
Dremio merge 2025 06 12 11 19 (#85)
* main: Update dependency io.projectreactor.netty:reactor-netty-http to v1.2.7 (apache#1845) * docs: fix broken 'Polaris Overview' link in README.md (apache#1846) docs: fix broken 'Polaris Overview' link in README.md Co-authored-by: Joy Haldar <Joy.Haldar@target.com> * Update spark client license (apache#1839) * Update LICENCE (apache#1851) * Add Yun Zou as the new committer Co-authored-by: Yufei Gu <yufei.apache.org> * main: Update docker.io/jaegertracing/all-in-one Docker tag to v1.70.0 (apache#1853) * main: Update dependency io.opentelemetry.semconv:opentelemetry-semconv to v1.34.0 (apache#1850) * main: Update dependency boto3 to v1.38.34 (apache#1852) * main: Update dependency org.postgresql:postgresql to v42.7.7 (apache#1859) * [SPEC] Add base-location keyword for GenericTable API (apache#1543) * Update LICENSE for binary distributions (apache#1855) * Add integration tests to Python Client (apache#1856) * Update JDBC Getting-started example's README.md to use localhost for curl commands (apache#1872) * Remove PolarisConfiguration.loadConfig (v2) (apache#1858) * Enhance EclipseLink quickstart (apache#1870) 1. Update the name catalog name used to `quickstart_catalog` from `polaris` to make it consistent 2. Update the name of `eclipselink-trino-1` to `polaris-trino-1` 3. make the polaris server url consistent with using `localhost` to avoid failures * Remove generated Python client from git tracking (apache#1810) After apache#1675, we now generate the Python client on-demand when it's needed by tests or the CLI. With this, we can safely remove the Python client from being tracked in the repo and add its files to .gitignore * Fix telemetry quickstart example for 1.0 release (apache#1873) * main: Update gradle/actions digest to ac638b0 (apache#1877) * main: Update dependency boto3 to v1.38.35 (apache#1874) * Removing star import and adding errorprone rule (apache#1831) Fixes apache#1100 * NoSQL: merge related changes * Last merged commit 0faf948 --------- Co-authored-by: Mend Renovate <bot@renovateapp.com> Co-authored-by: Joy Haldar <joyno.23@gmail.com> Co-authored-by: Joy Haldar <Joy.Haldar@target.com> Co-authored-by: gh-yzou <167037035+gh-yzou@users.noreply.github.com> Co-authored-by: Yufei Gu <yufei@apache.org> Co-authored-by: Yun Zou <yunzou.colostate@gmail.com> Co-authored-by: Honah (Jonas) J. <honahx@apache.org> Co-authored-by: Eric Maynard <eric.maynard+oss@snowflake.com> Co-authored-by: William Hyun <william@apache.org> Co-authored-by: gfakbar20 <gfakbar20@gmail.com>
1 parent ad6ebd1 commit 4e53f9c

File tree

315 files changed

+1357
-59023
lines changed

Some content is hidden

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

315 files changed

+1357
-59023
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
# under the License.
1818
#
1919

20-
* @adutra @annafil @anoopj @ashvina @dennishuo @dimas-b @eric-maynard @jackye1995 @jbonofre @vvcephei @collado-mike @snazy @RussellSpitzer @takidau @MonkeyCanCode @flyrain @ebyhr @ajantha-bhat @HonahX @singhpk234 @pingtimeout
20+
* @adutra @annafil @anoopj @ashvina @dennishuo @dimas-b @eric-maynard @jackye1995 @jbonofre @vvcephei @collado-mike @snazy @RussellSpitzer @takidau @MonkeyCanCode @flyrain @ebyhr @ajantha-bhat @HonahX @singhpk234 @pingtimeout @gh-yzou

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
5151
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
5252
- name: Setup Gradle
53-
uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4
53+
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
5454
with:
5555
# The setup-gradle action fails, if the wrapper is not using the right version or is not present.
5656
# Our `gradlew` validates the integrity of the `gradle-wrapper.jar`, so it's safe to disable this.

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
java-version: '21'
5454
distribution: 'temurin'
5555
- name: Setup Gradle
56-
uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4
56+
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4
5757
with:
5858
validate-wrappers: false
5959
- name: Publish SNAPSHOTs to Apache Nexus Repository

.github/workflows/python-client.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,25 @@ jobs:
6767
working-directory: client/python
6868
run: poetry install --all-extras
6969

70-
- name: Lint with flake8
70+
- name: Lint
7171
working-directory: client/python
7272
run: |
73-
poetry run flake8 --select=E9,F63,F7,F82 --max-line-length=127 --statistics
73+
make lint
7474
75-
- name: Test with pytest
75+
- name: Generated Client Tests
7676
working-directory: client/python
7777
run: |
7878
export SCRIPT_DIR="non-existing-mock-directory"
79-
poetry run pytest
79+
poetry run pytest test/
80+
81+
- name: Image build
82+
run: |
83+
./gradlew \
84+
:polaris-quarkus-server:assemble \
85+
:polaris-quarkus-server:quarkusAppPartsBuild --rerun \
86+
-Dquarkus.container-image.build=true
87+
88+
- name: Integration Tests
89+
working-directory: client/python
90+
run: |
91+
make test-integration

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ client/python/poetry.lock
2828
/poetry.lock
2929
/polaris-venv/
3030
/pyproject.toml
31+
/client/python/
32+
!/client/python/pyproject.toml
3133

3234
# Polaris CLI profile
3335
.polaris.json

LICENSE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ This product includes code from Apache Iceberg.
220220
* integration-tests/src/main/java/org/apache/polaris/service/it/test/PolarisRestCatalogIntegrationTest.java
221221
* service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalog.java
222222
* service/common/src/main/java/org/apache/polaris/service/catalog/iceberg/CatalogHandlerUtils.java
223-
* plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/PolarisSparkCatalog.java
224-
* plugins/spark/v3.5/spark/src/test/java/org/apache/polaris/spark/PolarisInMemoryCatalog.java
225223
* plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/PolarisRESTCatalog.java
226224
* plugins/spark/v3.5/spark/src/main/java/org/apache/polaris/spark/SparkCatalog.java
227225

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ for contribution guidelines.
3737
[dev-list-subscribe]: mailto:dev-subscribe@polaris.apache.org
3838

3939
## Polaris Overview
40-
Click [here](https://polaris.apache.org/in-dev/unreleased/overview/) for a quick overview of Polaris.
40+
Click [here](https://polaris.apache.org/in-dev/unreleased/) for a quick overview of Polaris.
4141

4242
## Quickstart
4343
Click [here](https://polaris.apache.org/in-dev/unreleased/getting-started/install-dependencies/) for the quickstart experience, which will help you set up a Polaris instance locally or on any supported cloud provider.

api/polaris-catalog-service/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,5 @@ sourceSets {
122122
tasks.named("javadoc") { dependsOn("jandex") }
123123

124124
tasks.named("processResources") { dependsOn("openApiGenerate") }
125+
126+
tasks.named("openApiGenerate") { outputs.cacheIf { false } }

client/python/.openapi-generator-ignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,8 @@ pyproject.toml
4545
requirements.txt
4646
test-requirements.txt
4747
setup.py
48+
.gitlab-ci.yml
49+
.travis.yml
50+
.github/workflows/python.yml
4851

4952

client/python/polaris/management/api/__init__.py renamed to client/python/.pre-commit-config.yaml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#
21
# Licensed to the Apache Software Foundation (ASF) under one
32
# or more contributor license agreements. See the NOTICE file
43
# distributed with this work for additional information
@@ -15,10 +14,23 @@
1514
# KIND, either express or implied. See the License for the
1615
# specific language governing permissions and limitations
1716
# under the License.
18-
#
19-
20-
# flake8: noqa
21-
22-
# import apis into api package
23-
from polaris.management.api.polaris_default_api import PolarisDefaultApi
2417

18+
repos:
19+
- repo: https://github.com/pre-commit/pre-commit-hooks
20+
rev: v5.0.0
21+
hooks:
22+
- id: trailing-whitespace
23+
- id: end-of-file-fixer
24+
- id: debug-statements
25+
- repo: https://github.com/astral-sh/ruff-pre-commit
26+
rev: v0.11.13
27+
hooks:
28+
- id: ruff
29+
args: [ --fix, --exit-non-zero-on-fix ]
30+
- id: ruff-format
31+
- repo: https://github.com/pre-commit/mirrors-mypy
32+
rev: v1.16.0
33+
hooks:
34+
- id: mypy
35+
args:
36+
[--disallow-untyped-defs, --ignore-missing-imports, --install-types, --non-interactive]

0 commit comments

Comments
 (0)