mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-18 06:06:55 +00:00
feat(ingest): bump acryl-sqlglot (#8882)
This commit is contained in:
parent
5f06dbf542
commit
2a0200b047
@ -138,7 +138,7 @@ sqllineage_lib = {
|
||||
sqlglot_lib = {
|
||||
# Using an Acryl fork of sqlglot.
|
||||
# https://github.com/tobymao/sqlglot/compare/main...hsheth2:sqlglot:hsheth?expand=1
|
||||
"acryl-sqlglot==18.0.2.dev15",
|
||||
"acryl-sqlglot==18.5.2.dev45",
|
||||
}
|
||||
|
||||
aws_common = {
|
||||
|
@ -0,0 +1,31 @@
|
||||
{
|
||||
"query_type": "SELECT",
|
||||
"in_tables": [
|
||||
"urn:li:dataset:(urn:li:dataPlatform:hive,t1,PROD)",
|
||||
"urn:li:dataset:(urn:li:dataPlatform:hive,t2,PROD)"
|
||||
],
|
||||
"out_tables": [],
|
||||
"column_lineage": [
|
||||
{
|
||||
"downstream": {
|
||||
"table": null,
|
||||
"column": "a"
|
||||
},
|
||||
"upstreams": []
|
||||
},
|
||||
{
|
||||
"downstream": {
|
||||
"table": null,
|
||||
"column": "b"
|
||||
},
|
||||
"upstreams": []
|
||||
},
|
||||
{
|
||||
"downstream": {
|
||||
"table": null,
|
||||
"column": "c"
|
||||
},
|
||||
"upstreams": []
|
||||
}
|
||||
]
|
||||
}
|
@ -208,6 +208,16 @@ FROM snowflake_sample_data.tpch_sf100.orders
|
||||
)
|
||||
|
||||
|
||||
def test_select_ambiguous_column_no_schema():
|
||||
assert_sql_result(
|
||||
"""
|
||||
select A, B, C from t1 inner join t2 on t1.id = t2.id
|
||||
""",
|
||||
dialect="hive",
|
||||
expected_file=RESOURCE_DIR / "test_select_ambiguous_column_no_schema.json",
|
||||
)
|
||||
|
||||
|
||||
def test_merge_from_union():
|
||||
# TODO: We don't support merge statements yet, but the union should still get handled.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user