Area: Product Issues
Sub-Area: AI Documentation Generation
Applies to: Cloud
Issue
You can't use Generate with AI on a table that has more than 3,000 columns. On DataHub Cloud v2.2.0 and later, the button is disabled for these tables.
This applies to single-column generation and to full schema generation.
You Might Be Asking
- Why is "Generate with AI" disabled on my table even though my permissions and AI documentation settings are correct?
- Does the column limit apply when I only want a description for a single column?
- Can I override the column limit for AI documentation generation?
Cause
AI documentation generation has a limit of 3,000 columns per table in DataHub Cloud v2.4.4.
Generating a description for one column still runs generation for the whole table, and then picks out the result for that column. The table-level column limit therefore applies to single-column generation too.
Solution
-
Check the column count. Open the dataset and count its columns. If the table has more than 3,000, the column limit is the cause. Your permissions and AI settings are not.
-
Read the tooltip (v2.2.0 and later). Hover over the disabled Generate with AI button. The tooltip reads: "Cannot generate AI documentation for assets with more than 3000 columns. This asset has N columns." It names the limit and the column count of your table.
-
Work around the limit. You can't raise or override the column limit. For tables over the limit, write the descriptions manually. Check the limitations section of the AI documentation page for the limits that apply to your release. If you are on an earlier Cloud version, upgrade to the latest release.
-
Rule out other causes. If the table is within the limit and the button is enabled but generation still fails, check that Documentation AI is enabled under Settings > AI. The button appears only when it is on. Also see the related article below. If the UI shows "The AI service encountered an error. Please try again in a few moments. If the issue persists, contact your DataHub administrator.", contact DataHub Support.