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: external schema for mongodb #3244

Merged
merged 10 commits into from
Oct 21, 2024
Merged

Conversation

tychoish
Copy link
Collaborator

No description provided.

@@ -513,7 +513,7 @@ impl<'a> ExternalDispatcher<'a> {
let table_info = MongoDbTableAccessInfo {
database: database.to_string(),
collection: collection.to_string(),
fields: None,
fields: schema.map(|s| s.fields),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is the real fix, everything else in this PR makes it so that more of the "schemas" you might define for a table will work for assuming the types can be converted from trivially.

@tychoish tychoish merged commit 4a3f7b4 into main Oct 21, 2024
26 checks passed
@tychoish tychoish deleted the tycho/fix-mongodb-external-schema branch October 21, 2024 18:01
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