Skip to content

Semantic layer issues

11 min read · Updated 17 Nov 2026

Astrato reports semantic-layer validation problems and upstream schema changes in both the Semantic Layer Editor and MCP. The editor collects them in the Issues panel. Over MCP, use the validation and upstream-schema tools described in Author a semantic layer over MCP.

Find what blocks a publish
  1. The Semantic Layer Editor toolbar showing an Issues count beside Publish

    Select Issues in the editor toolbar. It appears as soon as the layer has something to fix, with a count beside it.

  2. The Issues panel open beside the editor, listing the problems that block publishing

    The panel opens beside the editor. Its summary line says how many issues Publish is waiting on; those rows are marked Blocks publishing, and other rows say where the finding comes from. Select an area tab, such as Measures, to narrow the list.

  3. The Issues panel filtered to the Measures category

    The list narrows to Measures. Only the parts of the layer that have issues get a tab, with Layer & sources for layer settings and source checks. A collapsed row names the item and the kind of fault: expand one to read what is wrong.

  4. An expanded issue row showing the detail of a measure that uses a removed field

    The expanded row says what is wrong; a list of three issues or fewer opens expanded. Select Open to go to the item.

  5. The affected measure open in the editor with the Issues panel still listing the remaining problems

    The affected item opens in the editor beside the list, with the same error at its head, so the next issue stays one click away.

You can also search issue text, including where it comes from, or narrow the list to errors or warnings. When an upstream datatype issue offers Apply suggested fix, review the reported old and new types before applying it.

The Issues panel with its Search issues box and the chips that narrow the list to errors or warnings outlined above the list

A semantic layer imported from a Snowflake semantic view also lists changes made to that view since the import, each with an action to take the change. See When an imported Snowflake semantic view changes.

A layer imported from an existing semantic layer can contain a row calculation that the editor cannot parse, such as DATEDIFF(day, {f1}, CURRENT_DATE()). The layer still opens. Astrato preserves the original formula and its field bindings, shows the formula in the measure preview, and reports an error against that measure in Issues. Publishing remains blocked while the error exists.

Select the measure from Issues to inspect the error. Its normal Edit button is disabled because the visual editor cannot represent the preserved formula; its tooltip explains why. Select the Dev chip in the error to open the JSON source with the affected options.calculation property selected. Repair its definition using the supported measure expressions. If you replace the operand with a supported expression, remove the old options.calculation too: it remains the effective row formula while present. Apply the repaired draft and confirm that the issue clears before publishing. Other measures and tables remain available while you repair the affected measure.

A legacy measure open in its panel, with the error at the top carrying a Developer View chip, outlined, and the formula preserved in the preview

This recovery preserves malformed row-formula text; it does not make unsupported formulas valid or recover files whose document structure cannot be recognized.

Nash, or an assistant connected over MCP, can repair such a measure for you. It replaces the broken calculation with a supported one and keeps the measure’s name, format and other settings. It does not copy an unsupported formula or guess a replacement, and you do not need the Dev tab. The steps it follows are in Repair an unsupported measure calculation.

Semantic layer issues come from validating the current document. They include invalid settings, references, expressions, joins, dimensions, measures, and functions. When live capability discovery succeeds, measure validation also reports an unavailable aggregation, a field or expression datatype that the aggregation cannot accept, and unsupported distinct usage. The editor, MCP validation, and publish use this same datasource-specific contract. If live capabilities cannot be loaded, Astrato skips these datasource-specific checks rather than inventing a support matrix.

Filter values are checked against the datatype of their referenced field or dimension. For example, a text value in an integer filter is reported on the affected table or measure, appears in Issues, and prevents publishing. A publish rejection names the affected semantic entity.

Upstream source issues mean the database confirmed that a referenced object is missing, a physical datatype changed, or Astrato found one likely replacement column whose name differs only in casing or separators. Missing objects remain in the semantic layer so you can repair them without losing downstream definitions. Astrato does not apply detected datatype or rename changes until you accept the suggested fix.

The Issues panel listing a renamed field and a changed data type, an arrow on Upstream source in each row, with Update source column to CUSTOMER_NAME and Update data type to string below

A finding that offers a suggested fix is reported against the field, with a severity that reflects what accepting that fix would cost. When applying it introduces no new validation errors, it is a warning: the document and the database disagree, but every consumer still validates. When accepting it would leave a measure, dimension, table filter, or other consumer unable to run — summing a column the database now reports as text, for example — the field is an error instead, its message names how many consumers are affected, and each affected consumer also gets its own entry naming the rule it would break. The suggested fix is still offered in both cases: accepting the database’s word remains your decision.

This covers renames as well as datatype changes, because accepting a rename writes the replacement column’s datatype along with its name. A rename onto a column of a different type can therefore be reported as an error, even though the finding itself describes only the change of name.

Astrato determines this by validating the document that applying the fix would produce, so the verdict follows the same datasource-specific contract as ordinary validation. Breakage that only the live contract can establish — an aggregation the new type cannot accept — therefore goes unreported when capabilities cannot be loaded, and such a change stays a warning. Breakage the document alone proves, such as a filter parameter whose type would no longer match its field, is reported either way.

Evaluations → Upstream Sources, where that tab is enabled for your workspace, rates each source finding by this same rule and scores it as Evaluations → Issues does: 100, less 20 for each error and 5 for each warning, in the same bands: 80 or more is healthy, 50 to 79 needs attention and below 50 is poor. A finding has one severity wherever it appears, so a renamed column that breaks nothing is a warning on both tabs.

For a field with a datasource-native datatype override, the check compares that override with the raw datatype reported by the database. It suppresses only the expected semantic/native difference; if the database column changes to another native datatype, Astrato reports ordinary datatype drift.

Source check issues mean the metadata check failed, could not verify an object, or did not receive the required metadata. They do not mean that the object was deleted. Check source access and availability before changing the semantic layer.

Applying a datatype or rename fix updates the physical field as an ordinary semantic-layer edit. Astrato recalculates the result types of dependent dimensions and measures automatically, so they do not require separate confirmation.

The check also reads what each Custom SQL table’s statement returns, by executing it with its parameter defaults. Check now always does this. The automatic checks in the editor do it at most once a day per layer, because it runs on your warehouse, and otherwise read only a table whose SQL has changed. Until the next read, the last findings stay.

  • New column in source: the SQL returns a column no field reads, for example after the table behind a SELECT * gained one. It stays out until you add it, because a new column could be sensitive and a field reaches dashboards and Nash. Select Add column in the table panel or in Issues to add that one column, then Update to save it, or exclude it in the SQL to leave it out for good. The issue does not hold up Publish or the Data Explorer. Saving a table without changing its SQL keeps its fields as they are. Changing the SQL adds a field for each column you introduced, and leaves out a column the old SQL already returned, so editing the WHERE of a SELECT * does not bring in a column nobody chose. If the old SQL no longer runs, no new column is added and each one is offered here instead. The exception is a table with no column fields: changing its SQL adds every column the new statement returns, so review the statement before saving it.
  • Missing source field: the SQL no longer returns the column a field reads. It does not hold up Publish, because the columns a statement returns can depend on its parameter values.
  • Data type changed and Upstream field renamed: the same as on a physical table, except that a field with a datasource-native datatype override gets no data type issue. A statement’s result columns report no native type to compare the override with, so this check cannot detect that change.
  • Custom SQL could not be checked: the statement failed, and the message says why. The rest of the check still completes.

Physical tables get no new-column issue, because a table may deliberately hold only some of its columns. Add a physical column from the data browser.

The source status control in the editor header is a database glyph named Check now, and its accessible name carries the current status — for example Check now — Sources unverified. Select it to run a fresh check. Its tooltip adds when the last check finished, and on a wide header the status text shows beside the glyph when the last check found a problem. The control lists no findings of its own: all findings appear in Issues, so document and source problems can be reviewed together.

Evaluations → Issues lists everything in the semantic layer that is broken or likely to give wrong answers, in one place, with a score. The Evaluations section, with its Issues and Upstream Sources tabs, appears only where it is enabled for your workspace. Business question findings appear only where business questions are enabled.

Findings are grouped into cards by category: Validation, Formulas, Broken references, Joins, Aggregation, Business questions, Filter values, Metadata, Visibility and Draft vs published. Each finding is an error, which stops a query; a warning, which makes answers worse; or info, which is hygiene. Select Errors, Warnings or Info to narrow the list, and Open on a finding to go to the item it names.

The score starts at 100 and loses 20 points for each error and 5 for each warning. Info does not count. 80 or more is healthy, 50 to 79 needs attention and below 50 is poor.

The tab checks three things:

  • The editor’s own issues, the same validation and upstream findings the Issues panel shows.
  • Deeper checks on the layer itself, which run as you edit: totals likely to be wrong, two items shown under the same name, items that are hidden, and measures and dimensions without a description or synonyms or with a name too generic to tell apart.
  • Data checks, which run only when you select Run data checks. They run each business question, measure each join, and check every filter value against the published semantic layer. A filter value that no row holds is reported, and the filter row or chip that holds it is outlined in the editor. You can Stop a run; a stopped run gives a partial result. The data checks need a semantic layer saved in Astrato, and they read the published layer, so publish first if you want them to cover a draft change. When you edit after a run, the result is marked as possibly out of date.

Errors and warnings from these checks also appear in the editor’s Issues panel, with Evaluations as their origin. They never block Publish. Data check results stay there until the checks run again.

The Metadata coverage card shows how many measures and dimensions have a description, synonyms and a clear name, which AI answers rely on to pick the right item. To fill a gap, select it and then Suggest descriptions with Nash or Suggest synonyms with Nash. Nash suggests for up to 25 items at a time. Review the suggestions, clear or edit any you do not want, and select Apply. The whole batch is one edit, so a single undo takes it back. Nash only fills items that are missing that metadata, so an existing description is never replaced, and new synonyms are added to those already there. Suggestions need a semantic layer saved in Astrato.

Nash, or an assistant connected over MCP, can list the same issues and run a fresh source check. It applies a suggested source fix, such as a datatype change or a rename, only after you confirm it. The tools and rules it follows are in Review and repair issues.