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

Local query without FROM throws IllegalArgumentException in CLI

    Details

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

      Description

      See title.

      default> select 'abc', '123';
      ERROR: Can not create a Path from an empty string
      java.lang.IllegalArgumentException: Can not create a Path from an empty string
      	at org.apache.hadoop.fs.Path.checkPathArg(Path.java:127)
      	at org.apache.hadoop.fs.Path.<init>(Path.java:135)
      	at org.apache.tajo.catalog.TableDesc.<init>(TableDesc.java:75)
      	at org.apache.tajo.cli.TajoCli.localQueryCompleted(TajoCli.java:381)
      	at org.apache.tajo.cli.TajoCli.executeQuery(TajoCli.java:366)
      	at org.apache.tajo.cli.TajoCli.executeParsedResults(TajoCli.java:323)
      	at org.apache.tajo.cli.TajoCli.runShell(TajoCli.java:312)
      	at org.apache.tajo.cli.TajoCli.main(TajoCli.java:484)
      

        Attachments

        1. TAJO-799.patch
          11 kB
          Hyoungjun Kim

          Activity

            People

            • Assignee:
              hjkim Hyoungjun Kim
              Reporter:
              hjkim Hyoungjun Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: