LuciferYang commented on code in PR #60025:
URL: https://github.com/apache/spark/pull/60025#discussion_r4521871885
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/statsEstimation/ProjectEstimationSuite.scala:
##########
@@ -163,6 +164,54 @@ class ProjectEstimationSuite extends
StatsEstimationTestBase {
assert(proj2.stats == expectedStats2)
}
+ test("SPARK-60810: column stats of a CHAR column survive read-side padding")
{
+ val c =
DataTypeUtils.toAttribute(CharVarcharUtils.replaceCharVarcharWithStringInSchema(
Review Comment:
Done in 78f799492c4: `StatsEstimationTestBase.charAttr`.
`DataSourceV2RelationSuite` does not extend that base, so it keeps its own
construction.
--
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]