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

Restore failure of dumped relations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0, 0.8.1
    • Component/s: conf and scripts
    • Labels:
      None

      Description

      When I try to restore dumped relations, I met the below errors.

      $ bin/tsql -f cat_dump.sql
      OK
      ERROR: syntax error at or near '<EOF>'
      ...
      

      'OK' message means that database is successfully created.
      However, the above syntax error is occurred for every 'create table' statement.

        Activity

        Hide
        jihoonson Jihoon Son added a comment -

        It seems to be related with comment processing.
        I'll further investigate.

        Show
        jihoonson Jihoon Son added a comment - It seems to be related with comment processing. I'll further investigate.
        Hide
        jihoonson Jihoon Son added a comment -

        This is a very trivial problem.
        Please review this patch.
        Thanks.

        Show
        jihoonson Jihoon Son added a comment - This is a very trivial problem. Please review this patch. Thanks.
        Hide
        jhkim Jinho Kim added a comment -

        +1
        I've verified in my local cluster.
        Thanks!

        Show
        jhkim Jinho Kim added a comment - +1 I've verified in my local cluster. Thanks!
        Hide
        jihoonson Jihoon Son added a comment -

        Thanks Jinho!
        I committed this patch.

        Show
        jihoonson Jihoon Son added a comment - Thanks Jinho! I committed this patch.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #248 (See https://builds.apache.org/job/Tajo-master-build/248/)
        TAJO-862: Restore failure of dumped relations. (jihoon) (jihoonson: rev d6e37127bb597fb9bceb745ee644ea43a25c2751)

        • CHANGES
        • tajo-client/src/main/java/org/apache/tajo/cli/SimpleParser.java
        • tajo-client/src/main/java/org/apache/tajo/client/TajoDump.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #248 (See https://builds.apache.org/job/Tajo-master-build/248/ ) TAJO-862 : Restore failure of dumped relations. (jihoon) (jihoonson: rev d6e37127bb597fb9bceb745ee644ea43a25c2751) CHANGES tajo-client/src/main/java/org/apache/tajo/cli/SimpleParser.java tajo-client/src/main/java/org/apache/tajo/client/TajoDump.java

          People

          • Assignee:
            jihoonson Jihoon Son
            Reporter:
            jihoonson Jihoon Son
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development