Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-acryl committed Jul 10, 2024
1 parent cd932c3 commit 431e9f6
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions metadata-ingestion/docs/sources/looker/lookml_post.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
#### Configuration Notes

:::note

The integration can use an SQL parser to try to parse the tables the views depends on.

:::

This parsing is disabled by default, but can be enabled by setting `parse_table_names_from_sql: True`. The default parser is based on the [`sqllineage`](https://pypi.org/project/sqllineage/) package.
As this package doesn't officially support all the SQL dialects that Looker supports, the result might not be correct. You can, however, implement a custom parser and take it into use by setting the `sql_parser` configuration value. A custom SQL parser must inherit from `datahub.utilities.sql_parser.SQLParser`
and must be made available to Datahub by ,for example, installing it. The configuration then needs to be set to `module_name.ClassName` of the parser.
1. The sql parsing is disabled by default, but can be enabled by setting `parse_table_names_from_sql: True`.
2. If view contains liquid template then we can set liquid variable as key value pair in `liquid_variable` config parameter where key act as variable-name and value as variable's value

### Multi-Project LookML (Advanced)

Expand Down

0 comments on commit 431e9f6

Please sign in to comment.