Area: UI
Sub-Area: Query Column Selection
Applies to: Cloud
Issue
In the Queries tab of a dataset, the Columns filter is empty or does not list a column you expect.
You Might Be Asking
- Why is the Columns filter in the Queries tab empty?
- Why does a column I know exists not appear in the Columns filter?
- Why do the options show no data type?
Cause
This is usually expected behavior, not a bug. The Columns filter does not list every column of the dataset. It lists only columns that system queries reference.
- DataHub records each query with a source. Queries that ingestion discovers have source SYSTEM. Queries that users enter have source MANUAL.
- The filter looks only at SYSTEM queries for this dataset or its sibling. It keeps only schema fields that belong to the dataset or its sibling.
- A column that no system query references does not appear. If the dataset has no system queries, the filter is empty.
- The list is capped at 100 values and sorted by query count, highest first.
- Each option shows the field path and a query count. It does not show a data type.
- If you select users in the users filter, that selection also applies to the query that builds the Columns list.
The one release-noted fix for these filters is in Cloud v0.3.9: the column and user filters in the Queries tab show the proper display name instead of urns. If your options show urns instead of names, upgrade to the latest release.
Solution
- Open the dataset and go to the Queries tab.
- Open the Columns filter. Check whether the dataset has system queries (queries discovered by ingestion). If it has none, an empty filter is expected.
- If you expect a column to appear, check whether a system query references it. Columns that no system query references never appear, and manual queries do not add columns to the filter.
- If the dataset has more than 100 referenced columns, only the 100 with the most queries appear.
- If options show urns instead of display names, upgrade to the latest release. Cloud customers contact DataHub Support to upgrade.