easy_sql icon indicating copy to clipboard operation
easy_sql copied to clipboard

set default spark timezone conf to UTC

Open sxztthxq opened this issue 2 years ago • 4 comments

sxztthxq avatar Jun 17 '22 08:06 sxztthxq

在Linux中,一般用 TZ 环境变量设置时区。可以读取这个变量,不存在时再设置默认值?

比如

TZ=UTC0 date

不过 Spark SQL在某些情况下,也会读取TZ? https://spark.apache.org/docs/3.1.1/sql-ref-syntax-aux-conf-mgmt-set-timezone.html

zhangyuan avatar Jul 17 '22 16:07 zhangyuan

This pull request's title is not fulfill the requirements. @sxztthxq please update it 🙏.

Valid format:

fix(query): fix group by string bug
  ^         ^---------------------^
  |         |
  |         +-> Summary in present tense.
  |
  +-------> Type: feat, fix, refactor, ci, build, docs, website, chore

Valid types:

  • feat: this PR introduces a new feature to the codebase
  • fix: this PR patches a bug in codebase
  • refactor: this PR changes the code base without new features or bugfix
  • ci|build: this PR changes build/testing/ci steps
  • docs|website: this PR changes the documents or websites
  • chore: this PR only has small changes that no need to record

mergify[bot] avatar Aug 19 '22 07:08 mergify[bot]

This pull request's title is not fulfill the requirements. @sxztthxq please update it 🙏.

Valid format:

fix(query): fix group by string bug
  ^         ^---------------------^
  |         |
  |         +-> Summary in present tense.
  |
  +-------> Type: feat, fix, refactor, ci, build, docs, website, chore

Valid types:

  • feat: this PR introduces a new feature to the codebase
  • fix: this PR patches a bug in codebase
  • refactor: this PR changes the code base without new features or bugfix
  • ci|build: this PR changes build/testing/ci steps
  • docs|website: this PR changes the documents or websites
  • chore: this PR only has small changes that no need to record
  • type(scope)!: this type of PR introduces breaking changes to the codebase

mergify[bot] avatar Nov 19 '23 14:11 mergify[bot]

This pull request's title is not fulfill the requirements. @sxztthxq please update it 🙏.

Valid format:

fix(query): fix group by string bug
  ^         ^---------------------^
  |         |
  |         +-> Summary in present tense.
  |
  +-------> Type: feat, fix, refactor, ci, build, docs, website, chore

Valid types:

  • feat: this PR introduces a new feature to the codebase
  • fix: this PR patches a bug in codebase
  • refactor: this PR changes the code base without new features or bugfix
  • ci|build: this PR changes build/testing/ci steps
  • docs|website: this PR changes the documents or websites
  • chore: this PR only has small changes that no need to record
  • type(scope)!: this type of PR introduces breaking changes to the codebase

mergify[bot] avatar Feb 06 '24 07:02 mergify[bot]