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

Space after dash in ALL_FIELDS explore fields #76

Closed
joshtemple opened this issue Jan 17, 2023 · 1 comment
Closed

Space after dash in ALL_FIELDS explore fields #76

joshtemple opened this issue Jan 17, 2023 · 1 comment

Comments

@joshtemple
Copy link
Owner

The following LookML is accepted by the Looker validator, but not by lkml, due to the space after the -. This is because lkml does not consider a space to be a valid part of a literal.

explore: explore_name {
  fields: [- ALL_FIELDS*]
}
@joshtemple
Copy link
Owner Author

Since this syntax is non-documented and really breaks assumptions about what a literal is in LookML (they shouldn't be able to contain spaces), I don't think it's worth supporting this syntax. It's a trivial change for the user to make to update to the conventional approach which is -ALL_FIELDS*.

This issue was closed.
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