Skip to content

Fix maxCode generation for ConnectionTypeEnum#1827

Merged
flyrain merged 2 commits intoapache:mainfrom
poojanilangekar:connection-type-fix
Jun 8, 2025
Merged

Fix maxCode generation for ConnectionTypeEnum#1827
flyrain merged 2 commits intoapache:mainfrom
poojanilangekar:connection-type-fix

Conversation

@poojanilangekar
Copy link
Contributor

Previously, the maxCode was generated using AuthenticationType.values(). It worked fine because Polaris supported the same number of Connection and Authentication types. The enum conversion would break if we add new authentication or connection types independently as in #1805 or other forms of federation.

Previously, the `maxCode` was generated using `AuthenticationType.values()`. It worked fine because Polaris supported the same number of Connection and Authentication types. The enum conversion would break if we add new authenication or connection types independently as in apache#1805.
@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Jun 8, 2025
@flyrain flyrain enabled auto-merge (squash) June 8, 2025 19:54
@flyrain flyrain merged commit a9ad720 into apache:main Jun 8, 2025
9 checks passed
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in Basic Kanban Board Jun 8, 2025
@poojanilangekar poojanilangekar deleted the connection-type-fix branch June 9, 2025 15:37
snazy added a commit to snazy/polaris that referenced this pull request Jun 13, 2025
* main: Update dependency io.netty:netty-codec-http2 to v4.2.2.Final (apache#1819)

* main: Update dependency com.google.cloud:google-cloud-storage-bom to v2.53.0 (apache#1811)

* main: Pin actions/setup-java action to c5195ef (apache#1809)

* main: Update dependency boto3 to v1.38.31 (apache#1803)

* Downgrade open api generator to 7.11 (apache#1823)

* main: Update dependency io.smallrye.config:smallrye-config-core to v3.13.1 (apache#1826)

* JDBC: Use PreparedStatement (apache#1802)

* Remove "unused" files in client/python (apache#1678)

* main: Update dependency org.junit:junit-bom to v5.13.1 (apache#1832)

* main: Update dependency boto3 to v1.38.32 (apache#1828)

* main: Update dependency io.opentelemetry:opentelemetry-bom to v1.51.0 (apache#1829)

* Spark: Add license and notice to spark client jar and push jar to maven (apache#1830)

* Update versions in LICENSE and NOTICE (apache#1833)

* Core: Fix  maxCode generation for ConnectionTypeEnum (apache#1827)

* main: Update dependency com.github.ben-manes.caffeine:caffeine to v3.2.1 (apache#1836)

* main: Update dependency software.amazon.awssdk:bom to v2.31.59 (apache#1835)

* Fix the issue where the Polaris Server exposes backend metadata in the error response body when the database is not bootstrapped. (apache#1837)

* Fix LICENSE and NOTICE in Spark plugin (apache#1834)

* main: Update dependency io.micrometer:micrometer-bom to v1.15.1 (apache#1842)

* main: Update dependency boto3 to v1.38.33 (apache#1841)

* NoSQL: bump dependencies

* Last merged commit 9934fc4

---------

Co-authored-by: Mend Renovate <[email protected]>
Co-authored-by: Honah (Jonas) J. <[email protected]>
Co-authored-by: Prashant Singh <[email protected]>
Co-authored-by: JB Onofré <[email protected]>
Co-authored-by: gh-yzou <[email protected]>
Co-authored-by: Pooja Nilangekar <[email protected]>
Co-authored-by: Bo Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants