lgbo-ustc commented on issue #6923:
URL: 
https://github.com/apache/incubator-gluten/issues/6923#issuecomment-2297910481

   Trace the logical plan stats
   ```scala
   object JoinSelectionDebug extends Strategy with Logging {
     def apply(plan: LogicalPlan): Seq[SparkPlan] = plan match {
       case j @ ExtractEquiJoinKeys(
             joinType,
             leftKeys,
             rightKeys,
             nonEquiCond,
             _,
             left,
             right,
             hint) =>
         logError(s"xxxx ${left.stats} ${right.stats}")
         Nil
       case _ =>
         logError(s"xxx unknown plan: ${plan.getClass}")
         Nil
     }
   }
   ```
   Found that
   ```
   24/08/20 11:49:23.202 ERROR [main] JoinSelectionDebug: xxxx 
Statistics(sizeInBytes=1.0 B) Statistics(sizeInBytes=0.0 B, rowCount=3.85E+8)
   ```


-- 
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]

Reply via email to