Understanding the `datahub put platform --logo` Command

Original Slack Thread

<@U06TM7M40RK> the commond : “datahub put platform --logo” will save logo locally or get logo from url each time

The datahub put platform --logo command does not save the logo locally. Instead, it specifies a URL from which the logo is fetched each time it is needed. The logo URL must be reachable from the DataHub UI.

According to the <https://github.com/datahub-project/datahub/blob/master/docs/cli.md|DataHub CLI documentation>, the --logo parameter in the datahub put platform command is used to specify a logo URL:

datahub put platform --name longtail_schemas --display_name "Long Tail Schemas" --logo "https://flink.apache.org/img/logo/png/50/color_50.png"

This means that the logo is fetched from the specified URL whenever it is required by the DataHub UI, rather than being stored locally.

Would you like more details on how this works or any other aspect of the DataHub CLI?

Sources:

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Are you using UI or CLI for ingestion?
  2. Which DataHub version are you using? (e.g. 0.12.0)
  3. What data source(s) are you integrating with DataHub? (e.g. BigQuery)

<@U06TM7M40RK> Can you help with the questions in this thread?


:information_source: We’re experimenting with a new AI assistant for questions in the <#CUMUWQU66> channel to help you track down helpful resources more quickly. Keep in mind that responses may not always be spot-on; feel free to ask it follow-up questions and don’t forget to provide its responses a :thumbsup: or :thumbsdown: so other folks in the Community know if you’re still looking for help on the topic!

To answer your question about the datahub put platform --logo command, the logo URL provided will be fetched from the URL each time it is needed, rather than being saved locally. This is confirmed by multiple sources:

  1. According to the <https://github.com/datahub-project/datahub/blob/master/docs/cli.md|DataHub CLI documentation>, the --logo parameter expects a URL that must be reachable from the DataHub UI. This implies that the logo is fetched from the URL each time it is required.
  2. As per the <Slack Slack conversation>, the logoUrl field in the DataPlatformInfo aspect takes an external URL, and it cannot pick up a local file.

Would you like more details on how this works or any other aspect of using the datahub put platform command?

Sources: