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

Error: DEFAULT value is not allowed when jsonpath is set when running Dub.co's pipe #1623

Open
unrenamed opened this issue Oct 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@unrenamed
Copy link
Contributor

unrenamed commented Oct 23, 2024

Issue Summary

While following the guide to run Dub.co’s codebase locally, I encountered an error when executing tb push. The error message indicates that when you specify a column with a jsonpath attribute, you cannot also provide a DEFAULT value for that column.

The error is caused by 4 files:

  1. dub_lead_events.datasource
  2. dub_links_metadata.datasource
  3. dub_sale_events.datasource
  4. dub_webhook_events.datasource

Steps to Reproduce

  1. Follow the setup instructions provided in the guide up to Step 2: Set up the Tinybird Clickhouse database.
  2. After you run tb push, wait for the command to fail and observe the error message like on the screenshot below.

Expected behavior

The command should execute successfully, creating the essential data sources without errors.

Screenshots

image

Version info

  • Tinybird CLI Version 2.0.0 (rev 40c7bee)
  • macOS Version 13.5.2 (22G91)
@steven-tey steven-tey added the bug Something isn't working label Oct 24, 2024
@steven-tey
Copy link
Collaborator

/award 150

Copy link

oss-gg bot commented Oct 27, 2024

Awarding unrenamed: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/unrenamed

@steven-tey steven-tey reopened this Oct 27, 2024
@steven-tey steven-tey assigned unrenamed and unassigned unrenamed Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants