[
https://issues.apache.org/jira/browse/TAJO-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964437#comment-14964437
]
ASF GitHub Bot commented on TAJO-1932:
--------------------------------------
GitHub user dkhwangbo opened a pull request:
https://github.com/apache/tajo/pull/830
TAJO-1932: TSql need to distinguish between empty string and blank.
I think the solution of this issue is Removing needless space. I add this
part.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dkhwangbo/tajo TAJO-1932
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/830.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #830
----
commit 3e8d2cfa171877df658c37ef9b2fccde0c452fb9
Author: Dongkyu Hwangbo <[email protected]>
Date: 2015-10-20T03:09:45Z
initial commit
----
> 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
> Assignee: Dongkyu Hwangbo
> Labels: newbie
>
> 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)