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

Execute CQL with version in filename #28

Open
p9g opened this issue May 10, 2023 · 1 comment
Open

Execute CQL with version in filename #28

p9g opened this issue May 10, 2023 · 1 comment

Comments

@p9g
Copy link

p9g commented May 10, 2023

MADiE export includes the version number in the CQL filename, e.g., Foo-0.0.000.cql
The file contents has library Foo version '0.0.000

The test cases are in tests/measure/Foo , so the folder name matched the CQL library name, Foo.
If that file is opened and Execute CQL is run, it does not look in the Foo folder for the test cases; the output says
"No data found at c:...\input\tests"

If the filename is changed to "Foo.cql" then Execute CQL works with
"Data path: c:...\input\tests\measure\Foo"

It would be nice if Execute CQL could run without changing the CQL filename (keep the filename as exported from MADiE with the version number).

@p9g
Copy link
Author

p9g commented Jul 21, 2023

vscode-cql should be smart enough to find the included libraries whether or not the filename includes the version. If library filename has the version, then vscode-cql can't find the included libraries and causes a lot of CQL errors.

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