webber created SPARK-26291: ------------------------------ Summary: how to get the number of rows when i write or read use datasourceV2 Key: SPARK-26291 URL: https://issues.apache.org/jira/browse/SPARK-26291 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 2.4.0 Reporter: webber Fix For: 2.4.0
how to get the number of rows when i write or read on external data storage by java datasourceV2 simplely. Now, when i read from a external data storage to show, i get a dataset, i need to do dataset.count to get the number. when i write to a external data storage, i need to do writer.save, and then i have to do dataset.count to get the number too. How can i count the number In the process of writer, but _additional dataset.count_ -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org