[ 
https://issues.apache.org/jira/browse/SPARK-26291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

webber updated SPARK-26291:
---------------------------
    Shepherd: Gabor Somogyi

> 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
>            Priority: Major
>             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to