Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 712 Bytes

cmd.rst

File metadata and controls

34 lines (20 loc) · 712 Bytes

Command Line Tool

It is also possible to run a small CLI tool for testing out some SQL commands quickly.

You can either call the CLI tool (after installation) directly

dask-sql

or by running these lines of code

from dask_sql import cmd_loop

cmd_loop()

Some options can be set, e.g. to preload some testdata. Have a look into ~dask_sql.cmd_loop or call

dask-sql --help

Of course, it is also possible to call the usual CREATE TABLE commands.

Very similar as described in server, it is possible to preregister your own data sources or choose a dask scheduler to connect to.