comphead commented on PR #2614: URL: https://github.com/apache/datafusion-comet/pull/2614#issuecomment-3429128283
> > For comparison, should we delegate this to Spark itself for simplest cases? 🤔 > > ``` > > sparkDf.count = = cometDf.count // to see duplicates or missing rows > > sparkDf.except(comeDf).union(cometDF.except(sparkDf)) // column-level checks > > ``` > > Will this involve re-executing the queries? Yes, both rows would be actions and trigger the dataframe evaluation. to avoid this we can cache/checkpoint dataframes, so it would be evaluated only once. Another option is to save both result df to disk and then read them for correctness checks, this option may also help in the future when Comet support the parquet writer. -- 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]
