Yikf commented on PR #40437:
URL: https://github.com/apache/spark/pull/40437#issuecomment-1500122229

   After code validation, ThriftServerQueryTestSuite and SQLQueryTestSuite 
depend on goldgen files;
   
   If goldgen file follows the format of df.show (the format of df.show depends 
on the DF rowEncoder);
   
   For SQLQueryTestSuite, you can easily generate df.show format;
   
   For ThriftServerQueryTestSuite, as a result of this suite ThriftServer, 
based on the client side output as the Object, not the DataSet, It is difficult 
to match the format of df.show (unless you copy the logic of a DataSet encoder);
   In addition to ThriftServerQueryTestSuite, it seems that it does not have to 
follow the df. The format of the show?
   
   In both of these kits, which are internal tests, is the format of output 
based on the DataSet only required to be consistent, rather than having to use 
the format of df.show? Because it's not testing at df.show


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