Dataset Viewer
Auto-converted to Parquet Duplicate
table_id
stringlengths
5
16
table_name
stringlengths
5
45
column_names
stringlengths
24
504
Person-0
BusinessEntityContact
["bId", "PersonId", "cTypeId", "rId", "ModDate"]
Person-1
EmailAddress
["BusinessEntId", "EmailId", "EAddress", "rguid", "ModifDate"]
Person-2
Address
["AID", "AL1", "AL2", "ACity", "SID", "ZipCode", "ARGuid", "CDate"]
Person-3
Person
["BusEntID", "PerType", "PerNameStyle", "PersonTitle", "FName", "MName", "LName", "SufxName", "EmailPromo", "AddContInfo", "Demo", "PersonGUID", "PerModDate"]
Person-4
BusinessEntityAddress
["bId", "aId", "aTypeId", "rId", "ModDate"]
Person-5
AddressType
["ATypeID", "Type", "ATRGuid", "ATChangeDate"]
Person-6
ContactType
["CTypeID", "ContactName", "ContactTypeMDate"]
Person-7
CountryRegion
["CRCode", "CRName", "CRMdate"]
Person-8
StateProvince
["SPID", "SPCode", "CrCode", "IsStateProvinceFlag", "StateProvinceName", "tId", "rGuid", "ModDate"]
Person-9
PhoneNumberType
["PhoneNumTypId", "PName", "PhoneModDate"]
Person-10
Password
["BusinessEntId", "PasswdHash", "PasswdSalt", "rwGuid", "ChangedDate"]
Person-11
PersonPhone
["BusEntID", "TelephoneNumber", "PersonPhoneNumTypeId", "ChangedDate"]
Person-12
BusinessEntity
["bId", "rId", "ModDate"]
Sales-0
SpecialOfferProduct
["SOPSOID", "SOPPID", "SOPRGuid", "CDate"]
Sales-1
CurrencyRate
["CurrRID", "CurrRDate", "FromCurrCode", "ToCurrCode", "CurrAvgRate", "EODRate", "MDate"]
Sales-2
SalesTerritory
["SalesTerrId", "SalesTerrName", "STCountryRC", "STGroup", "SalesYearToDate", "LastYearSales", "CostYearToDate", "LastYearCost", "STRowGUID", "STChangedDate"]
Sales-3
SalesPerson
["BusinessEntId", "TerrId", "SalesQuota", "SalesBonus", "CommissionPct", "SalesYearToDate", "LastYearSales", "rowGuid", "ModDate"]
Sales-4
CountryRegionCurrency
["CRCode", "CurrC", "CRCMdate"]
Sales-5
CreditCard
["CCId", "CCCType", "CCCNumber", "CCExpM", "CCExpY", "CCMDate"]
Sales-6
Currency
["CC", "CurrN", "MDate"]
Sales-7
SalesPersonQuotaHistory
["BusinessEntId", "SPQDate", "SPQuota", "SalesRGUID", "ModDate"]
Sales-8
SalesOrderHeader
["SOrderId", "RevNo", "OrderDay", "DueDay", "ShipDay", "SalesOrderStatus", "OnlineSalesOrderFlag", "SalesOrderNo", "PurchaseOdrNo", "AccNo", "CustId", "SalesmanId", "TerrId", "BillingAdressId", "ShippingAdressId", "ShippingMethod", "CreditCardIdentifier", "SalesCreditCardApprovalCode", "SalesCurrencyRateId", "subttl", ...
Sales-9
SalesOrderHeaderSalesReason
["SalesOrderId", "SalesReasonIdentifier", "ModificationDate"]
Sales-10
Customer
["CustId", "PID", "SID", "TID", "CusAcctNo", "CusRowID", "MDate"]
Sales-11
SalesTerritoryHistory
["STHBusEntID", "TerrID", "STHStartDt", "EndDt", "STHRowGuid", "STHModDate"]
Sales-12
Store
["bId", "StoreName", "PersonId", "Demogrphcs", "rGuid", "ModDate"]
Sales-13
SalesReason
["SRID", "SRName", "SRType", "SRModDate"]
Sales-14
PersonCreditCard
["BusEntID", "CCID", "ChangedDate"]
Sales-15
ShoppingCartItem
["SCIID", "SCID", "QTY", "SCIPID", "CreateDate", "MDate"]
Sales-16
SalesTaxRate
["STRId", "STRProvinceId", "STRTaxType", "STRTaxRate", "STRName", "STRGUID", "STRModDate"]
Sales-17
SalesOrderDetail
["OrderIdForSales", "SalesOrderDId", "CTN", "OQuantity", "PId", "Id_SpecialOffer", "PricePerUnit", "UnitPriceDisc", "LinTot", "row_guid", "ModDate"]
Sales-18
SpecialOffer
["SOID", "Desc", "DcntPct", "SOType", "Ctg", "SDate", "EDate", "Min", "Max", "SORGuid", "CDate"]
dbo-0
DimProduct
["Prod", "AltProdKey", "Category", "WeightUnit", "SizeUnit", "EnglishProdName", "SpanProdName", "FrenchProdName", "StdCost", "FinGdFlag", "DProdColor", "SafeStockLvl", "ReorderPt", "DProdListPrice", "DProdSize", "DProdSizeRng", "DProdWeight", "DaysToMF", "ProdLine", "DProdDealerPrice", "DProdClass", "DProdStyle", "DPro...
dbo-1
FactInternetSales
["ProdKey", "OrderDate", "DueDate", "ShipDate", "CustKey", "PromoKey", "Currency", "SalesRegionKey", "SalesOrderNum", "SalesOrderLnNum", "RevNum", "OrderQty", "UPrice", "ExdAmt", "UnitPriceDiscPct", "DscntAmt", "ProdStandardCost", "TotalProdCost", "SalesAmt", "TaxAmount", "Feight", "CarrierTrackNo", "CustPONo", "OrderT...
dbo-2
DimDepartmentGroup
["DeptKey", "ParentDeptKey", "GrpName"]
dbo-3
FactAdditionalInternationalProductDescription
["ProdKey", "CultName", "ProdDESCR"]
dbo-4
FactCallCenter
["FactCCID", "FactCCDateKey", "FactCCWageType", "FactCCShift", "FactCCLvlOneOps", "FactCCLvlTwoOps", "FactCCTotOps", "FactCCCalls", "FactCCAutRSPs", "FactCCOrders", "FactCCIssuesRaised", "FactCCAvgTimePerIssue", "SGrade", "Date"]
dbo-5
DimAccount
["AcctKey", "ParentAcctKey", "AcctCodeAltKey", "ParentAcctCodeAltKey", "AcctDesc", "AcctType", "DAOperator", "CustomMem", "ValType", "CustMemOpt"]
dbo-6
FactResellerSales
["ProdKey", "OrderDateKey", "DueDateKey", "ShipDateKey", "Reseller", "Employee", "PromoKey", "CurrencyKey", "SalesRegionKey", "SalesOrderNo", "SalesOrderLnNo", "RevNum", "OrderQty", "UnitCost", "ExdAmt", "UnitPriceDiscPct", "DiscAmt", "ProdStandardCost", "TotalProdCost", "SalesAmt", "TaxAmt", "Freight", "CarrierTrackNo...
dbo-7
FactSurveyResponse
["SurveyResKey", "DateKey", "CustKey", "ProdCat", "EnglishProdCat", "ProdSubcat", "EnglishProdSubcat", "Date"]
dbo-8
DimScenario
["DScenKey", "DScenName"]
dbo-9
FactInternetSalesReason
["SalesOrderNo", "SalesOrderLnNo", "SalesReason"]
dbo-10
FactFinance
["FKey", "DKey", "OrgKey", "DeptGroup", "Scenario", "AcctKey", "Amt", "Date"]
dbo-11
NewFactCurrencyRate
["MeanRate", "CurrencyID", "CurrDate", "EoDRate", "CurrKey", "DateKey"]
dbo-12
DimCustomer
["CustKey", "GeoKey", "CustAltKey", "CustTitle", "CustFName", "mName", "lName", "nStyle", "bDate", "Status", "NameSuffix", "PersonGender", "Email", "income", "totChild", "ChildrenAtHome", "EngEd", "SpanEd", "FrEd", "EnglishOccu", "SpanOccu", "FrenchOccu", "HouseOwner", "nCars", "Addr", "Addr2", "PhoneNumber", "FirstPur...
dbo-13
DimReseller
["DResKey", "DGeoKey", "DResAltKey", "DResPhone", "DResBizType", "DResName", "RNumEmployees", "DResOrderFrq", "DResOrderMonth", "DResFirstOrdYear", "DResLastOrdYear", "DResProdLine", "DResAddrLine1", "DResAddrLine2", "DResAnnuSales", "DResBankName", "DResMinPayType", "DResMinPayAmt", "DResAnnuRev", "DResYearOpened"]
dbo-14
DimSalesTerritory
["DSalesTerKey", "DSalesTerAltKey", "DSalesTerRegion", "DSalesTerCountry", "DSalesTerGrp"]
dbo-15
ProspectiveBuyer
["ProsBuyerKey", "ProsAltKey", "FName", "MName", "LName", "BDate", "Marriage", "Sex", "Email", "AnnualIncome", "NumChildren", "TotalChildrenHome", "EduLevel", "JobTitle", "OwnHome", "NumCars", "Address1", "Address2", "City", "State", "POCode", "Contact", "Salutation", "Unknown"]
dbo-16
DimCurrency
["CurrKey", "CurrAltKey", "CurrName"]
dbo-17
FactCurrencyRate
["Currency", "KeyForDate", "MeanRate", "EODRate", "Date"]
dbo-18
FactSalesQuota
["SalesQuota", "EmpKey", "QDate", "CalYear", "CalQuarter", "SalesAmtQuot", "Date"]
dbo-19
DimProductSubcategory
["ProdSubcatKey", "ProdSubcatAltKey", "EngProdSubcatName", "SpanProdSubcatName", "FrProdSubcatName", "SubProdCatKey"]
dbo-20
DimSalesReason
["DSalesRsnKey", "DSalesRsnAltKey", "DSalesRsnName", "DSalesRsnType"]
dbo-21
DimEmployee
["EmpKey", "ParentEmpKey", "EmpAltKey", "ParentEmpAltKey", "SalesRegionKey", "FName", "LName", "MName", "StyleName", "EmpTitle", "Hired", "BDay", "ID", "EAddr", "PhoneNumber", "MStat", "EmergencyContact", "EmergencyPhoneNumber", "Salaried", "EmpGender", "PayCheckFreq", "BasePay", "VacationTime", "SickTime", "Current", ...
dbo-22
DimProductCategory
["ProdCatKey", "ProdCatAltKey", "EngProdCatName", "SpanProdCatName", "FrProdCatName"]
dbo-23
DimDate
["DKey", "DateAltKey", "DayofWeek", "EngDayOfWeek", "SpanDayOfWeek", "FrDayOfWeek", "DayMonNum", "DayNum", "WeekNum", "EngMonth", "SpanMonth", "FrenchMon", "Month", "Qtr", "Year", "Semseter", "FiscQuarter", "FiscYear", "FiscSemester"]
dbo-24
DimOrganization
["OrgKey", "ParentOrgKey", "PercentOwner", "Organization", "Currency"]
dbo-25
DimPromotion
["PromoKey", "PromoAltKey", "EngPromoName", "SpanPromoName", "FrPromoName", "DProdDiscountPct", "EngPromoType", "SpanPromoType", "FrPromoType", "EngPromoCat", "SpanPromoCat", "FrPromoCat", "DPromoStateDate", "DPromoEndDate", "DPromoMinQty", "DPromoMaxQty"]
dbo-26
FactProductInventory
["ProdKey", "DKey", "MovementTime", "UCost", "UnitsIn", "UnitsOut", "UnitsBal"]
dbo-27
DimGeography
["LocationKey", "CityName", "StateCode", "StateName", "Country", "EngCountryName", "SpanishCountry", "FrCountry", "PCode", "SalesTerritory", "Ipv4"]
Production-0
Document
["DocLvl", "DocTitle", "DocOwr", "DocFF", "DocuFileN", "DocuFileE", "DocuRvsn", "DocuChngNo", "DocuStatus", "DocSummary", "r_guid", "ChangedDate"]
Production-1
ScrapReason
["SRID", "ReasonName", "ModDate"]
Production-2
ProductReview
["PrdctReviewId", "pId", "rName", "rDate", "EmailAdd", "Ratng", "ProductComments", "ModDate"]
Production-3
WorkOrder
["WOID", "WOPID", "WOOQ", "WOSQ", "WQScQ", "SOSDate", "WOEDate", "WODDate", "WOSRId", "WOMDate"]
Production-4
ProductCategory
["PCID", "PCName", "PCRID", "ChangedDate"]
Production-5
ProductModelIllustration
["pModelId", "iId", "ModDate"]
Production-6
ProductSubcategory
["ProductSubcatId", "PcId", "ProductSubCatName", "rId", "ModDate"]
Production-7
ProductListPriceHistory
["PLPHPID", "PLPHSDate", "EDate", "LP", "CDate"]
Production-8
ProductModelProductDescriptionCulture
["pModelId", "pDescId", "cId", "ModDate"]
Production-9
TransactionHistory
["tId", "pId", "ROrderId", "ROrderLineId", "tDate", "tType", "Qty", "ActCost", "ModDate"]
Production-10
ProductDocument
["PDPID", "PDChangeDate"]
Production-11
TransactionHistoryArchive
["tId", "pId", "ROrderId", "ROrderLineId", "tDate", "TransctnType", "Qty", "ActCost", "ModDate"]
Production-12
Product
["ProdID", "ProName", "ProNum", "ProMakeFlg", "FinGoodsFlg", "PColor", "ProductSafetyStockLevel", "ProdReorderPt", "StdCost", "ProductListPrice", "ProdSize", "SizeMeasCode", "WtMeasureCode", "ProWeight", "DaysToMfg", "PLine", "PClass", "PStyle", "ProdSubCatID", "ProdModelID", "SellStDt", "SellEndDt", "DiscontdDate", "P...
Production-13
Illustration
["IllstrtnId", "Diag", "ModDate"]
Production-14
ProductModel
["PMID", "PMName", "CtlgDesc", "Instr", "PMRGuid", "CDate"]
Production-15
Culture
["CultId", "CultName", "CultMDate"]
Production-16
ProductPhoto
["prdctPhotoId", "ThFileName", "LrgPhtFileName", "ModDate"]
Production-17
WorkOrderRouting
["ordrId", "PrdtId", "OprSeq", "LocaID", "SSD", "SED", "ActualSDate", "ActualEDate", "ActualResHrs", "PC", "ACost", "MDate"]
Production-18
ProductProductPhoto
["pId", "prdctPhotoId", "IsPrimary", "ModDate"]
Production-19
ProductCostHistory
["PCHID", "SDate", "EDate", "StdCost", "PCHChangeDate"]
Production-20
BillOfMaterials
["Bid", "PassemblyId", "cId", "sDate", "eDate", "uMCode", "BomLvl", "PAssemblyQt", "ModDate"]
Production-21
ProductInventory
["PIPID", "LID", "PIShelf", "PIBin", "PIQty", "PIRGuid", "ChangedDate"]
Production-22
Location
["Locationidentifier", "LocationName", "CostRate", "Availblty", "ModDate"]
Production-23
UnitMeasure
["uMCode", "UnitMsrName", "ModDate"]
Production-24
ProductDescription
["PDID", "Desc", "PDRGUID", "CDate"]
Purchasing-0
PurchaseOrderDetail
["PurchOrdrID", "PODId", "PODDate", "OrdrOty", "PrdctId", "PurchOrdrUnitP", "PurcOrdrDtlLT", "ReceQty", "PurchOrdrDtlRejQty", "PurcOrdrDetlStockQty", "PurchOrdDtlMDate"]
Purchasing-1
Vendor
["bId", "ActNumber", "VendorName", "PurcVendCR", "PurcVendPVS", "PVActiveFlag", "PurcVendPWSUrl", "PurcVendMDate"]
Purchasing-2
PurchaseOrderHeader
["PurchOrdrID", "RvNumber", "POHStatus", "EmpId", "VID", "ShipId", "ODate", "POHShipDate", "POHSubTtl", "POHTaxAmt", "POHFrght", "TDue", "POHMdate"]
Purchasing-3
ShipMethod
["SMID", "SMName", "SBase", "SRate", "SMRID", "SMMDate"]
Purchasing-4
ProductVendor
["pId", "bId", "AvgLeadtime", "StandrdPrice", "LstReceiptCost", "LstReceiptDate", "MinOrdQtry", "MxOrdrQtry", "onOrdrQtry", "uMCode", "ModDate"]
HumanResources-0
Department
["DeptID", "DName", "GrpN", "MDate"]
HumanResources-1
Shift
["SID", "ShiftName", "STime", "ETime", "ChangedDate"]
HumanResources-2
Employee
["BusEntId", "NationId", "Login", "OrgLevel", "JobTtl", "Birthday", "Married", "Sex", "HiringDate", "SalaryFlag", "HoursOnVacation", "SickTime", "CurrentEmployeeFlag", "roww_guid", "ModificationDate"]
HumanResources-3
EmployeePayHistory
["BusnsEnttyId", "RateChangeDay", "Rate", "EmployeePayFrequency", "ChangedDate"]
HumanResources-4
EmployeeDepartmentHistory
["BussEnttyId", "DeptId", "ShiftId", "StartDay", "EmployeeEndDate", "ModDate"]
HumanResources-5
JobCandidate
["JobCandId", "BussEnttyId", "CV", "ModDate"]

AW v2

AW is one of six datasets in Polaris: Learning to Generate Table Descriptions from Retrieval Feedback, alongside arctic, lter, ecir, wikitables, and wtr.

It holds 96 tables from a version of AdventureWorks whose column names are cryptic — BusEntId, STRGUID, JobTtl — and 15 keyword queries over them. For each query–table pair, a person decided whether that table answers that query; those decisions are the relevance judgments, and they live in qrels.csv.

Each Polaris dataset comes in two versions. v2, this one, adds the tuples — the rows of each table, in tuples.zip — on top of the table metadata, the queries, and the relevance judgments. v1 is the same without the tuples and is at polaris-aw-v1.

Files

queries.csv — one row per query.

query_id,query
q1,Employee phone number
q2,Discounted products

qrels.csv — one row per relevant pair, here the four tables relevant to q1.

query_id,table_id,relevance_score
q1,HumanResources-2,1
q1,dbo-21,1
q1,Person-11,1
q1,Person-9,1

Judging was done by pooling: for each query, several retrievers proposed candidate tables and a person labelled each one, 1 for relevant and 0 for not. Only the 1s are listed here, so a table missing for a query counts as not relevant.

metadata.csv — one row per table, here two of those four with their column lists cut short.

table_id,table_name,column_names
HumanResources-2,Employee,"[""BusEntId"", ""NationId"", ""Login"", ""OrgLevel"", ""JobTtl"", ...]"
Person-9,PhoneNumberType,"[""PhoneNumTypId"", ""PName"", ""PhoneModDate""]"

Employee holds employee records but has no phone column, and PhoneNumberType holds phone data but nothing about employees. The two connect through BusEntId, which the PersonPhone table spells BusEntID — the same key, two spellings, in one schema.

tuples.zip — one CSV per table, at Tuples/<table_id>.csv. Person-9 is PhoneNumberType, one of the four tables relevant to q1. Its whole contents:

PhoneNumTypId,PName,PhoneModDate
1,Cell,2017-12-13 13:19:22.273
2,Home,2017-12-13 13:19:22.273
3,Work,2017-12-13 13:19:22.273

Each file's header matches that table's column_names. Tables were capped at 500,000 rows; 1 of the 96 hit that cap.

Statistics

A table counts as gold if it scores above 0 for at least one query.

Statistic Value
Domain Enterprise
Tables 96
Queries 15
Gold tables 41
Relevant tables per query min 1, max 8, average 4.0
Metadata fields table name, column names
Relevance binary
Tuples 1,543,668 rows across the tables
Rows per table median 296, min 3, max 500,000
tuples.zip 23.5 MB, 121.7 MB unzipped

Download

The repo is about 23.6 MB, almost all of it tuples.zip, which unpacks to 121.7 MB. You do not need a Hugging Face account to download it.

Option 1 — click the Files tab at the top of this page and save each file.

Option 2 — command line (recommended):

pip install huggingface_hub
hf download anhaidgroup/polaris-aw-v2 --repo-type dataset --local-dir aw

Polaris has six datasets in total and AW is one of them. Each sits in its own repository, so to download all six quickly — the v2 repositories, with tuples, about 4.8 GB in total:

for d in aw arctic lter ecir wikitables wtr; do
  hf download anhaidgroup/polaris-$d-v2 --repo-type dataset --local-dir polaris_v2/$d
done

Usage

column_names is an array, so it needs parsing when you load the file. For example:

import ast
import pandas as pd

metadata = pd.read_csv("aw/metadata.csv")
queries = pd.read_csv("aw/queries.csv")
qrels = pd.read_csv("aw/qrels.csv")

metadata["columns"] = metadata["column_names"].apply(ast.literal_eval)

relevant = qrels.loc[qrels.query_id == "q1", "table_id"].tolist()
# ['HumanResources-2', 'dbo-21', 'Person-11', 'Person-9']

To read one table's tuples without unpacking the archive:

import zipfile

with zipfile.ZipFile("aw/tuples.zip") as z:
    with z.open("Tuples/Person-9.csv") as f:
        rows = pd.read_csv(f)

How is this dataset created?

The tables are the AdventureWorks sample database from Microsoft, a well-known enterprise schema of 96 tables that use many abbreviated names such as BusEntId, STRGUID, and JobTtl. The version used here is the one released with the Columbo paper, where the column names were shortened by hand to simulate the cryptic schemas found in real enterprise data. All 96 tables were kept.

The Polaris authors wrote 15 queries for enterprise data discovery tasks, such as "employee phone number" and "discounted products". They then manually labelled the table–query pairs, giving a binary score of 0 or 1.

Citation

@misc{cai2026polaris,
  title         = {Polaris: Learning to Generate Table Descriptions from Retrieval Feedback},
  author        = {Cai, Ting and Phan, Tuan Minh and Doan, AnHai},
  year          = {2026},
  eprint        = {2608.17171},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  doi           = {10.48550/arXiv.2608.17171},
  url           = {https://arxiv.org/abs/2608.17171}
}

Please also cite the source of the tables:

@inproceedings{columbo,
  author    = {Ting Cai and Stephen Sheen and AnHai Doan},
  title     = {Columbo: Expanding Abbreviated Column Names for Tabular Data Using Large Language Models},
  booktitle = {Findings of the Association for Computational Linguistics: {EMNLP} 2025},
  pages     = {24774--24792},
  year      = {2025},
}

License

What Comes from License
Table metadata and tuples Microsoft's AdventureWorks sample database, with the column names abbreviated by the Columbo authors MIT, so keep Microsoft's notice with any copy you pass on
Queries and relevance judgments The Polaris authors ODC-BY 1.0

Contact

Email minhrua@cs.wisc.edu, valid until May 2029. After that, email anhai@cs.wisc.edu.

Downloads last month
87

Collection including anhaidgroup/polaris-aw-v2

Paper for anhaidgroup/polaris-aw-v2