-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SemanticManifestLookup available for spec pattern creation (#1403)
MetricFlow's query input parameter processing runs through a pattern matching/parsing step that then produces a parameter spec for subsequent matching during group by resolution. In practice, every query parameter either directly references or is derived directly from one or more elements in a semantic manifest. Converting a parameter into a corresponsing spec pattern for a given query input can, therefore, benefit from access to the semantic manifest lookup objects we provide. This will allow us to do things like map custom granularities to their corresponding base granularities when doing group by resolution. This change simply makes the semantic manifest available to the method that converts between the query input parameter and the spec pattern. It isolates the availability of the semantic manifest lookup to this method because the other methods in the relevant classes should generally not be using the lookup to perform their operations, and the change as implemented here also has a more limited blast radius.
- Loading branch information
Showing
15 changed files
with
195 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.