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-tables

On this page

  1. Syntax
  2. Usage
  3. Options

list-tables

Lists available tables for the configured catalog and schema.

Queries Trino and prints all tables 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-tables [options]

Usage #

1
2
lakeql-cli list-tables --catalog hive --schema analytics
1
2
3
4
5
6
7
8
9
┌────────────────┐
│ Table Name     │
├────────────────┤
│ users          │
│ events         │
│ sessions       │
│ page_views     │
└────────────────┘

Options #

--catalog <catalog>

catalog to use

PropertyValue
Typestring
RequiredNo
Env varHIVE_CATALOG

Previous page

list-schemas

Next page

list-views