Jaehwa Jung created TAJO-1932:
---------------------------------

             Summary: TSql need to distinguish between empty string and blank.
                 Key: TAJO-1932
                 URL: https://issues.apache.org/jira/browse/TAJO-1932
             Project: Tajo
          Issue Type: Bug
          Components: SQL Shell
    Affects Versions: 0.11.0, 0.12.0
            Reporter: Jaehwa Jung


Currently, if users enter blank after command type on tsql, they can't get 
their respected result as following:
{code:xml}
default> \d nation

table name: default.nation
table uri: hdfs://localhost:9010/tpch/nation
store type: TEXT
number of rows: unknown
volume: 2.2 kB
Options: 
        'totalSize'='0'
        'numRows'='-1'
        'rawDataSize'='-1'
        'COLUMN_STATS_ACCURATE'='false'
        'numFiles'='0'
        'transient_lastDdlTime'='1441287410'
        'text.null'='\\N'
        'text.delimiter'='|'

schema: 
n_nationkey     INT8
n_name  TEXT
n_regionkey     INT8
n_comment       TEXT

default> \d  nation
ERROR: No error message

default> \dfs -ls /tpch/nation
Found 1 items
-rw-r--r--   1 blrunner supergroup       2224 2015-03-30 15:16 
/tpch/nation/nation.tbl

default> \dfs -ls  /tpch/nation
-ls: Can not create a Path from an empty string
Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [<path> ...]

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to