YannByron commented on code in PR #7612:
URL: https://github.com/apache/paimon/pull/7612#discussion_r3058577080
##########
paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/sql/DescribeTableTestBase.scala:
##########
@@ -98,6 +98,44 @@ abstract class DescribeTableTestBase extends
PaimonSparkTestBase {
)
Assertions.assertTrue(
res2.select("information").collect().head.getString(0).contains("Partition
Values"))
+
+ val info2 = res2.select("information").collect().head.getString(0)
+ Assertions.assertTrue(
Review Comment:
A tiny comment: we should only call 'assertTrue(boolean condition)', and we
don't need to throw exception when fail to assert, which is meaningless in unit
tests.
--
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]