Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17090

Map sql errors to messages that user see

    XMLWordPrintableJSON

Details

    Description

      There is a number of errors that user can get during sql command execution. Map all types of errors and map them to exit error codes and user messages. Also, a user has to understand what is wrong with the query. Now it displays jusn an abstract message.

       

      How it works now:

      sql-cli> create table myta
      SQL query parsing error: Sql query execution failed.
      sql-cli> 
      sql-cli> create table mytable(i int, j int);
      Unrecognized error while process SQL query.
      sql-cli> 

      "SQL query parsing error: Sql query execution failed.", "Unrecognized error while process SQL query."  say nothing about what exactly is wrong.

      Attachments

        Issue Links

          Activity

            People

              aleksandr.pakhomov Aleksandr
              aleksandr.pakhomov Aleksandr
              Vyacheslav Koptilin Vyacheslav Koptilin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m