[
https://issues.apache.org/jira/browse/KYLIN-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130009#comment-17130009
]
ASF GitHub Bot commented on KYLIN-4548:
---------------------------------------
coveralls commented on pull request #1251:
URL: https://github.com/apache/kylin/pull/1251#issuecomment-641695851
## Pull Request Test Coverage Report for [Build
5990](https://coveralls.io/builds/31353888)
* **0** of **1** **(0.0%)** changed or added relevant line in **1** file
are covered.
* **2** unchanged lines in **1** file lost coverage.
* Overall coverage decreased (**-0.003%**) to **28.244%**
---
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
| :-----|--------------|--------|---: |
|
[server-base/src/main/java/org/apache/kylin/rest/controller/QueryController.java](https://coveralls.io/builds/31353888/source?filename=server-base%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Frest%2Fcontroller%2FQueryController.java#L138)
| 0 | 1 | 0.0%
<!-- | **Total:** | **0** | **1** | **0.0%** | -->
| Files with Coverage Reduction | New Missed Lines | % |
| :-----|--------------|--: |
|
[stream-core/src/main/java/org/apache/kylin/stream/core/storage/CheckPointStore.java](https://coveralls.io/builds/31353888/source?filename=stream-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fstream%2Fcore%2Fstorage%2FCheckPointStore.java#L98)
| 2 | 73.74% |
<!-- | **Total:** | **2** | | -->
| Totals | [](https://coveralls.io/builds/31353888)
|
| :-- | --: |
| Change from base [Build 5987](https://coveralls.io/builds/31340644): |
-0.003% |
| Covered Lines: | 25755 |
| Relevant Lines: | 91186 |
---
##### π - [Coveralls](https://coveralls.io)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> When the SQL that needs to export the query results has Chinese, garbled
> characters will be generated
> -----------------------------------------------------------------------------------------------------
>
> Key: KYLIN-4548
> URL: https://issues.apache.org/jira/browse/KYLIN-4548
> Project: Kylin
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: v3.0.2, v2.6.6
> Reporter: ChangjiGuo
> Assignee: ChangjiGuo
> Priority: Major
> Attachments: image-2020-06-09-15-36-21-934.png
>
>
> If we want to export the query results on the WEB UI, and sql contains
> Chinese, this will cause the exported results to be empty, because the query
> executed is not what we want. The following will be specifically explained:
> For example, the sql we want to execute is:
> {code:sql}
> select count(1) from kylin_test.kylin_sales where
> KYLIN_SALES.LSTG_FORMAT_NAME = 'δΈζ'
> {code}
> when you execute export, the sql received by kylin server contains garbled
> characters:
> !image-2020-06-09-15-36-21-934.png!
> Therefore, the controller needs to convert the encoding format.
> {code:java}
> sqlRequest.setSql(new
> String(sqlRequest.getSql().getBytes("iso8859-1"),"UTF-8"));
> {code}
> After testing, It works well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)