You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/07/22 14:07:53 UTC
[GitHub] [spark] dominikgehl opened a new pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
dominikgehl opened a new pull request #33482:
URL: https://github.com/apache/spark/pull/33482
### What changes were proposed in this pull request?
Exposing localtimestamp in pyspark.sql.functions
### Why are the changes needed?
Was previously only available in scala
### Does this PR introduce _any_ user-facing change?
new localtimestamp in pyspark.sql.functions
### How was this patch tested?
test added inline
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dominikgehl commented on a change in pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
dominikgehl commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r676382447
##########
File path: python/pyspark/sql/types.py
##########
@@ -186,6 +187,20 @@ def fromInternal(self, ts):
return datetime.datetime.fromtimestamp(ts // 1000000).replace(microsecond=ts % 1000000)
+class TimestampNTZType(TimestampType):
Review comment:
New ticket is https://issues.apache.org/jira/projects/SPARK/issues/SPARK-36287
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886486445
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141623/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885591580
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46068/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885472365
**[Test build #141546 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141546/testReport)** for PR 33482 at commit [`dd90129`](https://github.com/apache/spark/commit/dd90129df4b4f40a93f12622125398e8ea76736b).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] github-actions[bot] commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-960309908
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886486404
**[Test build #141623 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141623/testReport)** for PR 33482 at commit [`163815a`](https://github.com/apache/spark/commit/163815a83537ca502d3fe575ac66aeb407a292b0).
* This patch **fails Python style tests**.
* This patch merges cleanly.
* This patch adds the following public classes _(experimental)_:
* `class TimestampNTZType(TimestampType):`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] gengliangwang commented on a change in pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
gengliangwang commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r674947529
##########
File path: python/pyspark/sql/types.py
##########
@@ -899,6 +899,8 @@ def _parse_datatype_json_value(json_value):
return _all_atomic_types[json_value]()
elif json_value == 'decimal':
return DecimalType()
+ elif json_value == 'timestamp_ntz':
+ return TimestampType()
Review comment:
I think we need a design for how to support TimestampNTZ type in PySpark. Here the `timestamp_ntz` is mapped to `TimestampType()`
cc @HyukjinKwon
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885494910
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46064/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886486445
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141623/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885565054
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46068/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885069456
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46019/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-884986364
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141502/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886491927
**[Test build #141625 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141625/testReport)** for PR 33482 at commit [`5fc4307`](https://github.com/apache/spark/commit/5fc4307084a3cfe321d7e6fdb2e576bce8dab427).
* This patch **fails Python style tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886490821
**[Test build #141625 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141625/testReport)** for PR 33482 at commit [`5fc4307`](https://github.com/apache/spark/commit/5fc4307084a3cfe321d7e6fdb2e576bce8dab427).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885512232
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46064/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-884945566
**[Test build #141502 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141502/testReport)** for PR 33482 at commit [`d9c97a3`](https://github.com/apache/spark/commit/d9c97a3849f77928a543b030d530755b3dd493cf).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on a change in pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r675456037
##########
File path: python/pyspark/sql/types.py
##########
@@ -186,6 +187,20 @@ def fromInternal(self, ts):
return datetime.datetime.fromtimestamp(ts // 1000000).replace(microsecond=ts % 1000000)
+class TimestampNTZType(TimestampType):
Review comment:
@dominikgehl can we do this in a separate PR? With adding this type, we should also check if it works w/:
- `SparkSession.createDataFrame` (when 'spark.sql.execution.arrow.pyspark.enabled'` configuration is on and off)
- `DataFrame.toPandas` (when 'spark.sql.execution.arrow.pyspark.enabled'` configuration is on and off)
- `DataFrame.collect()`
- `pyspark.functions.udf`
- `pyspark.functions.pandas_udf`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885069456
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46019/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886569730
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-884986364
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141502/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885069422
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46019/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] github-actions[bot] closed pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #33482:
URL: https://github.com/apache/spark/pull/33482
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] github-actions[bot] commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-960309908
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886490821
**[Test build #141625 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141625/testReport)** for PR 33482 at commit [`5fc4307`](https://github.com/apache/spark/commit/5fc4307084a3cfe321d7e6fdb2e576bce8dab427).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885480943
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141546/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on a change in pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r675456037
##########
File path: python/pyspark/sql/types.py
##########
@@ -186,6 +187,20 @@ def fromInternal(self, ts):
return datetime.datetime.fromtimestamp(ts // 1000000).replace(microsecond=ts % 1000000)
+class TimestampNTZType(TimestampType):
Review comment:
@dominikgehl can we do this in a separate PR? With adding this type, we should also check if it works w/:
- `SparkSession.createDataFrame` (when 'spark.sql.execution.arrow.pyspark.enabled'` configuration is on and off)
- `DataFrame.toPandas` (when 'spark.sql.execution.arrow.pyspark.enabled'` configuration is on and off)
- `DataFrame.collect`
- `pyspark.functions.udf`
- `pyspark.functions.pandas_udf`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885480654
**[Test build #141546 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141546/testReport)** for PR 33482 at commit [`dd90129`](https://github.com/apache/spark/commit/dd90129df4b4f40a93f12622125398e8ea76736b).
* This patch **fails PySpark unit tests**.
* This patch merges cleanly.
* This patch adds the following public classes _(experimental)_:
* `class TimestampNTZType(TimestampType):`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885537599
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141551/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] github-actions[bot] closed pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #33482:
URL: https://github.com/apache/spark/pull/33482
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886485299
**[Test build #141623 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141623/testReport)** for PR 33482 at commit [`163815a`](https://github.com/apache/spark/commit/163815a83537ca502d3fe575ac66aeb407a292b0).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885512206
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46064/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-884985465
**[Test build #141502 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141502/testReport)** for PR 33482 at commit [`d9c97a3`](https://github.com/apache/spark/commit/d9c97a3849f77928a543b030d530755b3dd493cf).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885584046
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46068/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885536959
**[Test build #141551 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141551/testReport)** for PR 33482 at commit [`903b4d9`](https://github.com/apache/spark/commit/903b4d932e31273e3586c6934e082ac2a9a6218d).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on a change in pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r675481372
##########
File path: python/pyspark/sql/types.py
##########
@@ -186,6 +187,20 @@ def fromInternal(self, ts):
return datetime.datetime.fromtimestamp(ts // 1000000).replace(microsecond=ts % 1000000)
+class TimestampNTZType(TimestampType):
Review comment:
Yes, let;s create a new ticket for `TimestampNTZType`. Yes, let's do that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] github-actions[bot] closed pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #33482:
URL: https://github.com/apache/spark/pull/33482
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885591580
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46068/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886491959
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141625/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886485299
**[Test build #141623 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141623/testReport)** for PR 33482 at commit [`163815a`](https://github.com/apache/spark/commit/163815a83537ca502d3fe575ac66aeb407a292b0).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886515707
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46140/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886491959
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141625/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] MaxGekk removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
MaxGekk removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885002168
So far, we shouldn't expose the function, see https://github.com/apache/spark/pull/33444 . cc @gengliangwang
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dominikgehl commented on a change in pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
dominikgehl commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r675479426
##########
File path: python/pyspark/sql/types.py
##########
@@ -186,6 +187,20 @@ def fromInternal(self, ts):
return datetime.datetime.fromtimestamp(ts // 1000000).replace(microsecond=ts % 1000000)
+class TimestampNTZType(TimestampType):
Review comment:
@HyukjinKwon Just to get the workflow right, should I create a separate JIRA ticket to create the TimestampNTZType ? And then once we have the additional type, we come back to this PR ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] MaxGekk commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
MaxGekk commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885002168
So far, we shouldn't expose the function, see https://github.com/apache/spark/pull/33444 . cc @gengliangwang
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885512232
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46064/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886552558
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46140/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886613056
Let's implement https://issues.apache.org/jira/projects/SPARK/issues/SPARK-36287 first before getting this in.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886569730
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885472365
**[Test build #141546 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141546/testReport)** for PR 33482 at commit [`dd90129`](https://github.com/apache/spark/commit/dd90129df4b4f40a93f12622125398e8ea76736b).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886567563
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46141/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dominikgehl commented on a change in pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
dominikgehl commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r675478316
##########
File path: python/pyspark/sql/types.py
##########
@@ -899,6 +899,8 @@ def _parse_datatype_json_value(json_value):
return _all_atomic_types[json_value]()
elif json_value == 'decimal':
return DecimalType()
+ elif json_value == 'timestamp_ntz':
+ return TimestampType()
Review comment:
Updated with new TimestampNTZType
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885536959
**[Test build #141551 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141551/testReport)** for PR 33482 at commit [`903b4d9`](https://github.com/apache/spark/commit/903b4d932e31273e3586c6934e082ac2a9a6218d).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on a change in pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on a change in pull request #33482:
URL: https://github.com/apache/spark/pull/33482#discussion_r675267185
##########
File path: python/pyspark/sql/types.py
##########
@@ -899,6 +899,8 @@ def _parse_datatype_json_value(json_value):
return _all_atomic_types[json_value]()
elif json_value == 'decimal':
return DecimalType()
+ elif json_value == 'timestamp_ntz':
+ return TimestampType()
Review comment:
Yeah, let's add the proper support of `TimestampTypeNTZ` first.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-884945566
**[Test build #141502 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141502/testReport)** for PR 33482 at commit [`d9c97a3`](https://github.com/apache/spark/commit/d9c97a3849f77928a543b030d530755b3dd493cf).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-886542614
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46141/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885537580
**[Test build #141551 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141551/testReport)** for PR 33482 at commit [`903b4d9`](https://github.com/apache/spark/commit/903b4d932e31273e3586c6934e082ac2a9a6218d).
* This patch **fails Python style tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885480943
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141546/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885042618
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46019/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33482: [SPARK-36259] Expose localtimestamp in pyspark.sql.functions
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33482:
URL: https://github.com/apache/spark/pull/33482#issuecomment-885537599
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141551/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org