itholic commented on code in PR #46063:
URL: https://github.com/apache/spark/pull/46063#discussion_r1565874426
##########
python/pyspark/sql/tests/test_dataframe.py:
##########
@@ -1012,34 +1012,34 @@ def test_dataframe_error_context(self):
)
# DataFrameQueryContext with pysparkLoggingInfo - and
- with self.assertRaises(AnalysisException) as pe:
- df.withColumn("and_invalid_type", df.id & "string").collect()
- self.check_error(
- exception=pe.exception,
- error_class="DATATYPE_MISMATCH.BINARY_OP_WRONG_TYPE",
- message_parameters={
- "inputType": '"BOOLEAN"',
- "actualDataType": '"BIGINT"',
- "sqlExpr": '"(id AND string)"',
- },
- query_context_type=QueryContextType.DataFrame,
- pyspark_fragment="and",
- )
+ # with self.assertRaises(AnalysisException) as pe:
Review Comment:
I will address them working in the end. Just made a quick PR to get a review
for the overall structure for now.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]