Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a faq for powerbi #1420

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions common_docs_zh/faq/bi-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ under the License.

### Q2. 2.1.x 版本 JDBC 连接 Power BI 时报错读取数据时报错,给定的关键字目前不在字典中。

先在数据库中执行 show collation,一般情况下会只有 utf8mb4_900_bin,charset 为 utf8mb4 这一行结果。该报错的主要原因是在连接 Power BI 时需要找33号 ID,即需要该表中有33 ID 的行,需要升级至2.1.5版本以上
先在数据库中执行 show collation,一般情况下会只有 utf8mb4_900_bin,charset 为 utf8mb4 这一行结果。该报错的主要原因是在连接 Power BI 时需要找 33 号 ID,即需要该表中有 33 ID 的行,需要升级至 2.1.5 版本以上
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

语句有歧义,建议使用大模型优化


### Q3. 连接时报错从提供程序读取数据时出错:索引和计数必须引用该字符串内的位置。

Expand All @@ -45,17 +45,34 @@ SELECT
@@license,@@sql_mode ,@@lower_case_table_names , @@autocommit ;
```

可以在当前版本关闭新优化器也可以升级到2.0.7或者2.1.6及以上版本
可以在当前版本关闭新优化器也可以升级到 2.0.7 或者 2.1.6 及以上版本

### Q4. JDBC 连接2.1.x 版本报错从提供读取数据时出错:"Character set 'utf8mb3' is not supported by .Net.Framework"。
### Q4. JDBC 连接 2.1.x 版本报错从提供读取数据时出错:"Character set 'utf8mb3' is not supported by .Net.Framework"。

该问题易在2.1.x 版本遇到,如果遇到该问题则需要把 JDBC Driver 升级到8.0.32。
该问题易在 2.1.x 版本遇到,如果遇到该问题则需要把 JDBC Driver 升级到 8.0.32。

### Q5. JDBC 的方式连接 2.1x 版本的 Doris 时使用 SQL Statment 语句时报错:“出了点问题,未将对象引用设置到对象的实例”。

需要在连接的库下执行一下如下语句创建一个表,创建成功后再次连接 Doris 即可正常工作

```
CREATE TABLE `bogus_table` (
`id` BIGINT NOT NULL,
`value` BIGINT NULL
) ENGINE=OLAP
DUPLICATE KEY(`id`)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`id`) BUCKETS 10
PROPERTIES (
"replication_allocation" = "tag.location.default: 1"
);
```

## Tableau

### Q1. 2.0.x报错Tableau无法连接到数据源,错误代码:37CE01A3。
### Q1. 2.0.x 报错 Tableau 无法连接到数据源,错误代码:37CE01A3。

在当前版本关闭新优化器或者升级至2.0.7及以上版本
在当前版本关闭新优化器或者升级至 2.0.7 及以上版本

### Q2. 报错 SSL connection error:protocol version mismatch 无法连接到 MySQL 服务器。

Expand Down
17 changes: 17 additions & 0 deletions faq/bi-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,23 @@ The new optimizer can be turned off in the current version or upgraded to versio

This problem is easily encountered in version 2.1.x. If this problem occurs, you need to upgrade the JDBC Driver to 8.0.32.

### Q5. An error occurred when the SQL Statment statement was used to connect Doris of 2.1x using JDBC :"Something went wrong Object reference not set to an instance of an object".

You need to execute the following statement in the connected database. After the execution is successful, connect Doris again to work properly.

```
CREATE TABLE `bogus_table` (
`id` BIGINT NOT NULL,
`value` BIGINT NULL
) ENGINE=OLAP
DUPLICATE KEY(`id`)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`id`) BUCKETS 10
PROPERTIES (
"replication_allocation" = "tag.location.default: 1"
);
```

## Tableau

### Q1. Version 2.0.x reports that Tableau cannot connect to the data source with error code 37CE01A3.
Expand Down