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

set timezone globally (as a system parameter?) #16524

Closed
lmatz opened this issue Apr 28, 2024 · 4 comments
Closed

set timezone globally (as a system parameter?) #16524

lmatz opened this issue Apr 28, 2024 · 4 comments
Assignees
Milestone

Comments

@lmatz
Copy link
Contributor

lmatz commented Apr 28, 2024

Right now, we can set it per session: https://docs.risingwave.com/docs/current/view-configure-runtime-parameters/#how-to-view-runtime-parameters

It is reasonable to fix it for all the sessions as typically the user only cares about the time zone they are living in or dealing with.

Making it one of the system parameters should work. But I suppose it would require a system restart to take effect?
Not sure if there is a better way to do so.

@yuhao-su
Copy link
Contributor

alter system set timezone to xxx? Start a new session should work

@lmatz
Copy link
Contributor Author

lmatz commented Apr 30, 2024

you are right

I am actually a bit confused

https://docs.risingwave.com/docs/current/view-configure-system-parameters/#:~:text=You%20can%20configure%20mutable%20parameters,CLI%20of%20the%20meta%20node.:
SCR-20240430-t9a

The page seems to imply that only variables mentioned above can be altered by alter system set statement.

But timezone is not in the list

@yuhao-su
Copy link
Contributor

yuhao-su commented May 1, 2024

#16062

@lmatz
Copy link
Contributor Author

lmatz commented May 1, 2024

Thanks, let me file a doc issue to make it more clear.

User and I both get lost on this...

@lmatz lmatz closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants