Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-3735 ODBC: Support escape sequences.
  3. IGNITE-3738

ODBC: Escape sequences: Ensure that escape sequence token is parsed correctly irrespective of whitespaces.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7
    • 1.8
    • odbc
    • None

    Description

      The following escape sequences must be supported and parsed correctly:
      1)

      {fn X}

      2)

      { fn X}

      3)

      { fn X}

      4)

      { \n X}

      Etc. That is, irrespective of whitespaces, everything must be parsed correctly. I propose to rely on Character.isWhitespace, not on regexp. That is, once { is found, we should simply skip all following whitespaces, then get the token, then possibly skip more whitespaces.

      Attachments

        Activity

          People

            amashenkov Andrey Mashenkov
            vozerov Vladimir Ozerov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: