You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "webber (JIRA)" <ji...@apache.org> on 2018/12/06 10:31:00 UTC

[jira] [Created] (SPARK-26291) how to get the number of rows when i write or read use datasourceV2

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org