Skip to content

Conversation

ptiurin
Copy link
Contributor

@ptiurin ptiurin commented Jul 7, 2025

Adding support for Firebolt Core.
Core does not have authentication, multiple accounts or engines.

Adding changes to the tests to run all the V2 DBAPI tests against core as well, by adding "core" filter.

@ptiurin ptiurin marked this pull request as ready for review July 8, 2025 13:03
@ptiurin ptiurin requested a review from a team as a code owner July 8, 2025 13:03
Copy link
Collaborator

@stepansergeevitch stepansergeevitch left a comment

Choose a reason for hiding this comment

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

LGTM, one comment


# Parse URL
try:
parsed = urlparse(url)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: Might be a super rare case, but if we find any url path or parameters present let's log a warning saying it will be ignored.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We're actually passing down everything right now, query parameters and path. IMO, it's up to the Core to filter those out. If the user has a server on top of the Core that takes in some parameters and based on them reroutes the request then they can work with the sdk out of the box.
Just checked and Core raises an error if extra query parameters are passed. However, it allows any path e.g. http://localhost:3473/my_awesome/path returns the same results as http://localhost:3473/

Copy link

sonarqubecloud bot commented Jul 9, 2025

@ptiurin ptiurin merged commit f5cf8bb into main Jul 9, 2025
12 of 15 checks passed
@ptiurin ptiurin deleted the core-support branch July 9, 2025 14:14
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