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

[Doc][Module Name] Documentation bug or improvement #17017

Open
2 of 3 tasks
zhaowanpeng opened this issue Feb 14, 2025 · 1 comment
Open
2 of 3 tasks

[Doc][Module Name] Documentation bug or improvement #17017

zhaowanpeng opened this issue Feb 14, 2025 · 1 comment
Labels
document help wanted Extra attention is needed

Comments

@zhaowanpeng
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

官方文档中介绍:
数据库:PostgreSQL (8.2.15+)

我的postgresql:postgres (PostgreSQL) 9.2.24

然而在执行时报错:
[ERROR] 2025-02-14 17:16:19.894 +0800 o.a.d.a.e.ApiExceptionHandler:[47] - Meet en unknown exception:
org.springframework.jdbc.BadSqlGrammarException:

Error updating database. Cause: org.postgresql.util.PSQLException: 错误: 语法错误 在 "ON" 或附近的

位置:142

The error may exist in class path resource [org/apache/dolphinscheduler/dao/mapper/TriggerRelationMapper.xml]

The error may involve defaultParameterMap

The error occurred while setting parameters

SQL: INSERT INTO t_ds_trigger_relation (trigger_code, trigger_type, job_id, create_time, update_time) VALUES( ?,?,?,?,?) ON CONFLICT(trigger_type,job_id,trigger_code) DO UPDATE SET update_time = ?;

Cause: org.postgresql.util.PSQLException: 错误: 语法错误 在 "ON" 或附近的

位置:142
; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: 错误: 语法错误 在 "ON" 或附近的
位置:142

Documentation Links

https://dolphinscheduler.apache.org/zh-cn/docs/3.2.2/guide/installation/pseudo-cluster

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

The official documentation introduces:
Database: PostgreSQL (8.2.15+)

My postgresql: postgres (PostgreSQL) 9.2.24

However, an error was reported during execution:
[ERROR] 2025-02-14 17:16:19.894 +0800 o.a.d.a.e.ApiExceptionHandler:[47] - Meet en unknown exception:
org.springframework.jdbc.BadSqlGrammarException:

Error updating database. Cause: org.postgresql.util.PSQLException: Error: Syntax error in "ON" or near

Location: 142

The error may exist in class path resource [org/apache/dolphinscheduler/dao/mapper/TriggerRelationMapper.xml]

The error may involve defaultParameterMap

The error occurred while setting parameters

SQL: INSERT INTO t_ds_trigger_relation (trigger_code, trigger_type, job_id, create_time, update_time) VALUES( ?,?,?,?,?) ON CONFLICT(trigger_type, job_id, trigger_code) DO UPDATE SET update_time = ?;

Cause: org.postgresql.util.PSQLException: Error: Syntax error in "ON" or near

Location: 142
; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: Error: Syntax error in "ON" or near
Location: 142

Documentation Links

https://dolphinscheduler.apache.org/zh-cn/docs/3.2.2/guide/installation/pseudo-cluster

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@SbloodyS SbloodyS added help wanted Extra attention is needed and removed Waiting for reply Waiting for reply labels Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
document help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants