mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-09 07:53:33 +00:00
fix(lkml): bump lkml version up to 1.1.2 to support sql_preamble expression (#3757)
This commit is contained in:
parent
77e3641a50
commit
e76d40b57a
@ -111,7 +111,8 @@ plugins: Dict[str, Set[str]] = {
|
|||||||
"kafka-connect": sql_common | {"requests", "JPype1"},
|
"kafka-connect": sql_common | {"requests", "JPype1"},
|
||||||
"ldap": {"python-ldap>=2.4"},
|
"ldap": {"python-ldap>=2.4"},
|
||||||
"looker": looker_common,
|
"looker": looker_common,
|
||||||
"lookml": looker_common | {"lkml>=1.1.0", "sql-metadata==2.2.2"},
|
# lkml>=1.1.2 is required to support the sql_preamble expression in LookML
|
||||||
|
"lookml": looker_common | {"lkml>=1.1.2", "sql-metadata==2.2.2"},
|
||||||
"metabase": {"requests"},
|
"metabase": {"requests"},
|
||||||
"mode": {"requests", "sqllineage"},
|
"mode": {"requests", "sqllineage"},
|
||||||
"mongodb": {"pymongo>=3.11"},
|
"mongodb": {"pymongo>=3.11"},
|
||||||
|
|||||||
@ -0,0 +1,10 @@
|
|||||||
|
connection: "my_connection"
|
||||||
|
|
||||||
|
explore: included_sql_preamble {
|
||||||
|
sql_preamble:
|
||||||
|
CREATE TEMP FUNCTION CONCAT_VERBOSE(a STRING, b STRING)
|
||||||
|
RETURNS STRING AS (
|
||||||
|
CONCAT(a, b)
|
||||||
|
);
|
||||||
|
;;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user