Skip to content

## Code Review #1269

@jobayertan77gai-create

Description

@jobayertan77gai-create

Code Review

This pull request updates the @firebaseextensions/fs-bq-schema-views package to version 0.4.13 and optimizes the BigQuery view generation by replacing multiple FIRST_VALUE window functions with a single QUALIFY clause to improve performance on wide schemas. However, the use of ROW_NUMBER() in the QUALIFY clause introduces a bug where array data is lost during UNNEST operations; it is recommended to use RANK() instead to ensure all rows for the latest document version are preserved.

Originally posted by @gemini-code-assist[bot] in firebase/extensions#2759 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions