Skip to content

fix(tinybird): pipe aliases - #4316

Merged
joanagmaia merged 2 commits into
mainfrom
fix/collections-filtered-aliases
Jul 8, 2026
Merged

fix(tinybird): pipe aliases#4316
joanagmaia merged 2 commits into
mainfrom
fix/collections-filtered-aliases

Conversation

@epipav

@epipav epipav commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: anilb <epipav@gmail.com>
Copilot AI review requested due to automatic review settings July 8, 2026 08:24
@CLAassistant

CLAassistant commented Jul 8, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ joanagmaia
❌ epipav
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

⚠️ Jira Issue Key Missing

Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability.

Example:

  • feat: add user authentication (CM-123)
  • feat: add user authentication (IN-123)

Projects:

  • CM: Community Data Platform
  • IN: Insights

Please add a Jira issue key to your PR title.

@joanagmaia joanagmaia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR replaces the collections.* wildcard select in the collections_filtered Tinybird pipe with an explicit, fully-aliased column list. In Tinybird/ClickHouse, wildcard expansion combined with FINAL joins and GROUP BY can produce non-deterministic or prefixed output column names; enumerating and aliasing each column ensures the endpoint exposes stable, unprefixed column names that downstream pipes (collections_list, search_collections_projects_repos) rely on.

Changes:

  • Expanded collections.* into 12 explicit collections.<col> AS <col> projections.
  • Column set and aliases match the collections datasource schema exactly and remain consistent with the existing GROUP BY.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@joanagmaia
joanagmaia merged commit 2c103c3 into main Jul 8, 2026
12 checks passed
@joanagmaia
joanagmaia deleted the fix/collections-filtered-aliases branch July 8, 2026 08:45
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.

4 participants