ashish10alex / ashish10alex/vscode-dataform-tools

bug: Error compiling Dataform if explicit variable assignment is used when calling javascript function

Open
#124 3 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
94
Forks
16
Avg merge
4m
Merged PRs (30d)
7

Description

**Describe the bug**
I run dataform compile --timeout 60000
or just click "show vertical split" in vscode interface

**Expected behavior**
Compilation window reference other models in list, not current one
Checked affiliate_id field, which shows like mistake in all models - it's ok and is compiled/run in web dataform

**Screenshots**

![Image](https://github.com/user-attachments/assets/863a5080-bd2c-4516-be6d-e80d87d77e85)

**Environment:**
- WSL2/ Ubuntu-24.04
- Dataform cli version 2.9.0
- Version of the extension 0.10.9
- ...

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with `dataform compile --timeout 60000` and through the VS Code “show vertical split” action, using the listed Dataform CLI and extension versions. Compare the compilation window’s model references with the expected models, including the explicit variable assignment case; done means the current model is no longer incorrectly referenced.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
data-engineering, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.