You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set colorScheme and mode validates given value but outputs full stacktrace:
0: jdbc:drill:zk=local> !set colorscheme xxx
java.lang.IllegalArgumentException: Unknown color scheme "xxx". Possible values: [chester, dark, dracula, light, obsidian, solarized, vs2010]
at sqlline.SqlLineOpts.setColorScheme(SqlLineOpts.java:491)
at sqlline.SqlLineOpts.set(SqlLineOpts.java:269)
at sqlline.Commands.setProperty(Commands.java:660)
at sqlline.Commands.set(Commands.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
at sqlline.SqlLine.dispatch(SqlLine.java:722)
at sqlline.SqlLine.begin(SqlLine.java:540)
at sqlline.SqlLine.start(SqlLine.java:264)
at sqlline.SqlLine.main(SqlLine.java:195)
0: jdbc:drill:zk=local> !set mode xxx
java.lang.IllegalArgumentException: Unknown mode "xxx". Possible values: [emacs, vi]
at sqlline.SqlLineOpts.setMode(SqlLineOpts.java:663)
at sqlline.SqlLineOpts.set(SqlLineOpts.java:269)
at sqlline.Commands.setProperty(Commands.java:660)
at sqlline.Commands.set(Commands.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
at sqlline.SqlLine.dispatch(SqlLine.java:722)
at sqlline.SqlLine.begin(SqlLine.java:540)
at sqlline.SqlLine.start(SqlLine.java:264)
at sqlline.SqlLine.main(SqlLine.java:195)
Better to output usage warning like for reset command:
The text was updated successfully, but these errors were encountered:
arina-ielchiieva
changed the title
Set command allows to set non numeric value for props that require numeric
Set command does not validate given value
Nov 28, 2018
Set command allows to set non integer value for ALL properties that require numeric values, after that queries fail to execute:
set isolation command does not check if value is valid.
The same is for timestampFormat, dateFormat and timeFormat.
set outputFormat does not validate given value and then outputs warning during query execution:
set colorScheme and mode validates given value but outputs full stacktrace:
Better to output usage warning like for reset command:
The text was updated successfully, but these errors were encountered: