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 2022/05/29 01:24:30 UTC
[GitHub] [spark] wangyum opened a new pull request, #36713: [SPARK-39265][SQL][FOLLOWUP] Fix test failure when SPARK_ANSI_SQL_MODE is enabled
wangyum opened a new pull request, #36713:
URL: https://github.com/apache/spark/pull/36713
### What changes were proposed in this pull request?
Fix test failure when `SPARK_ANSI_SQL_MODE` is enabled:
```
2022-05-28T21:02:01.9025896Z - INSERT rows, ALTER TABLE ADD COLUMNS with DEFAULTs, then SELECT them *** FAILED *** (1 second, 260 milliseconds)
2022-05-28T21:02:01.9112619Z org.apache.spark.SparkNumberFormatException: [CAST_INVALID_INPUT] The value 'a' of the type "STRING" cannot be cast to "TINYINT" because it is malformed. Correct the value as per the syntax, or change its target type. To return NULL instead, use `try_cast`. If necessary set "spark.sql.ansi.enabled" to "false" to bypass this error
```
### Why are the changes needed?
To make CI test pass when `SPARK_ANSI_SQL_MODE` is enabled.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
N/A
--
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] wangyum commented on pull request #36713: [SPARK-39265][SQL][FOLLOWUP] Fix test failure when SPARK_ANSI_SQL_MODE is enabled
Posted by GitBox <gi...@apache.org>.
wangyum commented on PR #36713:
URL: https://github.com/apache/spark/pull/36713#issuecomment-1140434847
Merged to master.
--
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] wangyum closed pull request #36713: [SPARK-39265][SQL][FOLLOWUP] Fix test failure when SPARK_ANSI_SQL_MODE is enabled
Posted by GitBox <gi...@apache.org>.
wangyum closed pull request #36713: [SPARK-39265][SQL][FOLLOWUP] Fix test failure when SPARK_ANSI_SQL_MODE is enabled
URL: https://github.com/apache/spark/pull/36713
--
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] wangyum commented on pull request #36713: [SPARK-39265][SQL][FOLLOWUP] Fix test failure when SPARK_ANSI_SQL_MODE is enabled
Posted by GitBox <gi...@apache.org>.
wangyum commented on PR #36713:
URL: https://github.com/apache/spark/pull/36713#issuecomment-1140354174
cc @dtenedor @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] dongjoon-hyun commented on pull request #36713: [SPARK-39265][SQL][FOLLOWUP] Fix test failure when SPARK_ANSI_SQL_MODE is enabled
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on PR #36713:
URL: https://github.com/apache/spark/pull/36713#issuecomment-1140554465
Thank you for the fix, @wangyum !
--
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