> For the complete documentation index, see [llms.txt](https://docs.euno.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.euno.ai/sources/data-warehouses/snowflake-integration/snowflake-integration-discovered-resources.md).

# Snowflake Integration Discovered Resources

## Overview

The Snowflake integration discovers the Snowflake account, its databases, schemas, tables, views, and columns, and, when enabled, semantic views, Streamlit apps, data shares, and usage from Snowflake query history. It discovers the following resources:

* Snowflake account (`snowflake_account`)
* Database (`database`)
* Database schema (`database_schema`)
* Table and view (`table`, subtypes `base_table`, `external_table`, `view`, `materialized_view`)
* Column (`column`)
* Snowflake semantic view (`snowflake_semantic_view`)
* Snowflake dimension (`snowflake_dimension`)
* Snowflake metric (`snowflake_metric`)
* Snowflake inbound share (`snowflake_inbound_share`)
* Snowflake outbound share (`snowflake_outbound_share`)
* Streamlit app (`streamlit_app`)
* Hex project (`hex_project`), enriched with Snowflake usage and lineage

Warehouse resource URIs start with a Snowflake URI prefix derived from the account host. For example, the host `JGB69604.prod3.us-west-2.snowflakecomputing.com` becomes the prefix `snowflake.jgb69604.us-west-2.aws`. The Snowflake account itself uses `platform.snowflake.<account>`. Generated URIs are lowercase. When the source overrides the base URI or the platform URI, Euno uses the override instead.

## Resource hierarchy

```
Snowflake account
├── Database
│   └── Database schema
│       ├── Table / View / Materialized view
│       │   └── Column
│       ├── Semantic view
│       │   ├── Dimension
│       │   └── Metric
│       └── Streamlit app
├── Inbound share
└── Outbound share
```

## Snowflake account (`snowflake_account`)

The Snowflake account is the top-level Snowflake resource observed by the integration.

| Property                     | Type      | Description                                                                                                   |
| ---------------------------- | --------- | ------------------------------------------------------------------------------------------------------------- |
| `name`                       | string    | Snowflake account identifier.                                                                                 |
| `type`                       | string    | Always `snowflake_account`.                                                                                   |
| `subtype`                    | string    | Always `snowflake_account`.                                                                                   |
| `container_type`             | string    | Marks the account as a pure container.                                                                        |
| `snowflake_warehouses`       | list      | Warehouse descriptors from `SHOW WAREHOUSES`. Only present when **Observe warehouse information** is enabled. |
| `last_integration_run_ended` | timestamp | Timestamp of the last completed integration run.                                                              |

When `snowflake_warehouses` is present, each warehouse object may include fields such as `name`, `size`, `state`, `type`, `min_cluster_count`, `max_cluster_count`, `started_clusters`, `running`, `queued`, `is_default`, `is_current`, `auto_suspend`, `auto_resume`, `owner`, `comment`, `created_on`, `resumed_on`, `updated_on`, `resource_monitor`, `scaling_policy`, and `uuid`. Other fields may be present depending on Snowflake's `SHOW WAREHOUSES` output.

**URI pattern**

```
platform.snowflake.<account>
```

Example: `platform.snowflake.jgb69604`

## Database (`database`)

Snowflake databases are observed as container resources.

| Property         | Type    | Description                                                         |
| ---------------- | ------- | ------------------------------------------------------------------- |
| `name`           | string  | Database name.                                                      |
| `type`           | string  | Always `database`.                                                  |
| `subtype`        | string  | Always `database`.                                                  |
| `container_type` | string  | Marks the database as a pure container.                             |
| `is_shared`      | boolean | Indicates that the database is part of a configured outbound share. |

**URI pattern**

```
<snowflake_uri_prefix>.<database>
```

Example: `snowflake.jgb69604.us-west-2.aws.analytics`

## Database schema (`database_schema`)

Snowflake schemas are observed as container resources under databases.

| Property         | Type   | Description                           |
| ---------------- | ------ | ------------------------------------- |
| `name`           | string | Schema name.                          |
| `type`           | string | Always `database_schema`.             |
| `subtype`        | string | Always `database_schema`.             |
| `container_type` | string | Marks the schema as a pure container. |

**URI pattern**

```
<snowflake_uri_prefix>.<database>.<schema>
```

Example: `snowflake.jgb69604.us-west-2.aws.analytics.public`

## Table and view (`table`)

Snowflake base tables, external tables, views, and materialized views are represented as `table` resources. Euno uses the `subtype` property to distinguish the Snowflake object kind. Tables that Euno observes only through query history (for example temporary tables that take part in lineage) are also `table` resources, but may have no `subtype`.

| Property                                    | Type      | Description                                                                                                               |
| ------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------- |
| `name`                                      | string    | Object name, excluding database and schema.                                                                               |
| `type`                                      | string    | Always `table`.                                                                                                           |
| `subtype`                                   | string    | Snowflake object kind: `base_table`, `external_table`, `view`, or `materialized_view`.                                    |
| `description`                               | string    | Snowflake comment, when present.                                                                                          |
| `platform_uri_prefix`                       | string    | Snowflake URI prefix used to generate resource URIs.                                                                      |
| `database_technology`                       | string    | Always `snowflake`.                                                                                                       |
| `database`                                  | string    | Snowflake database name. Derived.                                                                                         |
| `database_schema`                           | string    | Snowflake schema name.                                                                                                    |
| `owner`                                     | string    | Email of the first owner. Derived. Empty when Snowflake records a role or user without an email.                          |
| `native_last_data_update`                   | timestamp | Last observed data update time from write activity.                                                                       |
| `created_at`                                | timestamp | Object creation timestamp.                                                                                                |
| `updated_at`                                | timestamp | Last altered timestamp.                                                                                                   |
| `row_count`                                 | number    | Current row count reported by Snowflake.                                                                                  |
| `volume`                                    | number    | Current storage size in bytes.                                                                                            |
| `projected_storage_cost`                    | number    | Estimated monthly storage cost based on configured storage pricing. Derived. Not set for external tables.                 |
| `table_properties`                          | object    | Structured table or view details, including materialization state and view SQL when available.                            |
| `table_schema`                              | object    | Structured schema with column names, comments, and data types.                                                            |
| `is_shared`                                 | boolean   | Indicates that the resource is part of a configured outbound share. Inherited from the shared database.                   |
| `share_read_queries_30d`                    | number    | Read queries over the last 30 days from other Snowflake accounts that consume the table through a matched share. Derived. |
| `upstream_temp_tables`                      | object    | Details about temporary tables that participate in query-history lineage.                                                 |
| `snowflake_privacy_category`                | list      | Snowflake privacy categories rolled up from classified columns in the table or view.                                      |
| `snowflake_masking_policy`                  | list      | Snowflake masking policies found on columns in the table or view.                                                         |
| `snowflake_contains_masked_columns`         | boolean   | Indicates that at least one column in the table or view has an effective masking policy.                                  |
| `snowflake_masked_column_count`             | number    | Number of columns in the table or view with an effective masking policy.                                                  |
| `snowflake_sensitive_metadata_refreshed_at` | timestamp | Timestamp when Euno last refreshed Snowflake classification or masking metadata for the resource.                         |

**URI pattern**

```
<snowflake_uri_prefix>.<database>.<schema>.<table>
```

Example: `snowflake.jgb69604.us-west-2.aws.analytics.public.orders`

### Usage and cost optimization properties

Usage and cost optimization properties can also be set on table resources:

| Property                                      | Type   | Description                                                                      |
| --------------------------------------------- | ------ | -------------------------------------------------------------------------------- |
| `total_read_queries_14d` / `_30d` / `_60d`    | number | Number of read queries over the last 14, 30, or 60 days.                         |
| `total_read_credits_14d` / `_30d` / `_60d`    | number | Total read compute credits over the last 14, 30, or 60 days.                     |
| `average_read_credits_14d` / `_30d` / `_60d`  | number | Average read compute credits per query over the last 14, 30, or 60 days.         |
| `total_read_cost_14d` / `_30d` / `_60d`       | number | Total read cost over the last 14, 30, or 60 days.                                |
| `average_read_cost_14d` / `_30d` / `_60d`     | number | Average read cost per query over the last 14, 30, or 60 days.                    |
| `total_write_queries_14d` / `_30d` / `_60d`   | number | Number of write operations over the last 14, 30, or 60 days.                     |
| `total_write_credits_14d` / `_30d` / `_60d`   | number | Total write compute credits over the last 14, 30, or 60 days.                    |
| `average_write_credits_14d` / `_30d` / `_60d` | number | Average write compute credits per operation over the last 14, 30, or 60 days.    |
| `total_write_cost_14d` / `_30d` / `_60d`      | number | Total write cost over the last 14, 30, or 60 days.                               |
| `average_write_cost_14d` / `_30d` / `_60d`    | number | Average write cost per operation over the last 14, 30, or 60 days.               |
| `total_write_runtime_14d` / `_30d` / `_60d`   | number | Total runtime of write operations over the last 14, 30, or 60 days.              |
| `total_dml_queries_14d` / `_30d` / `_60d`     | number | Deprecated DML query counts retained for compatibility.                          |
| `total_dml_runtime_14d` / `_30d` / `_60d`     | number | Deprecated DML runtime metrics retained for compatibility.                       |
| `total_dml_credits_14d` / `_30d` / `_60d`     | number | Deprecated DML credit metrics retained for compatibility.                        |
| `total_dml_cost_14d` / `_30d` / `_60d`        | number | Deprecated DML cost metrics retained for compatibility.                          |
| `total_queries_14d` / `_30d` / `_60d`         | number | Total query count over the last 14, 30, or 60 days.                              |
| `distinct_users_14d` / `_30d` / `_60d`        | number | Number of distinct users who queried the table over the last 14, 30, or 60 days. |

{% hint style="warning" %}
Snowflake usage metrics appear only when Euno can observe usable Snowflake query or access history. If that history is unavailable or yields no usable events, these fields may remain empty instead of showing `0`.
{% endhint %}

## Column (`column`)

Snowflake table and view columns are represented as `column` resources.

| Property                                    | Type      | Description                                                                                                                |
| ------------------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------- |
| `name`                                      | string    | Column name.                                                                                                               |
| `type`                                      | string    | Always `column`.                                                                                                           |
| `subtype`                                   | string    | Always `column`.                                                                                                           |
| `description`                               | string    | Snowflake column comment, when present.                                                                                    |
| `parent_name`                               | string    | Parent table or view name.                                                                                                 |
| `native_data_type`                          | string    | Snowflake data type.                                                                                                       |
| `normalized_data_type`                      | string    | Euno-normalized data type.                                                                                                 |
| `database_technology`                       | string    | Always `snowflake`.                                                                                                        |
| `database`                                  | string    | Snowflake database name. Derived.                                                                                          |
| `database_schema`                           | string    | Snowflake schema name.                                                                                                     |
| `is_shared`                                 | boolean   | Indicates that the column belongs to a table in a configured outbound share. Inherited from the shared database.           |
| `share_read_queries_30d`                    | number    | Read queries over the last 30 days from other Snowflake accounts that consume the column through a matched share. Derived. |
| `snowflake_semantic_category`               | list      | Snowflake semantic category values applied to the column through Snowflake classification tags.                            |
| `snowflake_privacy_category`                | list      | Snowflake privacy category values applied to the column.                                                                   |
| `snowflake_classification_profile`          | list      | Classification profiles that produced observed classifications, when Snowflake provides them.                              |
| `snowflake_classification_tag_values`       | list      | Values from Snowflake classification tags on the column, including user-defined classification tags.                       |
| `snowflake_contains_classified_paths`       | boolean   | Indicates that Snowflake reported classified paths inside a semi-structured column.                                        |
| `snowflake_masking_policy`                  | list      | Effective Snowflake masking policies attached to the column, either directly or through tag-based masking.                 |
| `snowflake_masking_source`                  | list      | How masking policies are attached to the column: `direct` or `tag_based`.                                                  |
| `snowflake_is_masked`                       | boolean   | Indicates that the column has an effective masking policy.                                                                 |
| `snowflake_sensitive_metadata_refreshed_at` | timestamp | Timestamp when Euno last refreshed Snowflake classification or masking metadata for the resource.                          |
| `total_read_queries_14d` / `_30d` / `_60d`  | number    | Column read query counts over the last 14, 30, or 60 days. Only present when column-level usage is enabled.                |
| `distinct_users_14d` / `_30d` / `_60d`      | number    | Distinct users who read the column over the last 14, 30, or 60 days. Only present when column-level usage is enabled.      |

Detailed classification and masking information may also appear in the Data Model's **Sensitive Data** tab, including classification tag names, tag values, classification profiles, masking-policy source, and tag-based masking context.

**URI pattern**

```
<snowflake_uri_prefix>.<database>.<schema>.<table>.column.<column>
```

Example: `snowflake.jgb69604.us-west-2.aws.analytics.public.orders.column.order_id`

## Snowflake semantic view (`snowflake_semantic_view`)

Snowflake semantic views are observed when semantic view discovery is enabled.

| Property                                   | Type      | Description                                                                              |
| ------------------------------------------ | --------- | ---------------------------------------------------------------------------------------- |
| `name`                                     | string    | Semantic view name.                                                                      |
| `type`                                     | string    | Always `snowflake_semantic_view`.                                                        |
| `description`                              | string    | Semantic view description from Snowflake, when present.                                  |
| `native_raw_object`                        | object    | Parsed semantic view YAML definition.                                                    |
| `raw_code`                                 | string    | Raw semantic view YAML definition.                                                       |
| `database`                                 | string    | Snowflake database name. Derived.                                                        |
| `database_schema`                          | string    | Snowflake schema name.                                                                   |
| `database_technology`                      | string    | Always `snowflake`.                                                                      |
| `platform_uri_prefix`                      | string    | Snowflake URI prefix used to generate resource URIs.                                     |
| `created_at`                               | timestamp | Semantic view creation timestamp.                                                        |
| `updated_at`                               | timestamp | Last altered timestamp.                                                                  |
| `owner`                                    | string    | Email of the first owner. Derived. Empty when Snowflake records a role without an email. |
| `native_id`                                | string    | Native semantic view identifier.                                                         |
| `external_links`                           | list      | Link to open the semantic view in Snowflake, when host and object context are available. |
| `total_read_queries_14d` / `_30d` / `_60d` | number    | Semantic view read query counts over the last 14, 30, or 60 days.                        |
| `distinct_users_14d` / `_30d` / `_60d`     | number    | Distinct users who queried the semantic view over the last 14, 30, or 60 days.           |
| `total_read_credits_14d` / `_30d` / `_60d` | number    | Semantic view read credits over the last 14, 30, or 60 days.                             |

**URI pattern**

```
<snowflake_uri_prefix>.<database>.<schema>.<semantic_view>
```

Example: `snowflake.jgb69604.us-west-2.aws.analytics.semantic.revenue_semantic_view`

## Snowflake dimension (`snowflake_dimension`)

Snowflake dimensions, including time dimensions, are child resources of a Snowflake semantic view.

| Property               | Type      | Description                                                           |
| ---------------------- | --------- | --------------------------------------------------------------------- |
| `name`                 | string    | Dimension name.                                                       |
| `type`                 | string    | Always `snowflake_dimension`.                                         |
| `native_data_type`     | string    | Snowflake data type.                                                  |
| `normalized_data_type` | string    | Euno-normalized data type.                                            |
| `raw_code`             | string    | Dimension expression.                                                 |
| `created_at`           | timestamp | Dimension creation timestamp, when present in Snowflake metadata.     |
| `updated_at`           | timestamp | Dimension update timestamp, when present in Snowflake metadata.       |
| `description`          | string    | Dimension description, when present.                                  |
| `synonyms`             | list      | Dimension synonyms from Snowflake metadata.                           |
| `native_raw_object`    | object    | Raw dimension object from the semantic view definition.               |
| `native_id`            | string    | Native dimension identifier, in `<logical_table>.<dimension>` format. |

**URI pattern**

```
<semantic_view_uri>.dimension.<dimension>
```

Example: `snowflake.jgb69604.us-west-2.aws.analytics.semantic.revenue_semantic_view.dimension.region`

## Snowflake metric (`snowflake_metric`)

Snowflake metrics are child resources of a Snowflake semantic view.

| Property               | Type      | Description                                                     |
| ---------------------- | --------- | --------------------------------------------------------------- |
| `name`                 | string    | Metric name.                                                    |
| `type`                 | string    | Always `snowflake_metric`.                                      |
| `subtype`              | string    | Always `derived` for metrics defined in the semantic view.      |
| `native_data_type`     | string    | Snowflake data type.                                            |
| `normalized_data_type` | string    | Euno-normalized data type.                                      |
| `raw_code`             | string    | Metric expression.                                              |
| `aggregation`          | string    | Metric aggregation, when provided by Snowflake.                 |
| `created_at`           | timestamp | Metric creation timestamp, when present in Snowflake metadata.  |
| `updated_at`           | timestamp | Metric update timestamp, when present in Snowflake metadata.    |
| `description`          | string    | Metric description, when present.                               |
| `synonyms`             | list      | Metric synonyms from Snowflake metadata.                        |
| `native_raw_object`    | object    | Raw metric object from the semantic view definition.            |
| `native_id`            | string    | Native metric identifier, in `<logical_table>.<metric>` format. |

**URI pattern**

```
<semantic_view_uri>.measure.<metric>
```

Example: `snowflake.jgb69604.us-west-2.aws.analytics.semantic.revenue_semantic_view.measure.total_revenue`

## Snowflake inbound share (`snowflake_inbound_share`)

Inbound shares are observed when **Observe inbound Snowflake shares** is enabled.

| Property              | Type   | Description                                            |
| --------------------- | ------ | ------------------------------------------------------ |
| `name`                | string | Share name.                                            |
| `type`                | string | Always `snowflake_inbound_share`.                      |
| `subtype`             | string | Always `inbound_share`.                                |
| `description`         | string | Share comment from Snowflake, when present.            |
| `native_id`           | string | Snowflake account and share identifier.                |
| `database_technology` | string | Always `snowflake`.                                    |
| `native_raw_object`   | object | Raw share metadata from Snowflake.                     |
| `owner`               | string | Snowflake share owner, typically a role name. Derived. |

**URI pattern**

```
<snowflake_uri_prefix>.share.<share>
```

Example: `snowflake.jgb69604.us-west-2.aws.share.partner_sales_share`

## Snowflake outbound share (`snowflake_outbound_share`)

Outbound shares are observed from the manually configured outbound shares list.

| Property  | Type   | Description                        |
| --------- | ------ | ---------------------------------- |
| `name`    | string | Share name.                        |
| `type`    | string | Always `snowflake_outbound_share`. |
| `subtype` | string | Always `outbound_share`.           |

**URI pattern**

```
<snowflake_uri_prefix>.share.<share>
```

Example: `snowflake.jgb69604.us-west-2.aws.share.partner_sales_share`

## Hex project (`hex_project`)

Hex projects can be observed from Snowflake query history when Hex usage or Hex lineage extraction is enabled. These observations enrich Hex project resources that the Hex integration discovers with Snowflake usage and lineage.

| Property                                          | Type   | Description                                                    |
| ------------------------------------------------- | ------ | -------------------------------------------------------------- |
| `name`                                            | string | Hex project name, when available.                              |
| `type`                                            | string | Always `hex_project`.                                          |
| `subtype`                                         | string | Always `hex_project`.                                          |
| `native_id`                                       | string | Hex project ID.                                                |
| `platform_uri_prefix`                             | string | Snowflake URI prefix used to resolve table and column lineage. |
| `total_queries_14d` / `_30d` / `_60d`             | number | Hex project query counts over the last 14, 30, or 60 days.     |
| `total_read_queries_14d` / `_30d` / `_60d`        | number | Snowflake read query counts attributed to the Hex project.     |
| `total_read_credits_14d` / `_30d` / `_60d`        | number | Snowflake read credits attributed to the Hex project.          |
| `total_read_cost_14d` / `_30d` / `_60d`           | number | Snowflake read cost attributed to the Hex project.             |
| `distinct_users_14d` / `_30d` / `_60d`            | number | Distinct Hex users over the last 14, 30, or 60 days.           |
| `queries_breakdown_by_user_14d` / `_30d` / `_60d` | list   | Query breakdown by Hex user.                                   |

**URI pattern**

```
hex.project.<project_id>
```

Example: `hex.project.0b1c2d3e-4f56-7890-abcd-ef1234567890`

## Streamlit app (`streamlit_app`)

A Streamlit app hosted in Snowflake. Display names use the app title, falling back to the object name. Snowflake owner roles are not assigned as people.

| Property                                           | Type      | Description                                                                                                       |
| -------------------------------------------------- | --------- | ----------------------------------------------------------------------------------------------------------------- |
| `name`                                             | string    | App title, falling back to the Snowflake object name.                                                             |
| `type`                                             | string    | Always `streamlit_app`.                                                                                           |
| `native_id`                                        | string    | Snowflake object identifier in `database.schema.object` format.                                                   |
| `description`                                      | string    | The catalog.json description followed by the Snowflake comment, when present.                                     |
| `native_raw_object`                                | object    | Complete SHOW and DESCRIBE rows plus fetched file paths.                                                          |
| `raw_code`                                         | string    | JSON map of the main Python file, imported local Python files, and catalog.json. The Code drawer shows each file. |
| `external_links`                                   | list      | Open in Snowflake link, when URL metadata is available.                                                           |
| `total_impressions_14d` / `_30d` / `_60d`          | number    | App opens from EXECUTE\_STREAMLIT queries.                                                                        |
| `distinct_impressions_users_14d` / `_30d` / `_60d` | number    | Distinct users opening the app.                                                                                   |
| `queries_breakdown_by_user_14d` / `_30d` / `_60d`  | object    | Per-user open counts.                                                                                             |
| `total_read_queries_14d` / `_30d` / `_60d`         | number    | Child read queries attributed by the JSON StreamlitName query tag.                                                |
| `total_write_queries_14d` / `_30d` / `_60d`        | number    | Child write queries attributed by the JSON StreamlitName query tag.                                               |
| `last_viewed_at`                                   | timestamp | Latest open in available query history; also available in Discover.                                               |

**URI pattern**

```
<snowflake_uri_prefix>.<database>.<schema>.<app_name>
```

Example: `snowflake.jgb69604.us-west-2.aws.analytics.public.sales_app`

## Relationships

Each row is one relationship edge, written in the canonical direction for its family. Use the predicate in each heading to search for these relationships in EQL.

### Containment (`has parent` / `has child`)

| Source type                | Relationship | Target type               | Notes                                                                                            |
| -------------------------- | ------------ | ------------------------- | ------------------------------------------------------------------------------------------------ |
| `database`                 | has parent   | `snowflake_account`       |                                                                                                  |
| `database_schema`          | has parent   | `database`                |                                                                                                  |
| `table`                    | has parent   | `database_schema`         | Base tables, external tables, views, materialized views, and tables observed from query history. |
| `column`                   | has parent   | `table`                   | Columns of tables and views.                                                                     |
| `snowflake_semantic_view`  | has parent   | `database_schema`         |                                                                                                  |
| `streamlit_app`            | has parent   | `database_schema`         |                                                                                                  |
| `snowflake_dimension`      | has parent   | `snowflake_semantic_view` |                                                                                                  |
| `snowflake_metric`         | has parent   | `snowflake_semantic_view` |                                                                                                  |
| `snowflake_inbound_share`  | has parent   | `snowflake_account`       |                                                                                                  |
| `snowflake_outbound_share` | has parent   | `snowflake_account`       |                                                                                                  |

### Lineage (`has upstream` / `has downstream`)

| Source type               | Relationship | Target type                | Notes                                                                                                                                                                                             |
| ------------------------- | ------------ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `table`                   | has upstream | `table`                    | From view and materialized view definitions and from Snowflake access history. Tables in a database received through a matched inbound share also have the corresponding provider table upstream. |
| `database`                | has upstream | `database`                 | A database created from a matched inbound share has the provider's shared database upstream.                                                                                                      |
| `snowflake_semantic_view` | has upstream | `table`                    | The base tables the semantic view is defined over.                                                                                                                                                |
| `snowflake_inbound_share` | has upstream | `snowflake_outbound_share` | Set when an inbound and an outbound share with the same name are observed, establishing cross-account sharing lineage.                                                                            |
| `hex_project`             | has upstream | `table`                    | Snowflake tables referenced by Hex SQL.                                                                                                                                                           |
| `streamlit_app`           | has upstream | `table`                    | Existing physical tables referenced by static SQL.                                                                                                                                                |
| `streamlit_app`           | has upstream | `snowflake_semantic_view`  | Existing semantic views referenced by static SQL.                                                                                                                                                 |

### Field-level lineage (`has upstream_fields` / `has downstream_fields`)

| Source type           | Relationship         | Target type           | Notes                                                                                                                                                                  |
| --------------------- | -------------------- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `column`              | has upstream\_fields | `column`              | From view SQL analysis and Snowflake access history. Columns of shared tables also have the corresponding provider column upstream.                                    |
| `table`               | has upstream\_fields | `column`              | Statement-level dependencies of views, such as columns used in `JOIN`, `WHERE`, `GROUP BY`, `HAVING`, or `ORDER BY`, including columns that are not in the projection. |
| `snowflake_dimension` | has upstream\_fields | `column`              | Columns used in the dimension expression.                                                                                                                              |
| `snowflake_metric`    | has upstream\_fields | `column`              | Columns used in the metric expression.                                                                                                                                 |
| `hex_project`         | has upstream\_fields | `column`              | Snowflake columns referenced by Hex SQL.                                                                                                                               |
| `streamlit_app`       | has upstream\_fields | `column`              | Existing columns referenced by static SQL.                                                                                                                             |
| `streamlit_app`       | has upstream\_fields | `snowflake_dimension` | Existing semantic dimensions referenced by static SQL.                                                                                                                 |
| `streamlit_app`       | has upstream\_fields | `snowflake_metric`    | Existing semantic metrics referenced by static SQL.                                                                                                                    |

### Definition (`defines` / `has definer`)

| Source type                | Relationship | Target type | Notes                                                                                |
| -------------------------- | ------------ | ----------- | ------------------------------------------------------------------------------------ |
| `snowflake_inbound_share`  | defines      | `database`  | The database created from the share, when Euno can match it to an observed database. |
| `snowflake_outbound_share` | defines      | `database`  | The database exposed by the share, when Euno can match it to an observed database.   |

### Usage (`is user of` / `is used by`)

| Source type | Relationship | Target type   | Notes                                                                                         |
| ----------- | ------------ | ------------- | --------------------------------------------------------------------------------------------- |
| `user`      | is user of   | `hex_project` | Hex users whose Snowflake queries are attributed to the project, with recent activity counts. |

{% hint style="info" %}
For setup details related to inbound and outbound shares, see [Observing Snowflake Shares](/sources/data-warehouses/snowflake-integration/observing-snowflake-shares-and-cross-snowflake-account.md).
{% endhint %}

## Streamlit discovery and lineage

F-strings, concatenated/formatted SQL, and SQL passed through variables are excluded from lineage. Missing targets are reported without creating placeholder resources. Query-history failures preserve prior usage values; successful empty history produces zero counts. The run report includes selected/read apps, source failures, apps without static SQL, dynamic SQL files, unmatched allow patterns, and unresolved targets.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.euno.ai/sources/data-warehouses/snowflake-integration/snowflake-integration-discovered-resources.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
