Skip to content

Can't get past compiling error in query preview window. #107

Closed Answered by ashish10alex
LandonPerkins asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @LandonPerkins , thanks for sending the logs. I have spotted the issue. You seem to be using multi-root workspace . If you notice the logs, the full path of the file being compiled does not look like a subset of the workspace folder path. I was able to re-create this scenario by opening a different folder and adding a Dataform folder to the workspace.

Your logs

[2025-02-24T20:20:42.300Z] DEBUG: Workspace folder: c:\Users\<user>\Code\Dataform
[2025-02-24T20:20:43.423Z] DEBUG: Getting current file metadata for document: c:\Users\<user>\Code\football-dataform\football_dataform\definitions\0100_GAMES_META.sqlx

How to fix

Open a new vscode window and open the Dataform project in it.

Your l…

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by LandonPerkins
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ashish10alex
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants