| 1905 | |
| 1906 | #[derive(Clone, Debug)] |
| 1907 | pub struct View { |
| 1908 | /// Parse-able SQL that is stored durably and defines this view. |
| 1909 | pub create_sql: String, |
| 1910 | /// Unoptimized high-level expression from parsing the `create_sql`. |
| 1911 | pub expr: HirRelationExpr, |
| 1912 | /// All of the catalog objects that are referenced by this view, according to the `expr`. |
| 1913 | pub dependencies: DependencyIds, |
| 1914 | /// Columns of this view. |
| 1915 | pub column_names: Vec<ColumnName>, |
| 1916 | /// If this view is created in the temporary schema, e.g. `CREATE TEMPORARY ...`. |
| 1917 | pub temporary: bool, |
| 1918 | } |
| 1919 | |
| 1920 | #[derive(Clone, Debug)] |
| 1921 | pub struct MaterializedView { |
no outgoing calls
no test coverage detected