Got it

[ Technical Dry Goods ] Data asset collection task configuration sharing

Latest reply: Mar 30, 2021 02:09:01 125 1 0 0 0

Hello, everyone!

Today I'm going to introduce you DAYU


background:

        Configuring and running collection tasks is a prerequisite for building data assets. The following examples illustrate how to configure collection tasks to achieve the purpose of flexibly collecting metadata.

Scenario 1: The newly added data table in the user's database, the collection task only collects the newly added table

qwe


Configuration example: According to the following configuration, the collection task will only collect table4. (Premise: table1-table3 are already in the data asset)


qwe



Scenario 2: A new data table is added to the user's database, and the collection task collects all tables specified in the data source

pp


Configuration example: According to the following configuration, the collection task will collect all tables under default

p



Scenario 3: There are new data tables in the user's database, and the collection task only collects tables that already exist in the data assets

p

Configuration example: According to the following configuration, the collection task only collects table1/table2/table3

p

Scenario 4: The data table in the user's database is deleted, and the collection task can delete the corresponding data table in the data asset

p

Configuration example: According to the following configuration, the collection task will delete table2 in the data asset

p


to sum up

  • The description of the configuration items of the database and the data table in the collection task:

  1. The setting items of the database and data table in the collection task limit the scope of the metadata scanned by the collection task.

  2. The database setting item limits the scope of scanning the database. When no setting is made, all databases are selected by default;

  3. The data table setting item limits the scope of the scanned data table, and can be set for each selected database. When no data table is set under a certain database, all data tables under this database are scanned by default.

  4. When the database and data table setting items are empty, all data tables under the data connection are scanned by default.

Note: The configuration items in the metadata collection specify the update and delete strategy when the collection task performs metadata collection. It should be noted that the configured update and delete strategy is applied within the scope of the database and data table configured by the user.

  • The data source metadata updated option refers to how the metadata in the data directory is updated when the metadata in the data source changes.

  1. Update only the metadata in the data directory: The collection task only updates the metadata that has been collected in the data directory

  2. Only add new metadata: The collection task only collects metadata that exists in the data source, but does not exist in the data directory

  3. Update the metadata in the data directory and add new metadata: the collection task fully synchronizes the metadata in the data source

  4. Ignore update and add operations: do not collect metadata from the data source

  • Data source metadata deleted refers to the way the metadata in the data directory is deleted when the metadata in the data source changes.

  1. Delete metadata from the data directory: When some metadata in the data source has been deleted, the corresponding metadata in the data directory will also be deleted synchronously

  2. Ignore deletion: When some metadata in the data source has been deleted, the corresponding metadata will not be deleted synchronously in the data directory







Nice
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.