alibaba / alibaba/druid

使用druid连接presto 怎么设置时区

Open
#3,901 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
28.2k
Forks
8.6k
PR merge metrics
No merged PRs in 30d

Description

直接使用 PrestoConnection 时是通过设置的connection.setTimeZoneId("Asia/Shanghai");

我尝试在jdbc:presto://x.x.x.x:28050?serverTimezone=Asia/Shanghai 会报错

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the PrestoConnection entry point and the JDBC URL handling for the serverTimezone parameter. Reproduce the reported connection URL and compare it with connection.setTimeZoneId("Asia/Shanghai"). Done means the supported timezone configuration is identified and the reported error is resolved or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.