Github user smurakozi commented on the issue:
    @WeichenXu123  Executing `test("FPGrowth fit and transform with different 
data types")` with Byte data type produces an 
    `org.apache.spark.sql.AnalysisException: cannot resolve 'CAST(`items` AS 
BINARY)' due to data type mismatch: cannot cast array<tinyint> to binary`
    I don't remember all the details, but somewhere (catalyst?) the Array[Byte] 
has special treatment as Binary. When `testTransformerOnStreamData` tries to 
collect the data from the dataframe to test it as a stream this special casing 
causes the above mentioned exception.


To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to