Logical table and field details

Updated at:

This topic describes how to view the asset details of logical tables and fields.

Accessing logical table details

  1. On the Dataphin homepage, choose Governance > Asset Inventory from the top navigation bar.

  2. On the Table tab, you can filter for dimension logical tables, fact logical tables, aggregate logical tables, or tag logical tables.

  3. In the list of logical tables, click the name of the target logical table or the image icon in the actions column to open the details page.

Logical table details

The information displayed may vary for different logical tables. The following figure uses a dimension logical table as an example. The actual page that you see may differ.

Logical tables include dimension logical tables, fact logical tables, aggregate logical tables, and tag logical tables.

image

Section

Description

①Summary

This section displays basic information about the table, such as its type, environment, name, tags, and description. You can also perform the following actions:

  • Search for other assets: Quickly search for and switch to another asset to view its details.

  • View asset details: If the current object has been published to the asset catalog, you can go to the catalog details page to view the published information.

  • View production/development object: Quickly switch between the object details in the corresponding production and development environments.

  • Tags: Displays the tags configured for the current asset. To modify tags, click Edit:

    • Each tag value can be up to 128 characters long.

    • Each asset can have a maximum of 20 tag values.

    • Super administrators can modify asset tags for all table types. Table owners can modify asset tags for tables they own. Domain architects can modify asset tags for logical tables within the domains they manage.

  • Subscribe to changes: This action is available only if you have purchased the asset operations, metadata collection, and metadata management features. Select a data table to which you want to subscribe. In the New Subscription dialog box, configure the subscription content, notification method, and frequency. Subscription requires view permissions for the table; otherwise, the subscription fails. For more information, see Create a subscription.

  • Unsubscribe: You can unsubscribe from a data table. After you unsubscribe, you will no longer receive notifications about the table's status changes.

  • Favorite: Click to add or remove the asset from your favorites. After you add an asset to your favorites, you can find your 30 most recent favorites under My Footprints in the asset inventory list for quick access. You can also view all your favorited assets in the Personal Data Center. For more information, see View and manage my favorite assets.

  • Analyze: Click to go to the Notebook page and automatically create a corresponding Notebook task. For more information, see Create a Notebook.

  • Apply for permissions: Click to go to the permission application page for the current table. For more information, see Apply for, renew, and return table permissions.

  • Report quality issues: You can use this feature to report quality issues (such as unstable data output or inaccurate data content) to the current quality owner. This notifies the responsible personnel to make timely corrections, helping improve asset availability and health. For configuration details, see Add and manage issue lists.

    You must activate the Data Quality module to use the Report quality issues feature. You can then track the status and resolution of reported issues in the issue list of the Data Quality module.

  • Generate SELECT statement: Click More in the upper-right corner and select Generate SELECT statement to generate a query statement for the current table. You can choose whether to add escape characters. You can copy the query statement and run it in the ad-hoc query or analysis page to query data.

  • View DDL statement: Click More in the upper-right corner and select View DDL statement. Since DDL operations are not supported for logical tables, this option displays the DDL statement for a physical table with the same structure as the logical table. This can be useful for quickly creating a target table in a destination data source for data synchronization. You can also select a Data source type and click Generate DDL statement to generate a DDL statement for creating a table with the same structure in the specified data source. If you select Automatically add escape characters, the generated DDL statement will automatically include the appropriate escape characters for the selected source type, preventing issues such as keyword conflicts.

    image

  • Edit table: Click More in the upper-right corner and select Edit table to go to the Develop > Table Management page and edit the DDL information for the table. For more information, see Create and edit an offline physical table.

  • Export fields: Click More in the upper-right corner and select Export fields to export field information of the table in CSV format. This helps other developers or business users quickly analyze and use the data.

  • View transfer records: Click More in the upper-right corner and select View transfer records to view the 100 most recent ownership transfer records for the table.

  • View permission list: Click More in the upper-right corner and select View permission list to view the table's permissions.

  • Refresh metadata: Click More in the upper-right corner and select Refresh metadata. If a table was not created in Dataphin, or if metadata collection latency prevents a newly created table from appearing in search results, you can click Refresh metadata to pull the latest metadata from the compute engine into Dataphin. 

Note

Tables in the analytics platform do not support the Analyze, Apply for permissions, Report quality issues, Edit table, View transfer records, or View permission list actions.

②Details

  • This section displays table, field, and partition information.

    • Table details: Displays the properties of the table, including Data domain, Subject domain, Project, Highest security level (requires purchasing the data security feature), Is partitioned table, Is analytics platform manual table, Is lake table, Lake table format, Table storage mode, Storage format, Storage size, lifecycle, and Location.

      • Project: The project to which the table belongs. Click the project name to go to the project's asset details page.

      • Highest security level: The highest sensitivity level among the table's fields, which allows you to quickly understand the data confidentiality of the table. Data Classification levels range from L1 to L4 (Public to Top Secret), along with custom data classifications.

      • Table storage mode: If the data table is a lake table and its format is Hudi, this information can be collected from the table's source (compute source).

      • Storage size: The actual storage size of the table, updated on a T+1 basis.

      • Lifecycle: The retention period of the table, in days.

    Note

    When you create a logical table, the system may automatically generate multiple materialized tables. The system retrieves information about whether it is a lake table, the lake table format, and the table storage mode from the first materialized table that is generated.

    • Field information: Includes the field name (primary keys are marked with a key icon), description, data type, associated standard (requires purchasing the Data Standards module), sample data (displayed only when the Data Sampling feature is enabled), data category (requires purchasing the Security module), data classification (requires purchasing the Security module), and popularity information. You can also search, filter, and view the data lineage of fields.

      • View data lineage: Click the data lineage image icon in the actions column to view the field-level lineage centered on the specified field.

      • Search and filter: You can search for fields by name or description, and filter fields by data category or data classification (requires activating Data Security).

    • Partition information: Displays the partition information of the data table.

      • Field: Select a field and a corresponding date range to view data for the 30 partitions preceding the selected end date.

      • Field partition details: A dark color indicates that the field has records in the corresponding partition, while a light color indicates that it has no records.

    • Related assets: Displays the dimension information associated with the current table. Click a table name to go to its details page.

③Lineage & impact

  • Lineage displays the data lineage between tables and fields.

    • The sources of table-level lineage include integration and synchronization tasks, SQL compute tasks, and logical table tasks for which the system can automatically parse lineage; custom lineage that you configure manually on compute tasks. For more information, see Table-level lineage.

    • The sources of field-level lineage include integration and synchronization tasks (field-level lineage can be parsed only for some data sources), SQL compute tasks, and logical table tasks for which the system can automatically parse lineage; custom lineage that you configure manually on compute tasks. For more information, see Field-level lineage.

      Note
      • For lineage that is automatically parsed by the system and lineage that is manually configured in compute tasks, the table and field-level lineage for the development environment is parsed when a task is submitted. The table and field-level lineage for the production environment is parsed when the task is published. A maximum of 100,000 lineage relationships can be parsed for a single task submission or publication. If this limit is exceeded, the lineage is not recorded and cannot be displayed in the asset inventory.

      • Deleting a logical table also deletes its associated data lineage.

  • Impact includes Data table impact and Integration and synchronization impact.

    • Data table impact: Displays the direct downstream tables that reference the current table, as well as the indirect downstream tables that reference the direct downstream tables. You can export the data or show only direct downstream tables.

      • Export data: Exports the data as an Excel file for business users to browse.

      • Show only direct downstream tables: When selected, this option displays only the tables directly impacted by the current table. When deselected, it shows all downstream impacted tables, up to a maximum of 15 levels (starting from the direct downstream table as the first level).

    • Integration and synchronization impact: Displays the integration and synchronization tasks where the current table and its downstream tables are used as sources. You can export the data or show only the impacts of the current table.

      • Export data: Exports the data as an Excel file for business users to browse.

      • Show only impacts of the current table: When selected, this option displays only the integration tasks where the current table is an input table. When deselected, it shows integration tasks where the current table and all its downstream impacted tables are used as input tables, up to a maximum of 15 levels (starting from the direct downstream table as the first level).

④Quality overview

If you have activated the Data Quality feature, this section displays a rule validation summary and a list of quality monitoring rules for the current data table. Click View report details or View rule details to go to the corresponding page in the Data Quality module for more details.

Note

Viewing the quality overview is not supported for analysis platform tables.

⑤Data profiling

If you have activated the Data Quality feature, you can configure data profiling tasks for the data table to quickly understand data characteristics and evaluate its usability and potential risks. To enable automatic profiling, you can go to Governance > Metadata Center > Profiling and Analysis and configure the related settings. For more information, see Create a data profiling task.

⑥Data preview

If sample data exists for the data table, it is displayed by default. You can also manually trigger a query for the latest data. If no sample data exists, a data preview query is automatically triggered.

  • Sample data: This is displayed when both the data sampling switch and the data preview switch in the configuration are enabled. It only queries sample data for fields that you have column-level permissions for and that do not require data masking. The sampled data for each field is stored and sorted independently, but the displayed rows may not correspond to actual rows in the source table.

  • Data preview: If you have permission to query the data in the current table, you can use the data preview feature. It queries data only from fields for which you have SELECT permissions (including field and row-level permissions). You can preview up to 50 data records. For information on how to apply for permissions, see Apply for, renew, and return table permissions.

You can search or filter the data by field, view single-row details, auto-fit column widths, expand or collapse field display names, and switch between row and column views. You can also click the sort icon next to a field to apply No sort, Ascending, or Descending order. Double-click a field value to copy it.

Note

If a field type is HyperLogLog (HLL), a preview of the field's information cannot be displayed.

⑦Output information

Output tasks include data writing tasks for this object, tasks for which this table is set as an output table through automatic lineage parsing or custom configuration, and tasks for which the node output name is in the Project Name.Table Name format.

The output task list is updated in near-real time, and output details are updated on a T+1 basis.

image.png

  • ① View output details: You can view output details only for periodic tasks. For more information, see Output details.

  • ② Go to O&M: Click Go to O&M to go to the task list page in the O&M center. The system filters for the current task so you can view more information.

⑧Usage guide

You can add a usage guide for the data table to provide reference information for data viewers and consumers. Click Add usage guide, and then enter a title and content to add the guide.image

⑨Asset information

This section displays detailed information for the physical table, including Basic information, Change information, and Usage information.

  • Basic information: Includes Environment, Table Type, Creation Time, Creator, Owner, and Output Tasks.

    • Owner: The owner of the current table. You can transfer ownership of the table to another user. In the Transfer owner dialog box, you can choose whether to simultaneously transfer ownership of the table in the development and production environments. Select a Recipient and click OK to complete the transfer. We recommend notifying the recipient after the transfer. You can view transfer information on the transfer records page. For more information, see View transfer records.

      Note
      • Super administrators can transfer ownership for all table types. Table owners can transfer ownership of the tables they own.

      • Domain architects can transfer ownership of logical tables within their managed domains.

      • In special cases, if an aggregate logical table initially has no owner, super administrators and domain administrators can change the owner.

    • Output task: You can view the output tasks for the current table. These include data writing tasks for this object, tasks where this table is set as an output table through lineage parsing or configuration, and tasks where the node output name matches the Project Name.Table Name format. Click the name of an output task to go to its O&M details page.

      Note

      You can view output details only for periodic tasks.

  • Change information: Includes Data Change, Last Accessed, and DDL Change.

    • Data change: Dataphin collects the time of the most recent table content change (corresponding to a DML operation) from the compute engine. This information is updated in near-real time.

    • Last accessed: Based on SQL parsing in Dataphin, this is the time of the most recent SELECT operation (corresponding to a DQL operation). Access triggered by external systems is not counted. This information is updated in real time.

    • DDL change: Based on SQL parsing in Dataphin, this is the time of the most recent table structure change (corresponding to a DDL operation). Changes triggered by external systems are not counted. This information is updated in real time.

  • Usage information: Includes Favorites, Page views, and Access count.

    • Favorites: The number of users who have favorited the current table. This information is updated in real time.

    • Page views (PV): The number of page views for the current data table's details page. The count increases by one each time the page is refreshed. This information is updated in real time.

    • Access count: Based on SQL parsing, each time the table is selected in a Dataphin task (a DQL operation), the access count increments by one. This is updated on a T+1 basis and shows the total access count over the last 30 days.

Field details

This section displays the details of the table to which the field belongs. For more information, see Logical table details.