You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2014/04/09 01:36:16 UTC
[jira] [Updated] (PHOENIX-920) SqlLine shows funky characters when
running on Windows
[ https://issues.apache.org/jira/browse/PHOENIX-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey Zhong updated PHOENIX-920:
----------------------------------
Attachment: phoenix-920.patch
The patch contains following fixes:
1) turn color setting off for windows OS
2) remove ".sh" references & update example description
3) search phoenix_client_jar in the script parent folder as well in case we don't find it in the default place. This deals with the situation when we run the script in the bin folder of the released package
> SqlLine shows funky characters when running on Windows
> ------------------------------------------------------
>
> Key: PHOENIX-920
> URL: https://issues.apache.org/jira/browse/PHOENIX-920
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0, 4.0.0, 5.0.0
> Reporter: Jeffrey Zhong
> Assignee: Jeffrey Zhong
> Attachments: phoenix-920.patch
>
>
> Below is the sample output. The reason is that we turn on --color settings on by default for sqlline. We should turn it off for windows OS.
> {noformat}
> 0: jdbc:phoenix:localhost> !tables
> ←[1;32m+←[m←[1;32m-------------------------------------------------------------------------------------------------------------------←[m←[1;32m←[m
> ←[1;32m| ←[m←[1mTABLE_CAT ←[m←[1;32m | ←[m←[1mTABLE_SCHEM←[m←[1;32m | ←[m←[1mTABLE_NAME←[m←[1;32m | ←[m←[1mTABLE_TYPE←[m←[1;32m | ←[m←[1m REMARKS ←[m←[1;32m | ←[m←[1mTYPE_NAME ←[m←[1;32m | ←[m←[1mSELF_REFERENCING_COL_NAME←[m←[1;32m | ←[m←[1mREF_GENERATION←[m←[1;32m | ←[m←[1mINDEX_STATE←[m←[1;32m |
> ←[m←[1mIMMUTA←[m←[1;32m |←[m
> ←[1;32m+←[m←[1;32m-------------------------------------------------------------------------------------------------------------------←[m←[1;32m←[m
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)