Documentation:
Fails if objects are unequal after converting them to strings.
Start / End / Elapsed:
20221109 22:57:52.144 / 20221109 22:57:52.144 / 00:00:00.000
22:57:52.144
INFO
df: org.apache.spark.sql.DataFrame = [RETAILER_KEY: int, VENDOR_KEY: int ... 9 more fields]
root
|-- RETAILER_KEY: integer (nullable = true)
|-- VENDOR_KEY: integer (nullable = true)
|-- SOURCE_TYPE: integer (nullable = true)
|-- UPC_ID: string (nullable = true)
|-- ATTRIBUTE_NAME: string (nullable = true)
|-- ATTRIBUTE_VALUE: string (nullable = true)
|-- PROCESS_KEY: long (nullable = true)
|-- CREATE_DATE: string (nullable = true)
|-- CREATED_BY: string (nullable = true)
|-- UPDATE_DATE: string (nullable = true)
|-- UPDATED_BY: string (nullable = true)
!=
df: org.apache.spark.sql.DataFrame = [RETAILER_KEY: int, VENDOR_KEY: int ... 9 more fields]
root
|-- RETAILER_KEY: integer (nullable = true)
|-- VENDOR_KEY: integer (nullable = true)
|-- SOURCE_TYPE: integer (nullable = true)
|-- UPC_ID: string (nullable = true)
|-- ATTRIBUTE_NAME: string (nullable = true)
|-- ATTRIBUTE_VALUE: string (nullable = true)
|-- PROCESS_KEY: long (nullable = true)
|-- CREATE_DATE: string (nullable = true)
|-- CREATED_BY: string (nullable = true)
|-- UPDATE_DATE: string (nullable = true)
|-- UPDATED_BY: string (nullable = true)
22:57:52.144
FAIL
Multiline strings are different:
--- first
+++ second
@@ -11,4 +11,5 @@
|-- CREATED_BY: string (nullable = true)
|-- UPDATE_DATE: string (nullable = true)
|-- UPDATED_BY: string (nullable = true)
-
+
+