Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1183

Keep command execution even with errors.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      Found this while working on TAJO-1159.

      See the below example, which basically shows entering 2 SQL statements in one line.

      ex)
      jungjw$ $TAJO_HOME/bin/tsql

      Try ? for help.
      default> select * from table1; select * from table2;
      ERROR: relation "default.table1" does not exist
      default>

      As you can see, I'm not seeing the error message for "select * from table2" statement. I don't know yet whether the statement itself is completely ignored or tsql is just showing only one error message here, though. I'm guessing that tsql stops executing following statements if it runs into an error.

      Will take a closer look after resolving other issues.

        Attachments

          Activity

            People

            • Assignee:
              jungjw Jaewoong Jung
              Reporter:
              jungjw Jaewoong Jung
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: