LakeQL
Overview
  • Installation
Commands
  • init
  • pull
  • create-registry
  • list-schemas
  • list-tables
  • list-views
  • list-columns
  • create-endpoint
  • generate-import-config
Configuration
  • Environment Variables
  • Config File
GitHub
LakeQL
  1. CLI
  2. Commands
  3. list-views

On this page

  1. Syntax
  2. Usage
  3. Options

list-views

Lists available views for the configured catalog and schema.

Queries Trino and prints all views in the specified catalog and schema. If --schema is not provided, the CLI prompts you to select one interactively.

Syntax #

1
2
lakeql-cli list-views [options]

Usage #

1
2
lakeql-cli list-views --catalog hive --schema analytics
1
2
3
4
5
6
7
8
┌──────────────────────┐
│ View Name            │
├──────────────────────┤
│ active_users         │
│ daily_revenue        │
│ session_aggregates   │
└──────────────────────┘

Options #

--catalog <catalog>

catalog to use

PropertyValue
Typestring
RequiredNo
Env varHIVE_CATALOG

--schema <schema>

schema to use

PropertyValue
Typestring
RequiredNo

Previous page

list-tables

Next page

list-columns