cloudflare / cloudflare/sqlalchemy-clickhouse

timezone problem

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
325
Forks
101
PR merge metrics
No merged PRs in 30d

Description

env:
sqlalchemy-clickhouse 0.1.5.post0
superset 0.28.1

problem:
When I query the time field, the time is 8 hours behind. clickhouse timezone is Asia/Shanghai
using select now() in superset

but use clickhouse-client query select now() is right

Could you add a connection parameter? such as connect_args "time_zone": "Asia/Shanghai"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.