Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1932

TSql need to distinguish between empty string and blank.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 0.11.0, 0.12.0
    • None
    • SQL Shell

    Description

      Currently, if users enter blank after command type on tsql, they can't get their respected result as following:

      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> ...]
      
      

      Attachments

        Activity

          People

            dkhwangbo Dongkyu Hwangbo
            blrunner JaeHwa Jung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: