-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ANTLR only allow traversal on certain expressions #26068
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit af6777c. |
d804f52
to
d77e549
Compare
4ae9c9a
to
1a3b80c
Compare
d77e549
to
9b0e0d2
Compare
...odules/dagster-ui/packages/ui-core/src/asset-selection/__tests__/AntlrAssetSelection.test.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need a similar change in the python visitor?
...odules/dagster-ui/packages/ui-core/src/asset-selection/__tests__/AntlrAssetSelection.test.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!!
1a3b80c
to
41011f3
Compare
66b1463
to
80ac002
Compare
80ac002
to
af6777c
Compare
Summary & Motivation
We discovered some ambiguity caused by traversal expressions that may cause parser to return an unexpected asset selection. For example, currently the parser reads
*key:a and key:b*
as*(key:a and key:b)*
. We believe this is unintuitive, so we've decided to force the traversal tokens to only apply to the expression they are immediately next to.