mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 01:18:20 +00:00
chore(ingest): bump sqllineage and sqlparse (#8481)
This commit is contained in:
parent
9718505fc7
commit
89f23d3c36
@ -126,12 +126,11 @@ sql_common = {
|
||||
}
|
||||
|
||||
sqllineage_lib = {
|
||||
"sqllineage==1.3.6",
|
||||
"sqllineage==1.3.8",
|
||||
# We don't have a direct dependency on sqlparse but it is a dependency of sqllineage.
|
||||
# As per https://github.com/reata/sqllineage/issues/361
|
||||
# and https://github.com/reata/sqllineage/pull/360
|
||||
# sqllineage has compat issues with sqlparse 0.4.4.
|
||||
"sqlparse==0.4.3",
|
||||
# There have previously been issues from not pinning sqlparse, so it's best to pin it.
|
||||
# Related: https://github.com/reata/sqllineage/issues/361 and https://github.com/reata/sqllineage/pull/360
|
||||
"sqlparse==0.4.4",
|
||||
}
|
||||
|
||||
sqlglot_lib = {
|
||||
|
||||
@ -199,7 +199,7 @@ def test_make_usage_workunit():
|
||||
def test_query_formatting():
|
||||
test_email = "test_email@test.com"
|
||||
test_query = "select * from foo where id in (select id from bar);"
|
||||
formatted_test_query: str = "SELECT *\n FROM foo\n WHERE id in (\n SELECT id\n FROM bar\n );"
|
||||
formatted_test_query: str = "SELECT *\n FROM foo\n WHERE id IN (\n SELECT id\n FROM bar\n );"
|
||||
event_time = datetime(2020, 1, 1)
|
||||
|
||||
floored_ts = get_time_bucket(event_time, BucketDuration.DAY)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user