elegant-toddler-36093
08/27/2021, 5:38 PMhigh-hospital-85984
08/27/2021, 6:00 PMparse_table_names_from_sql
to True in the recipe?
Be aware, depending on how complicated your sqls are, you might have a really bad time getting the result you're expecting. The current implementation uses a open-source sql parser, which might or might not support the dialect of SQL that your "backend" database is using. For example, Snowflakes dialect is not supported in full, not sure about Redshift. I had to work around this by implementing a custom parser, that makes EXPLAIN queries to Snowflake, and take it into use in the recipe (sql_parser
).
Furthermore, LookML allows defining templated filters and "liquid parameters" which are most certainly not supported by the default parser. I just ran into this problem myself today, and the current implementation of the lookml ingestor does not handle these parameters at all. FYI @mammoth-bear-12532elegant-toddler-36093
08/27/2021, 6:50 PMelegant-toddler-36093
08/27/2021, 6:50 PMsome-microphone-33485
08/27/2021, 10:37 PM