Querying Fact Table Details
Function
This API is used to query the details of a fact table with a specified ID.
URI
GET /v2/{project_id}/design/fact-logic-tables/{id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID |
|
id |
Yes |
String |
Entity ID |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
latest |
No |
Boolean |
Whether to query the latest data |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
Table ID |
|
tb_name |
String |
Table name Maximum: 600 |
|
tb_logic_name |
String |
Logical entity name Maximum: 200 |
|
l1_id |
Long |
Subject area group ID |
|
l2_id |
String |
Subject area ID |
|
l3_id |
Long |
Business object GUID |
|
description |
String |
Maximum: 600 |
|
dw_name |
String |
Data connection name |
|
owner |
String |
Asset owner |
|
create_by |
String |
Creator |
|
queue_name |
String |
Queue required for a DLI data connection to execute SQL statements. This parameter is mandatory for DLI data connections. |
|
dw_id |
String |
Data connection ID |
|
db_name |
String |
Database name |
|
tb_id |
String |
Data table ID |
|
dim_table_ids |
Array of strings |
IDs of the dimension tables associated with the fact table |
|
reversed |
Boolean |
Whether the table is reversed Default: false |
|
partition_conf |
String |
Partition expression |
|
dirty_out_switch |
Boolean |
Whether to export dirty data Default: false |
|
dirty_out_database |
String |
Database to which dirty data will be exported |
|
dirty_out_prefix |
String |
Prefix of the table with dirty data |
|
dirty_out_suffix |
String |
Suffix of the table with dirty data |
|
schema |
String |
Schema, which is required for DWS |
|
distribute |
String |
DISTRIBUTE BY [HASH(column)|REPLICATION] Enumeration values:
|
|
distribute_column |
String |
DISTRIBUTE BY HASH column |
|
table_type |
String |
Table type |
|
status |
String |
Business statuses Enumeration values:
|
|
tb_guid |
String |
GUID of the physical table corresponding to the published table |
|
tb_logic_guid |
String |
GUID of the logical entity corresponding to the published table |
|
dw_type |
String |
Data connection type |
|
l1 |
String |
Chinese name of the subject area group |
|
l2 |
String |
Chinese name of the subject area |
|
l3 |
String |
Chinese name of the business object |
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
approval_info |
ApprovalVO object |
Approval information |
|
new_biz |
BizVersionManageVO object |
Business version management |
|
dimensions |
Array of FactTableAttributeVO objects |
Fact table dimensions |
|
attributes |
Array of FactTableAttributeVO objects |
Fact table attributes |
|
mappings |
Array of TableMappingVO objects |
Table mappings |
|
measures |
Array of FactTableAttributeVO objects |
Fact table measures |
|
table_attributes |
Array of FactTableAttributeVO objects |
All attributes of a fact table |
|
physical_table |
String |
Table creation status Enumeration values:
|
|
technical_asset |
String |
Technical asset synchronization status Enumeration values:
|
|
business_asset |
String |
Logical asset synchronization status Enumeration values:
|
|
meta_data_link |
String |
Asset association status Enumeration values:
|
|
data_quality |
String |
Quality job status Enumeration values:
|
|
summary_status |
String |
Overall synchronization status Enumeration values:
|
|
quality_id |
Long |
Quality ID |
|
alias |
String |
Alias |
|
self_defined_fields |
Array of SelfDefinedFieldVO objects |
Custom fields |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
tenant_id |
String |
tenant id |
|
name_ch |
String |
Approval name in Chinese |
|
name_en |
String |
Approval name in English |
|
biz_id |
Long |
Business ID |
|
biz_type |
String |
Business types Enumeration values:
|
|
biz_info |
String |
Business information |
|
biz_info_obj |
Object |
Business information object |
|
biz_version |
Integer |
Business version |
|
biz_status |
String |
Business statuses Enumeration values:
|
|
approval_status |
String |
Approval statuses Enumeration values:
|
|
approval_type |
String |
Approval types Enumeration values:
|
|
submit_time |
String |
Submission time |
|
create_by |
String |
Creator |
|
l1 |
String |
Subject area group |
|
l2 |
String |
Subject area |
|
l3 |
String |
Business object |
|
approval_time |
String |
Approval time |
|
approver |
String |
Approver |
|
|
String |
Approver email address |
|
msg |
String |
Approval message |
|
directory_path |
String |
Directory tree |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID information |
|
biz_type |
String |
Business types Enumeration values:
|
|
biz_id |
Long |
Business ID |
|
biz_info |
String |
Business object information |
|
status |
String |
Business statuses Enumeration values:
|
|
biz_version |
Integer |
Business version |
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
fact_logic_table_id |
Long |
Fact table ID |
|
ordinal |
Integer |
Ordinal |
|
dimension_id |
Long |
Dimension ID |
|
role |
String |
Attribute role Maximum: 200 |
|
dimension |
DimensionVO object |
Dimension |
|
is_primary_key |
Boolean |
Whether the attribute is a primary key Default: false |
|
is_partition_key |
Boolean |
Whether the attribute is a partition key Default: false |
|
is_foreign_key |
Boolean |
Whether the attribute is a foreign key Default: false |
|
description |
String |
Maximum: 600 |
|
data_type |
String |
Data type |
|
domain_type |
String |
Data type domains Enumeration values:
|
|
data_type_extend |
String |
Data type extended field Maximum: 50 |
|
name_en |
String |
Attribute name in English Maximum: 600 |
|
name_ch |
String |
Attribute name in Chinese Maximum: 200 |
|
not_null |
Boolean |
Whether the attribute is not null Default: false |
|
attribute_type |
String |
Attribute type, which can be FACT_DIMENSION, FACT_ATTRIBUTE, or FACT_MEASURE. Enumeration values:
|
|
stand_row_id |
Long |
ID of the associated data standard |
|
stand_row_name |
String |
Maximum: 600 |
|
quality_infos |
Array of QualityInfoVO objects |
Quality information |
|
alias |
String |
Alias |
|
self_defined_fields |
Array of SelfDefinedFieldVO objects |
Custom fields |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
name_en |
String |
Dimension name in English Maximum: 200 |
|
dimension_type |
String |
Dimension type Default: COMMON Enumeration values:
|
|
name_ch |
String |
Dimension name in Chinese Maximum: 200 |
|
description |
String |
Maximum: 600 |
|
create_by |
String |
Creator |
|
update_by |
String |
User who updated the dimension |
|
code_table_id |
Long |
Lookup table ID |
|
code_table |
CodeTableVO object |
Lookup table |
|
l1_id |
Long |
Subject area group ID |
|
l2_id |
String |
Subject area ID |
|
l3_id |
Long |
Business object ID |
|
hierarchies |
Array of DimensionHierarchiesVO objects |
Hierarchies |
|
status |
String |
Business statuses Enumeration values:
|
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
approval_info |
ApprovalVO object |
Approval information |
|
new_biz |
BizVersionManageVO object |
Business version management |
|
l1 |
String |
Chinese name of the subject area group |
|
l2 |
String |
Chinese name of the subject area |
|
l3 |
String |
Chinese name of the business object |
|
attributes |
Array of DimensionAttributeVO objects |
Dimension attributes |
|
mappings |
Array of TableMappingVO objects |
Table mappings |
|
datasource |
BizDatasourceRelationVO object |
Data source information |
|
owner |
String |
Asset owner |
|
table_type |
String |
Table type |
|
distribute |
String |
DISTRIBUTE BY [HASH(column)|REPLICATION] Enumeration values:
|
|
distribute_column |
String |
DISTRIBUTE BY HASH column |
|
alias |
String |
Alias |
|
self_defined_fields |
Array of SelfDefinedFieldVO objects |
Custom fields |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
name_en |
String |
Table name in English Maximum: 200 |
|
name_ch |
String |
Table name in Chinese Maximum: 200 |
|
tb_version |
Integer |
Table version |
|
directory_id |
Long |
Catalog ID |
|
directory_path |
String |
Catalog tree |
|
description |
String |
Description Maximum: 600 |
|
create_by |
String |
Creator |
|
status |
String |
Business statuses Enumeration values:
|
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
approval_info |
ApprovalVO object |
Approval information |
|
new_biz |
BizVersionManageVO object |
Business version management |
|
code_table_fields |
Array of CodeTableFieldVO objects |
Lookup table attribute information |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
code_table_id |
Long |
Lookup table ID |
|
ordinal |
Integer |
Ordinal |
|
name_en |
String |
Field name in English Maximum: 600 |
|
name_ch |
String |
Field name in Chinese Maximum: 200 |
|
description |
String |
Description Maximum: 600 |
|
data_type |
String |
Data type |
|
domain_type |
String |
Data type domains Enumeration values:
|
|
data_type_extend |
String |
Data type extended field Maximum: 50 |
|
is_unique_key |
Boolean |
Whether the attribute is unique Default: false |
|
code_table_field_values |
Array of CodeTableFieldValueVO objects |
Lookup table attribute value |
|
count_field_values |
Integer |
Number of lookup table attribute values |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
fd_id |
Long |
Lookup table attribute ID |
|
fd_value |
String |
Lookup table attribute value |
|
ordinal |
Integer |
Ordinal |
|
description |
String |
Description Maximum: 600 |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
name |
String |
Hierarchy name Maximum: 600 |
|
attrs |
Array of HierarchiesAttrVO objects |
Hierarchy attribute |
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
create_by |
String |
Creator |
|
update_by |
String |
User who updated the dimension hierarchy |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
hierarchies_id |
Long |
Hierarchy ID |
|
attr_id |
Long |
Attribute ID |
|
level |
Integer |
Level |
|
attr_name_en |
String |
Hierarchy attribute name in English |
|
attr_name_ch |
String |
Hierarchy attribute name in Chinese |
|
detail_attr_ids |
Array of integers |
IDs of detail attributes |
|
detail_attr_name_ens |
Array of strings |
Detail attribute name in English |
|
detail_attr_name_chs |
Array of strings |
Detail attribute name in Chinese |
|
attr |
DimensionAttributeVO object |
Hierarchy attribute field |
|
detail_attrs |
Array of DimensionAttributeVO objects |
Detail attributes |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
dimension_id |
Long |
Dimension ID |
|
code_table_field_id |
Long |
Lookup table attribute ID |
|
name_en |
String |
Dimension attribute name in English Maximum: 600 |
|
name_ch |
String |
Dimension attribute name in Chinese Maximum: 200 |
|
description |
String |
Maximum: 600 |
|
create_by |
String |
Creator |
|
data_type |
String |
Data type |
|
domain_type |
String |
Data type domains Enumeration values:
|
|
data_type_extend |
String |
Data type extended field Maximum: 50 |
|
is_primary_key |
Boolean |
Whether the attribute is a primary key Default: false |
|
is_biz_primary |
Boolean |
Whether the attribute is a business primary key Default: false |
|
is_partition_key |
Boolean |
Whether the attribute is a partition key Default: false |
|
ordinal |
Integer |
Ordinal |
|
not_null |
Boolean |
Whether the attribute is not null Default: false |
|
stand_row_id |
Long |
ID of the associated data standard |
|
stand_row_name |
String |
Maximum: 600 |
|
quality_infos |
Array of QualityInfoVO objects |
Quality information |
|
status |
String |
Business statuses Enumeration values:
|
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
alias |
String |
Alias |
|
self_defined_fields |
Array of SelfDefinedFieldVO objects |
Custom fields |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
name |
String |
Name |
|
description |
String |
Maximum: 600 |
|
target_table_id |
Long |
Destination table ID |
|
src_model_id |
Long |
Model ID for the source table |
|
src_model_name |
String |
Source model name |
|
view_text |
String |
Source view. The DWS view is used reversely. |
|
target_table_name |
String |
Destination table name |
|
details |
Array of TableMappingDetailVO objects |
Details |
|
source_tables |
Array of MappingSourceTableVO objects |
Source tables |
|
source_fields |
Array of MappingSourceFieldVO objects |
Source fields |
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
create_by |
String |
Creator |
|
update_by |
String |
User who updated the table mapping |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
mapping_id |
String |
Mapping ID |
|
target_attr_id |
Long |
Destination field ID |
|
target_attr_name |
String |
Target attribute name |
|
src_table_ids |
String |
ID of a source table |
|
src_table_names |
Array of strings |
Source table names |
|
src_table_db_names |
Array of strings |
Database names in the source table |
|
src_table_model_ids |
Array of integers |
IDs of source table models |
|
src_table_id_list |
Array of integers |
IDs of source tables |
|
src_attr_ids |
String |
ID of a source table attribute |
|
src_attr_names |
Array of strings |
Names of source table attributes |
|
src_attr_id_list |
Array of integers |
IDs of source table attributes |
|
remark |
String |
Remarks |
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
create_by |
String |
Creator |
|
update_by |
String |
User who updated the table mapping details |
|
target_attr |
Object |
Target attribute |
|
Parameter |
Type |
Description |
|---|---|---|
|
table1_id |
Long |
Table ID |
|
table2_id |
Long |
Table ID Default: 0 |
|
table1_name |
String |
Table 1 name |
|
table2_name |
String |
Table 2 name |
|
join_type |
String |
Association type Default: LEFT Enumeration values:
|
|
join_fields |
Array of MappingJoinFieldVO objects |
ON clause |
|
Parameter |
Type |
Description |
|---|---|---|
|
field1_id |
Long |
Attribute ID |
|
field2_id |
Long |
Attribute ID |
|
field1_name |
String |
Name of join field 1 |
|
field2_name |
String |
Name of join field 2 |
|
Parameter |
Type |
Description |
|---|---|---|
|
target_field_id |
Long |
Target field ID. The target field is a field in the current table. |
|
target_field_name |
String |
Target field name |
|
field_ids |
String |
IDs of source fields. Multiple IDs are separated by commas (,). |
|
transform_expression |
String |
Conversion expression |
|
field_names |
Array of strings |
Names of source fields |
|
changed |
Boolean |
Whether the field has changed |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
biz_id |
Long |
Business object information |
|
biz_type |
String |
Business object type Enumeration values:
|
|
dw_type |
String |
Data connection type |
|
dw_id |
String |
Data connection ID |
|
dw_name |
String |
Data connection name |
|
db_name |
String |
Database name |
|
queue_name |
String |
Queue required for a DLI data connection to execute SQL statements. This parameter is mandatory for DLI data connections. |
|
schema |
String |
Schema, which is required for DWS |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
ID |
|
table_id |
Long |
Table ID |
|
attr_id |
Long |
Attribute ID |
|
biz_type |
String |
Business types Enumeration values:
|
|
data_quality_id |
Long |
Quality ID |
|
show_control |
Integer |
Whether to display the regular expression |
|
data_quality_name |
String |
Quality name |
|
alert_conf |
String |
Alarm configuration |
|
expression |
String |
Regular expression in verification rules |
|
extend_info |
String |
Extended information |
|
from_standard |
Boolean |
Whether the quality information is from data standard quality configuration Default: false |
|
result_description |
String |
Result description |
|
create_by |
String |
Creator |
|
update_by |
String |
User who updated the quality information |
|
create_time |
String |
Creation time |
|
update_time |
String |
Update time |
|
Parameter |
Type |
Description |
|---|---|---|
|
fd_name_ch |
String |
Custom field name in Chinese Maximum: 200 |
|
fd_name_en |
String |
Custom field name in English Maximum: 200 |
|
not_null |
Boolean |
Whether the field is mandatory |
|
fd_value |
String |
Field value |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code, for example, DS.000 which indicates that the request was successfully processed. |
|
error_msg |
String |
Error message |
|
data |
Object |
Returned data |
Status code: 401
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code, for example, DS.000 which indicates that the request was successfully processed. |
|
error_msg |
String |
Error message |
|
data |
Object |
Returned data |
Status code: 403
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code, for example, DS.000 which indicates that the request was successfully processed. |
|
error_msg |
String |
Error message |
|
data |
Object |
Returned data |
Example Requests
None
Example Responses
Status code: 200
The operation succeeds. FactLogicTableVO is returned.
{
"id" : "1014288257548156928",
"tb_name" : "fact_order",
"tb_logic_name" : "Order",
"l1_id" : "873232498044411904",
"l2_id" : null,
"l3_id" : null,
"description" : "None",
"dw_name" : "dli_link_1",
"owner" : "test02",
"create_by" : "abc",
"queue_name" : "default",
"dw_id" : "2c9080f07b03db8d017b198a4a20002f",
"db_name" : "ctz_test",
"tb_id" : null,
"dim_table_ids" : null,
"reversed" : null,
"partition_conf" : null,
"dirty_out_switch" : false,
"dirty_out_database" : "",
"dirty_out_prefix" : "",
"dirty_out_suffix" : "",
"schema" : "",
"distribute" : null,
"distribute_column" : null,
"table_type" : "MANAGED",
"status" : "DRAFT",
"tb_guid" : null,
"tb_logic_guid" : null,
"dw_type" : "DLI",
"l1" : "City traffic",
"l2" : null,
"l3" : null,
"create_time" : "2022-08-30T21:39:25+08:00",
"update_time" : "2022-08-30T21:39:25+08:00",
"approval_info" : null,
"new_biz" : null,
"dimensions" : [ {
"id" : "1014288257556545536",
"fact_logic_table_id" : "1014288257548156928",
"ordinal" : 1,
"dimension_id" : "873251051724242944",
"role" : null,
"dimension" : {
"id" : "873251051724242944",
"name_en" : "dim_vendor",
"dimension_type" : "LOOKUP",
"name_ch" : "Vendor",
"description" : "None",
"create_by" : "abc",
"update_by" : null,
"code_table_id" : "873235088123527168",
"code_table" : null,
"l1_id" : null,
"l2_id" : null,
"l3_id" : "873233599258927104",
"hierarchies" : [ ],
"status" : "PUBLISHED",
"create_time" : "2021-08-06T17:07:55+08:00",
"update_time" : "2021-08-06T17:36:03+08:00",
"approval_info" : null,
"new_biz" : null,
"l1" : null,
"l2" : null,
"l3" : null,
"attributes" : [ {
"id" : "873251051732631552",
"dimension_id" : "873251051724242944",
"code_table_field_id" : null,
"name_en" : "vendor_id",
"name_ch" : "Vendor ID",
"description" : "",
"create_by" : "abc",
"data_type" : "BIGINT",
"domain_type" : "NUMBER",
"data_type_extend" : null,
"is_primary_key" : true,
"is_biz_primary" : true,
"is_partition_key" : false,
"ordinal" : 1,
"not_null" : true,
"stand_row_id" : null,
"stand_row_name" : null,
"quality_infos" : null,
"status" : null,
"create_time" : "2021-08-06T17:07:55+08:00",
"update_time" : "2021-10-14T10:54:54+08:00",
"alias" : null,
"self_defined_fields" : null
}, {
"id" : "873251051732631553",
"dimension_id" : "873251051724242944",
"code_table_field_id" : null,
"name_en" : "vendor_value",
"name_ch" : "Vendor",
"description" : "",
"create_by" : "abc",
"data_type" : "STRING",
"domain_type" : "STRING",
"data_type_extend" : null,
"is_primary_key" : false,
"is_biz_primary" : false,
"is_partition_key" : false,
"ordinal" : 2,
"not_null" : false,
"stand_row_id" : null,
"stand_row_name" : null,
"quality_infos" : null,
"status" : null,
"create_time" : "2021-08-06T17:07:55+08:00",
"update_time" : "2021-10-14T10:54:54+08:00",
"alias" : null,
"self_defined_fields" : null
} ],
"mappings" : null,
"datasource" : {
"id" : "873251051745214464",
"biz_id" : "873251051724242944",
"biz_type" : "DIMENSION",
"dw_type" : "DLI",
"dw_id" : "2c9080f07b03db8d017b198a4a20002f",
"dw_name" : null,
"db_name" : "demo_dwr_db",
"queue_name" : "dgc_dli_test",
"schema" : ""
},
"owner" : "abc",
"table_type" : "MANAGED",
"distribute" : null,
"distribute_column" : null,
"alias" : "",
"self_defined_fields" : null
},
"is_primary_key" : false,
"is_partition_key" : false,
"is_foreign_key" : true,
"description" : "",
"data_type" : "BIGINT",
"domain_type" : "NUMBER",
"data_type_extend" : null,
"name_en" : "vendor_id",
"name_ch" : "Vendor ID",
"not_null" : false,
"attribute_type" : "FACT_DIMENSION",
"stand_row_id" : null,
"stand_row_name" : null,
"quality_infos" : [ ],
"alias" : "",
"self_defined_fields" : [ ]
} ],
"attributes" : null,
"mappings" : [ ],
"measures" : [ {
"id" : "1014288257556545537",
"fact_logic_table_id" : "1014288257548156928",
"ordinal" : 2,
"dimension_id" : null,
"role" : null,
"dimension" : null,
"is_primary_key" : false,
"is_partition_key" : false,
"is_foreign_key" : null,
"description" : "",
"data_type" : "BIGINT",
"domain_type" : "NUMBER",
"data_type_extend" : "",
"name_en" : "fare",
"name_ch" : "Fare",
"not_null" : false,
"attribute_type" : "FACT_MEASURE",
"stand_row_id" : null,
"stand_row_name" : null,
"quality_infos" : [ ],
"alias" : "",
"self_defined_fields" : [ ]
} ],
"table_attributes" : [ {
"id" : "1014288257556545536",
"fact_logic_table_id" : "1014288257548156928",
"ordinal" : 1,
"dimension_id" : "873251051724242944",
"role" : null,
"dimension" : {
"id" : "873251051724242944",
"name_en" : "dim_vendor",
"dimension_type" : "LOOKUP",
"name_ch" : "Vendor",
"description" : "None",
"create_by" : "abc",
"update_by" : null,
"code_table_id" : "873235088123527168",
"code_table" : null,
"l1_id" : null,
"l2_id" : null,
"l3_id" : "873233599258927104",
"hierarchies" : [ ],
"status" : "PUBLISHED",
"create_time" : "2021-08-06T17:07:55+08:00",
"update_time" : "2021-08-06T17:36:03+08:00",
"approval_info" : null,
"new_biz" : null,
"l1" : null,
"l2" : null,
"l3" : null,
"attributes" : [ {
"id" : "873251051732631552",
"dimension_id" : "873251051724242944",
"code_table_field_id" : null,
"name_en" : "vendor_id",
"name_ch" : "Vendor ID",
"description" : "",
"create_by" : "abc",
"data_type" : "BIGINT",
"domain_type" : "NUMBER",
"data_type_extend" : null,
"is_primary_key" : true,
"is_biz_primary" : true,
"is_partition_key" : false,
"ordinal" : 1,
"not_null" : true,
"stand_row_id" : null,
"stand_row_name" : null,
"quality_infos" : null,
"status" : null,
"create_time" : "2021-08-06T17:07:55+08:00",
"update_time" : "2021-10-14T10:54:54+08:00",
"alias" : null,
"self_defined_fields" : null
}, {
"id" : "873251051732631553",
"dimension_id" : "873251051724242944",
"code_table_field_id" : null,
"name_en" : "vendor_value",
"name_ch" : "Vendor",
"description" : "",
"create_by" : "abc",
"data_type" : "STRING",
"domain_type" : "STRING",
"data_type_extend" : null,
"is_primary_key" : false,
"is_biz_primary" : false,
"is_partition_key" : false,
"ordinal" : 2,
"not_null" : false,
"stand_row_id" : null,
"stand_row_name" : null,
"quality_infos" : null,
"status" : null,
"create_time" : "2021-08-06T17:07:55+08:00",
"update_time" : "2021-10-14T10:54:54+08:00",
"alias" : null,
"self_defined_fields" : null
} ],
"mappings" : null,
"datasource" : {
"id" : "873251051745214464",
"biz_id" : "873251051724242944",
"biz_type" : "DIMENSION",
"dw_type" : "DLI",
"dw_id" : "2c9080f07b03db8d017b198a4a20002f",
"dw_name" : null,
"db_name" : "demo_dwr_db",
"queue_name" : "dgc_dli_test",
"schema" : ""
},
"owner" : "abc",
"table_type" : "MANAGED",
"distribute" : null,
"distribute_column" : null,
"alias" : "",
"self_defined_fields" : null
},
"is_primary_key" : false,
"is_partition_key" : false,
"is_foreign_key" : true,
"description" : "",
"data_type" : "BIGINT",
"domain_type" : "NUMBER",
"data_type_extend" : null,
"name_en" : "vendor_id",
"name_ch" : "Vendor ID",
"not_null" : false,
"attribute_type" : "FACT_DIMENSION",
"stand_row_id" : null,
"stand_row_name" : null,
"quality_infos" : [ ],
"alias" : "",
"self_defined_fields" : [ ]
}, {
"id" : "1014288257556545537",
"fact_logic_table_id" : "1014288257548156928",
"ordinal" : 2,
"dimension_id" : null,
"role" : null,
"dimension" : null,
"is_primary_key" : false,
"is_partition_key" : false,
"is_foreign_key" : null,
"description" : "",
"data_type" : "BIGINT",
"domain_type" : "NUMBER",
"data_type_extend" : "",
"name_en" : "fare",
"name_ch" : "Billing",
"not_null" : false,
"attribute_type" : "FACT_MEASURE",
"stand_row_id" : null,
"stand_row_name" : null,
"quality_infos" : [ ],
"alias" : "",
"self_defined_fields" : [ ]
} ],
"physical_table" : "NO_NEED",
"technical_asset" : "NO_NEED",
"business_asset" : "NO_NEED",
"meta_data_link" : "NO_NEED",
"data_quality" : "NO_NEED",
"summary_status" : "NO_NEED",
"quality_id" : null,
"alias" : "",
"self_defined_fields" : [ {
"fd_name_ch" : "Data steward",
"fd_name_en" : "sjgj",
"not_null" : false,
"fd_value" : ""
}, {
"fd_name_ch" : "Responsible department",
"fd_name_en" : "zrbm",
"not_null" : false,
"fd_value" : ""
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
The operation succeeds. FactLogicTableVO is returned. |
|
400 |
BadRequest |
|
401 |
Unauthorized |
|
403 |
Forbidden |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.