Fix handling event stream tables (#855)
Follow up to https://github.com/mozilla/lookml-generator/pull/854
This commit is contained in:
Родитель
75e4302546
Коммит
8f400e4ecc
|
@ -125,7 +125,7 @@ def _generate_dimensions(client: bigquery.Client, table: str) -> List[Dict[str,
|
|||
and name != "submission"
|
||||
and not name.endswith("end")
|
||||
and not name.endswith("start")
|
||||
and not (name != "event" and dimension["type"] != "time")
|
||||
and not (name == "event" and dimension["type"] == "time")
|
||||
):
|
||||
raise click.ClickException(
|
||||
f"duplicate dimension {name!r} for table {table!r}"
|
||||
|
|
Загрузка…
Ссылка в новой задаче