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

TajoCli should exit when at least one query faces error while executing a SQL script.

    Details

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

      Description

      Tsql can take a SQl script as follows:

      bin/tsql -f etl.sql
      

      etl.sql file can include multiple statements including meta comments, DDL, and DML statements. In current implementation, Tsql is hanging when it faces at least error while executing such a SQL script. The current Tsql behavior is not good for script users.

      Tsql should exit when it faces at least error.

      ``aa ``

        Attachments

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: