HeartSaVioR commented on issue #23891: [SPARK-26987][SQL] Add a new method to 
RowFactory: Row with schema
URL: https://github.com/apache/spark/pull/23891#issuecomment-467742142
 
 
   This is already a workaround on the issue - you can see some inconsistencies 
in the example:
   
   - map function gets `GenericRowWithSchema` in runtime
   - with addition to watermark, filter function gets `GenericRowWithSchema` in 
runtime
   - without addition to watermark, filter function gets `GenericRow` in runtime
   
   I would abandon this change if we can trace root reason and make them being 
consistency, but if not, we should at least provide workaround, rather than let 
end users being in a loop that `run -> face exception -> searching reason -> 
fix -> face another exception -> ...`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to