Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix connection pass through preventing functions from working #112

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

jogrogan
Copy link
Collaborator

@jogrogan jogrogan commented Feb 24, 2025

Fixes a few issues:

@jogrogan jogrogan force-pushed the jogrogan/functionSupport branch from ccf3285 to 62844e7 Compare February 24, 2025 17:51
Copy link
Collaborator

@ryannedolan ryannedolan left a comment

Choose a reason for hiding this comment

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

Wow! This bug had me totally confused. Way to go.

if (row.URL.endsWith("//")) {
joinedUrl = joinedUrl + joiner;
} else {
joinedUrl = joinedUrl + ";" + joiner;
Copy link
Collaborator

Choose a reason for hiding this comment

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

The k1=v1;k2=v2 format seems to be a common convention, but not all drivers support it. We may run into drivers that choke on it. Not sure what to do in that case...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All the drivers we have for now do support it, so maybe that's good enough for now? Considering Properties objects are always key/value pairs I'd imagine we'd run into more problems if we just had single values

@jogrogan jogrogan merged commit 5c51af5 into main Feb 24, 2025
1 check passed
@jogrogan jogrogan deleted the jogrogan/functionSupport branch February 24, 2025 18:53
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