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

Improve pre_transform_values error message #336

Open
jonmmease opened this issue Jun 9, 2023 · 0 comments
Open

Improve pre_transform_values error message #336

jonmmease opened this issue Jun 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jonmmease
Copy link
Collaborator

When a chart spec includes a Vega transform or signals that are not supported, the pre_transform_values function raises an error message like this:

ValueError: Pre-transform error: Requested variable (Variable { name: "data_2", namespace: Data }, [])
 requires transforms or signal expressions that are not yet supported

It would be much more helpful if the error included a description of exactly what feature is not supported. This will require some significant refactoring to the planner, but should be doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant