list-columns prints a table's columns and their types, through a configured data source. Use it to inspect a table's shape before you generate an endpoint with pull.
pnpm lakeql-cli list-columns --source warehouse --schema sales --table orders--source <name>
Name of the configured data source to use
| Property | Value |
|---|---|
| Type | string |
| Required | No |
--catalog <catalog>
catalog to use
| Property | Value |
|---|---|
| Type | string |
| Required | No |
--schema <schema>
schema to use
| Property | Value |
|---|---|
| Type | string |
| Required | Yes |
--table <table>
table to use
| Property | Value |
|---|---|
| Type | string |
| Required | Yes |