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 when specifying dataset.table format in config dependencies #1896

Open
hiracky16 opened this issue Jan 24, 2025 · 0 comments
Open

Error when specifying dataset.table format in config dependencies #1896

hiracky16 opened this issue Jan 24, 2025 · 0 comments

Comments

@hiracky16
Copy link
Contributor

While using Dataform, I encountered an issue with specifying dataset and table names in the config block's dependencies.

Problem Details

  • When specifying only the table name (table), an error occurs if tables with the same name exist in different datasets.
  • When specifying the format dataset.table , an error is raised stating that the table cannot be found.

I referred to the official documentation (link here), but I couldn't find a solution to this issue.

Steps to Reproduce

  1. Create tables with the same name in multiple datasets (e.g., dataset_a.table and dataset_b.table).
  2. Set the following in the config block:
config {
  dependencies: ["dataset_a.table"]
}
  1. Compile or execute the script.

Expected Behavior

When specifying dataset.table in dependencies, the corresponding table should be correctly referenced.

Environment

Dataform Version: 2.9.0
Execution Environment: Google Cloud Workspaces

Questions

Is there a workaround or proper way to address this issue?
Could you add more details or examples in the official documentation?

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

No branches or pull requests

1 participant