[ 
https://issues.apache.org/jira/browse/TAJO-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15006736#comment-15006736
 ] 

ASF GitHub Bot commented on TAJO-1977:
--------------------------------------

Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/860#discussion_r44930822
  
    --- Diff: 
tajo-core-tests/src/test/java/org/apache/tajo/cli/tsql/TestTajoCli.java ---
    @@ -228,17 +237,26 @@ private void verifyDescTable(String sql, String 
tableName, String resultFileName
         }
       }
     
    -  @Test
    -  public void testDescTable() throws Exception {
    +  public void testDescTable(String testTableName, String resultFileName) 
throws Exception {
         String tableName;
         if (cluster.isHiveCatalogStoreRunning()) {
    -      tableName = "TEST_DESC_TABLE".toLowerCase();
    +      tableName = testTableName.toLowerCase();
         } else {
    -      tableName = "TEST_DESC_TABLE";
    +      tableName = testTableName;
         }
     
         String sql = "create table \"" + tableName + "\" (col1 int4, col2 
int4);";
    -    verifyDescTable(sql, tableName, "testDescTable.result");
    --- End diff --
    
    If this file does not used anymore, please remove it.


> Cannot recognize the space-contained tablename and databasename
> ---------------------------------------------------------------
>
>                 Key: TAJO-1977
>                 URL: https://issues.apache.org/jira/browse/TAJO-1977
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Dongkyu Hwangbo
>            Assignee: Dongkyu Hwangbo
>            Priority: Minor
>
> See below.
> {noformat}
> default> create table "table name with space" (col int);
> OK
> default> insert into "table name with space" select 1;
> OK
> default> insert into "table name with space" select 2;
> OK
> default> insert into "table name with space" select 3;
> OK
> default> select * from "table name with space";
> col
> --------------------------
> 1
> 2
> 3
> (3 rows, 0.047 sec, 0 B selected)
> default>
> default> \d "table name with space"
> ERROR: No error message
> default>
> {noformat}
> Same problem is shown in \c command.



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

Reply via email to