Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

More humanized error message #29

Closed
eliangcs opened this issue Nov 27, 2015 · 0 comments
Closed

More humanized error message #29

eliangcs opened this issue Nov 27, 2015 · 0 comments

Comments

@eliangcs
Copy link
Member

vcli prints whatever error message returned by the Vertica server, which is not very pretty:

localdev=> select title from movie order title;
Severity: ERROR, Message: Syntax error at or near "title", Sqlstate: 42601, Position: 31, Routine: base_yyerror, File: /scratch_a/release/30493/vbuild/vertica/Parser/scan.l, Line: 1014, SQL: u'select title from movie order title'

We should make it prettier at least like vsql (the official Vertica command line client):

localdev=> select title from movie order title;
ERROR 4856:  Syntax error at or near "title" at character 31
LINE 1: select title from movie order title;
                                      ^
eliangcs added a commit that referenced this issue Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant