hemanthreddy901's picture
Enterprise corpus: 12 corpora, 16.5M rows, verified ground truth
e7c718e verified
Raw History Blame Contribute Delete
8.88 kB
table,check,status,detail
regions,pk_unique(region_id),PASS,0 duplicate rows
regions,pk_not_null,PASS,0 null-key rows
countries,pk_unique(country_id),PASS,0 duplicate rows
countries,pk_not_null,PASS,0 null-key rows
countries,fk_integrity(region_id->regions.region_id),PASS,0 orphan rows
countries,cardinality(region_id),PASS,max children per parent = 5
countries,fk_integrity(currency_code->currencies.currency_code),PASS,0 orphan rows
countries,cardinality(currency_code),PASS,max children per parent = 3
currencies,pk_unique(currency_code),PASS,0 duplicate rows
currencies,pk_not_null,PASS,0 null-key rows
fx_rates,"pk_unique(currency_code,rate_date)",PASS,0 duplicate rows
fx_rates,pk_not_null,PASS,0 null-key rows
fx_rates,fk_integrity(currency_code->currencies.currency_code),PASS,0 orphan rows
fx_rates,cardinality(currency_code),PASS,max children per parent = 1096
date_calendar,pk_unique(date_key),PASS,0 duplicate rows
date_calendar,pk_not_null,PASS,0 null-key rows
product_categories,pk_unique(category_id),PASS,0 duplicate rows
product_categories,pk_not_null,PASS,0 null-key rows
product_categories,fk_integrity(parent_category_id->product_categories.category_id),PASS,0 orphan rows
product_categories,cardinality(parent_category_id),PASS,max children per parent = 4
products,pk_unique(product_id),PASS,0 duplicate rows
products,pk_not_null,PASS,0 null-key rows
products,alt_key_unique(sku),PASS,0 duplicates
products,fk_integrity(category_id->product_categories.category_id),PASS,0 orphan rows
products,cardinality(category_id),PASS,max children per parent = 10
customers,pk_unique(customer_id),PASS,0 duplicate rows
customers,pk_not_null,PASS,0 null-key rows
customers,fk_integrity(country_id->countries.country_id),PASS,0 orphan rows
customers,cardinality(country_id),PASS,max children per parent = 20
customers,fk_integrity(parent_customer_id->customers.customer_id),PASS,0 orphan rows
customers,cardinality(parent_customer_id),PASS,max children per parent = 6
suppliers,pk_unique(supplier_id),PASS,0 duplicate rows
suppliers,pk_not_null,PASS,0 null-key rows
suppliers,fk_integrity(country_id->countries.country_id),PASS,0 orphan rows
suppliers,cardinality(country_id),PASS,max children per parent = 4
product_suppliers,"pk_unique(product_id,supplier_id)",PASS,0 duplicate rows
product_suppliers,pk_not_null,PASS,0 null-key rows
product_suppliers,fk_integrity(product_id->products.product_id),PASS,0 orphan rows
product_suppliers,cardinality(product_id),PASS,max children per parent = 3
product_suppliers,fk_integrity(supplier_id->suppliers.supplier_id),PASS,0 orphan rows
product_suppliers,cardinality(supplier_id),PASS,max children per parent = 18
warehouses,pk_unique(warehouse_id),PASS,0 duplicate rows
warehouses,pk_not_null,PASS,0 null-key rows
warehouses,alt_key_unique(warehouse_code),PASS,0 duplicates
warehouses,fk_integrity(country_id->countries.country_id),PASS,0 orphan rows
warehouses,cardinality(country_id),PASS,max children per parent = 1 [degenerates to 1:1 in this sample]
employees,pk_unique(employee_id),PASS,0 duplicate rows
employees,pk_not_null,PASS,0 null-key rows
employees,fk_integrity(country_id->countries.country_id),PASS,0 orphan rows
employees,cardinality(country_id),PASS,max children per parent = 7
employees,fk_integrity(warehouse_id->warehouses.warehouse_id),PASS,0 orphan rows
employees,cardinality(warehouse_id),PASS,max children per parent = 8
employees,fk_integrity(manager_id->employees.employee_id),PASS,0 orphan rows
employees,cardinality(manager_id),PASS,max children per parent = 12
gl_accounts,pk_unique(account_code),PASS,0 duplicate rows
gl_accounts,pk_not_null,PASS,0 null-key rows
gl_accounts,fk_integrity(parent_account_code->gl_accounts.account_code),PASS,0 orphan rows
gl_accounts,cardinality(parent_account_code),PASS,max children per parent = 6
marketing_campaigns,pk_unique(campaign_id),PASS,0 duplicate rows
marketing_campaigns,pk_not_null,PASS,0 null-key rows
marketing_campaigns,fk_integrity(country_id->countries.country_id),PASS,0 orphan rows
marketing_campaigns,cardinality(country_id),PASS,max children per parent = 3
campaign_products,"pk_unique(campaign_id,product_id)",PASS,0 duplicate rows
campaign_products,pk_not_null,PASS,0 null-key rows
campaign_products,fk_integrity(campaign_id->marketing_campaigns.campaign_id),PASS,0 orphan rows
campaign_products,cardinality(campaign_id),PASS,max children per parent = 8
campaign_products,fk_integrity(product_id->products.product_id),PASS,0 orphan rows
campaign_products,cardinality(product_id),PASS,max children per parent = 4
sales_orders,pk_unique(order_id),PASS,0 duplicate rows
sales_orders,pk_not_null,PASS,0 null-key rows
sales_orders,alt_key_unique(order_number),PASS,0 duplicates
sales_orders,fk_integrity(customer_id->customers.customer_id),PASS,0 orphan rows
sales_orders,cardinality(customer_id),PASS,max children per parent = 2010
sales_orders,fk_integrity(sales_rep_id->employees.employee_id),PASS,0 orphan rows
sales_orders,cardinality(sales_rep_id),PASS,max children per parent = 694
sales_orders,fk_integrity(warehouse_id->warehouses.warehouse_id),PASS,0 orphan rows
sales_orders,cardinality(warehouse_id),PASS,max children per parent = 5061
sales_orders,fk_integrity(country_id->countries.country_id),PASS,0 orphan rows
sales_orders,cardinality(country_id),PASS,max children per parent = 2390
sales_orders,fk_integrity(currency_code->currencies.currency_code),PASS,0 orphan rows
sales_orders,cardinality(currency_code),PASS,max children per parent = 2390
sales_order_lines,pk_unique(line_id),PASS,0 duplicate rows
sales_order_lines,pk_not_null,PASS,0 null-key rows
sales_order_lines,"alt_key_unique(order_id,line_number)",PASS,0 duplicates
sales_order_lines,fk_integrity(order_id->sales_orders.order_id),PASS,0 orphan rows
sales_order_lines,cardinality(order_id),PASS,max children per parent = 9
sales_order_lines,fk_integrity(product_id->products.product_id),PASS,0 orphan rows
sales_order_lines,cardinality(product_id),PASS,max children per parent = 3221
sales_returns,pk_unique(return_id),PASS,0 duplicate rows
sales_returns,pk_not_null,PASS,0 null-key rows
sales_returns,fk_integrity(order_id->sales_orders.order_id),PASS,0 orphan rows
sales_returns,cardinality(order_id),PASS,max children per parent = 2
sales_returns,fk_integrity(product_id->products.product_id),PASS,0 orphan rows
sales_returns,cardinality(product_id),PASS,max children per parent = 67
sales_returns,"fk_integrity(order_id,product_id->sales_order_lines.order_id,product_id)",PASS,0 orphan rows
sales_returns,"cardinality(order_id,product_id)",PASS,max children per parent = 1 [degenerates to 1:1 in this sample]
purchase_orders,pk_unique(po_id),PASS,0 duplicate rows
purchase_orders,pk_not_null,PASS,0 null-key rows
purchase_orders,alt_key_unique(po_number),PASS,0 duplicates
purchase_orders,fk_integrity(supplier_id->suppliers.supplier_id),PASS,0 orphan rows
purchase_orders,cardinality(supplier_id),PASS,max children per parent = 23
purchase_orders,fk_integrity(warehouse_id->warehouses.warehouse_id),PASS,0 orphan rows
purchase_orders,cardinality(warehouse_id),PASS,max children per parent = 84
purchase_order_lines,pk_unique(po_line_id),PASS,0 duplicate rows
purchase_order_lines,pk_not_null,PASS,0 null-key rows
purchase_order_lines,"alt_key_unique(po_id,line_number)",PASS,0 duplicates
purchase_order_lines,fk_integrity(po_id->purchase_orders.po_id),PASS,0 orphan rows
purchase_order_lines,cardinality(po_id),PASS,max children per parent = 8
purchase_order_lines,fk_integrity(product_id->products.product_id),PASS,0 orphan rows
purchase_order_lines,cardinality(product_id),PASS,max children per parent = 25
inventory_snapshots,"pk_unique(warehouse_id,product_id,snapshot_date)",PASS,0 duplicate rows
inventory_snapshots,pk_not_null,PASS,0 null-key rows
inventory_snapshots,fk_integrity(warehouse_id->warehouses.warehouse_id),PASS,0 orphan rows
inventory_snapshots,cardinality(warehouse_id),PASS,max children per parent = 1625
inventory_snapshots,fk_integrity(product_id->products.product_id),PASS,0 orphan rows
inventory_snapshots,cardinality(product_id),PASS,max children per parent = 108
gl_transactions,pk_unique(gl_id),PASS,0 duplicate rows
gl_transactions,pk_not_null,PASS,0 null-key rows
gl_transactions,fk_integrity(account_code->gl_accounts.account_code),PASS,0 orphan rows
gl_transactions,cardinality(account_code),PASS,max children per parent = 425
gl_transactions,fk_integrity(country_id->countries.country_id),PASS,0 orphan rows
gl_transactions,cardinality(country_id),PASS,max children per parent = 504
product_suppliers,is_true_m2m,PASS,"max supplier_id per product_id = 3, max product_id per supplier_id = 18"
campaign_products,is_true_m2m,PASS,"max product_id per campaign_id = 8, max campaign_id per product_id = 4"