GitHub user zuyu opened a pull request:

    https://github.com/apache/incubator-quickstep/pull/243

    Fixed a bug regarding the table name containing '_' in Commands.

    Assigned to @jianqiao.
    
    This small PR fixed the bug that commands like `\d`, `\dt`, and `\analyze` 
could not accept a table name that contains `_`:
    
    ```
    quickstep> \analyze foo_part_4
    ERROR: illegal character (1 : 14)
    \analyze foo_part_4
                 ^
    quickstep> \d foo_part_4
    ERROR: illegal character (1 : 8)
    \d foo_part_4
           ^
    quickstep> \dt foo_part_4
    ERROR: illegal character (1 : 9)
    \dt foo_part_4
            ^
    ```
    
    Now:
    ```
    quickstep> \dt foo_part_4
           List of relations
    
     Name       | Type  | Blocks
    +-----------+-------+---------+
     foo_part_4 | table | 4
    
    quickstep> \d foo_part_4
     Table "foo_part_4"
     Column | Type
    +-------+-------+
     a      | Int
    quickstep> \analyze foo_part_4
    Analyzing foo_part_4 ... done
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zuyu/incubator-quickstep analyze-table-name

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-quickstep/pull/243.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 #243
    
----
commit 678e2c3956b8ad922388b450d721b7e25535d81e
Author: Zuyu Zhang <zu...@apache.org>
Date:   2017-05-02T20:51:41Z

    Fixed a bug regarding the table name containing '_' in Commands.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to