Skip to content

feat(rust): support /sql/1.0/endpoints/ HTTP path format (PECOBLR-2139)#349

Merged
vikrantpuppala merged 1 commit intoadbc-drivers:mainfrom
vikrantpuppala:endpoints-http-path
Mar 16, 2026
Merged

feat(rust): support /sql/1.0/endpoints/ HTTP path format (PECOBLR-2139)#349
vikrantpuppala merged 1 commit intoadbc-drivers:mainfrom
vikrantpuppala:endpoints-http-path

Conversation

@vikrantpuppala
Copy link
Collaborator

Summary

  • Add /sql/1.0/endpoints/{id} as an accepted HTTP path format in extract_warehouse_id()
  • Both /sql/1.0/warehouses/{id} and /sql/1.0/endpoints/{id} are equivalent on the server side
  • The /endpoints/ format is used by the multi-DBR test harness in universe

Companion ODBC PR adds SSL, Port, and case-insensitive key support.

Test plan

  • test_database_extract_warehouse_id updated and passing with new endpoint path patterns
  • Existing integration tests still pass

This pull request was AI-assisted by Isaac.

The multi-DBR test infrastructure uses /sql/1.0/endpoints/{id} URLs
instead of /sql/1.0/warehouses/{id}. Both formats are equivalent on
the server side.

Add /sql/1.0/endpoints/ prefix matching to extract_warehouse_id() so
the driver can parse warehouse IDs from either URL format.

Co-authored-by: Isaac
@vikrantpuppala vikrantpuppala changed the title [PECOBLR-2139] Support /sql/1.0/endpoints/ HTTP path format feat(rust): support /sql/1.0/endpoints/ HTTP path format (PECOBLR-2139) Mar 14, 2026
Copy link
Collaborator

@msrathore-db msrathore-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@vikrantpuppala vikrantpuppala added the integration-test Trigger integration tests in internal repo label Mar 15, 2026
@vikrantpuppala vikrantpuppala merged commit 6d2026c into adbc-drivers:main Mar 16, 2026
23 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-test Trigger integration tests in internal repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants