Github user kiszk commented on the issue:
https://github.com/apache/spark/pull/21031
According to my understanding, these activities are to improve
compatibility with other DBs (like Presto) in
https://issues.apache.org/jira/browse/SPARK-23899 and
https://issues.apache.org/jira/browse/SPARK-23923.
As you pointed out, `cardinality` and `size` has the same except data type.
I used the same implementation.
@gatorsmile what do you think?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]