Creating Database Views
You can create database views using the Trino client when connected to a VAST Database. Views allow you to save queries and re-use them in other queries.
Database views are stored queries that present a part of a VAST Database. They are created and managed using the client application and stored in a table in the database itself. They can be used in other queries on the database.
Action | Example |
|---|---|
Create a new View | |
List Views in the database | Trino has no direct way of listing views. You can use workarounds like this example, where all views have the suffix "_view". |
Show details for a View | |
Redefine a View | |
Query using a View | |
Rename a View | |
Limitations
View properties are not supported
Nested data types are not supported
User-defined column names and comments are lost if the schema of the query changes when redefining a view