You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
View files that share model files. So the same view file can be used when run from 2 different models( let's say model_1 and model_2 ). Also, these models have the same connection as well. And if view_naming_pattern is set to "{project}.{model}.view.{name}" .
Expected behaviour is to have the view file be ingested twice for each model. So the URN pattern would be {project}.{model_1}.view.{name} and {project}.{model_2}.view.{name}However, the view file gets ingested only once. So only {project}.{model_1}.view.{name} . It is due to the fact that they share the same connection. This behavior is not seen if the different models belong to different connections . Then it gets ingested as expected.
Due to this bug, there is as expected no lineage between the Explore and View file
To Reproduce
Steps to reproduce the behavior:
Ingest a view file that is share between models belonging to the same connection. Set view_naming_pattern to "{project}.{model}.view.{name}" .
Go to the container of the different models, you will see the view being only present in one of the model containers, while absent in the other
Expected behavior
The view file needs to be ingested, with the model names specified in the URN, even though they share the same connection
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS]
version 0.14.0.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
k7ragav
changed the title
LookML view file shared between multiple models gets ingested only once; particularly 'model' specified in view_naming_pattern
LookML view file shared between multiple models, with same connection, gets ingested only once
Dec 5, 2024
Describe the bug
View files that share model files. So the same view file can be used when run from 2 different models( let's say model_1 and model_2 ). Also, these models have the same connection as well. And if view_naming_pattern is set to "{project}.{model}.view.{name}" .
Expected behaviour is to have the view file be ingested twice for each model. So the URN pattern would be {project}.{model_1}.view.{name} and {project}.{model_2}.view.{name}However, the view file gets ingested only once. So only {project}.{model_1}.view.{name} . It is due to the fact that they share the same connection. This behavior is not seen if the different models belong to different connections . Then it gets ingested as expected.
Due to this bug, there is as expected no lineage between the Explore and View file
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The view file needs to be ingested, with the model names specified in the URN, even though they share the same connection
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: