2022-04-08 20:48:48 +05:30
|
|
|
from datahub.ingestion.source.sql.druid import DruidConfig
|
2021-07-14 20:29:23 -07:00
|
|
|
|
|
|
|
|
|
|
|
def test_druid_uri():
|
|
|
|
config = DruidConfig.parse_obj({"host_port": "localhost:8082"})
|
|
|
|
|
|
|
|
assert config.get_sql_alchemy_url() == "druid://localhost:8082/druid/v2/sql/"
|