Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Currently not all available commands in completion candidates list
  2. SET and RESET could suggest key names as completion.
  3. SHOW: could be not only SHOW JAR, all options should be in completion candidates list.
  4. ADD/REMOVE jar could suggest path with FileCompleter [5]. 

Error

...

Message

Currently sql client unwinds exception till end. However error description for some cases does not clarify the reason e.g. missed first letter of SELECT in example in motivation section

...

Supported options in sql client

OptionDefaultTypeDescription
sql-client.color-schema
'no'
Enum

Determine the color schema for syntax highlighting.

Will contain names of available color schemas

sql-client.autopairing`true`boolean

Determine whether autopairing is enabled or not.

sql-client.completion-description `false`booleanDetermine whether description for completion candidates is enabled or not.

Supported prompt values in sql client

PromptMeaning
;>Waiting for the next line of multi-line query, waiting for completion of query with semicolon (;)
'>Waiting for the next line, waiting for a completion of string that began with a single quote (')
`>Waiting for the next line, waiting for a completion of string that began with a back tick (`)
*\>Waiting for the next line, waiting for completion of a multi-line comment that began with (/*)
)>Waiting for the next line, waiting for completion of a string that began with a round bracket (
]>Waiting for the next line, waiting for completion of a string that began with a square bracket [
extra )>There is an extra round bracket ), that is not opened with (
extra ]>There is an extra square bracket ], that is not opened with [
extra *\>

There is an extra closing of multi-line comment *\, that is not opened with \*

Compatibility, Deprecation, and Migration Plan

...