-
Notifications
You must be signed in to change notification settings - Fork 418
feat(firestore-bigquery-export): add collection group query support #2518
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
Open
superphil0
wants to merge
4
commits into
firebase:next
Choose a base branch
from
superphil0:feature/collection-group-query-support
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(firestore-bigquery-export): add collection group query support #2518
superphil0
wants to merge
4
commits into
firebase:next
from
superphil0:feature/collection-group-query-support
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add --is-collection-group-query flag to gen-schema-view script - Support both regular collection and collection group queries in Gemini schema generation - Update sampleFirestoreDocuments function with isCollectionGroupQuery parameter - Add interactive prompt for collection group query selection - Update documentation with examples and explanations - Add comprehensive test coverage for new functionality - Maintain backward compatibility with existing functionality This allows users to generate schemas for subcollections that appear across multiple parent documents by using collection group queries instead of regular collection queries.
- Update command line flag from --is-collection-group-query to --query-collection-group - Update all documentation and examples with new flag name - Update tests to use new flag name - Maintain same functionality with cleaner flag naming This provides a more concise and intuitive flag name for collection group queries.
Hi @superphil0, thank you for opening this Pull Request. We will review and provide feedback. Thanks! |
cabljac
reviewed
Sep 9, 2025
cabljac
requested changes
Sep 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the local dependency on the change tracker
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
extension: firestore-bigquery-export
Related to firestore-bigquery-export extension
type: feature request
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This allows users to generate schemas for subcollections that appear across multiple parent documents by using collection group queries instead of regular collection queries.
This loosely follows the pattern of the import script by adding the same flag --query-collection-group
I did test this on my own production DB, so works for my purposes
Feature request here: #2516