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

DATA-2153 - Change TabularDataByQuery API to accept list of BSON docs rather than strings #400

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

dmhilly
Copy link
Member

@dmhilly dmhilly commented Nov 21, 2023

No description provided.

@dmhilly dmhilly requested a review from agreenb November 21, 2023 15:21
string mql_query = 2;
// mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] list of serialized BSON documents?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think simply saying "BSON documents" is actually more accurate, since BSON is already in a binary/byte format - a BSON document is just a series of bytes with a particular format. You can serialize/encode objects into BSON, but saying "serialized BSON documents" to me makes it sound like we took BSON documents and serialized/encoded them further. Lmk if you disagree!

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point! Agreed.

@dmhilly dmhilly requested a review from agreenb November 28, 2023 20:51
@dmhilly dmhilly merged commit 45a17ef into viamrobotics:main Nov 28, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants