easy_sql
easy_sql copied to clipboard
set default spark timezone conf to UTC
在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
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
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
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