Values_2.ViewRepresentationSourceA structure that contains the dialect of the view, and the query that defines the view.
type nonrec t = {dialect : Values_1.ViewDialect.t option;The dialect of the query engine.
*)dialectVersion : Values_1.ViewDialectVersionString.t option;The version of the dialect of the query engine. For example, 3.0.0.
*)viewOriginalText : Values_1.ViewTextString.t option;The SELECT query provided by the customer during CREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedText is used instead). ViewOriginalText is used for cases like SHOW CREATE VIEW where users want to see the original DDL command that created the view.
*)viewExpandedText : Values_1.ViewTextString.t option;The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform ViewOriginalText to ViewExpandedText. For example: Fully qualified identifiers: SELECT * from table1 -> SELECT * from db1.table1
*)validationConnection : Values_0.NameString.t option;The name of the connection to be used to validate the specific representation of the view.
*)isStale : Values_0.NullableBoolean.t option;Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.NullableBoolean.t
| `Enum of string
| `String of Values_1.ViewDialectVersionString.t ])
list ]