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

Line separator in ODBC errors text

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0
    • None
    • odbc

    Description

      Issue:
      Getting line separator symbols "\r\n" in OBDC error text.

      For example:

      ALTER TABLE PUBLIC.CAR DROP COLUMN IF EXISTS NAME
      ('HY000', '[HY000] org.apache.ignite.sql.SqlException: Failed to parse query: Encountered "" at line 1, column 36.\r\nWas expecting one of:\r\n     (262147, 3e945522-7d71-48c0-a8cf-675bbc078bb0) (0) (SQLExecDirectW)')

      Reproducer:

      1. Start Ignite node.
      2. Execute command:
        python3 odbc_client.py -o smoke0.sql.actual localhost:10800 smoke0.sql

      Commit id:
      2655e406b06a2605c2d5ad9402e06d81c1a168ef

       

       

      Attachments

        1. odbc_client.py
          2 kB
          Nikita Sivkov
        2. smoke0.sql
          0.1 kB
          Nikita Sivkov

        Activity

          People

            Unassigned Unassigned
            n.e.sivkov Nikita Sivkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: