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

Sean Owen resolved SPARK-12679.
-------------------------------
    Resolution: Invalid

I can't make out what you're describing here. For example, the result is 
correct if there are no rows in the table.

> Collect method return empty rows.
> ---------------------------------
>
>                 Key: SPARK-12679
>                 URL: https://issues.apache.org/jira/browse/SPARK-12679
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Sasi
>
> Hi,
> I don't know where to put my fingre on that issue, on the connector or on 
> Spark, but sometimes when I do SQL query I get empty rows.
> Example code:
>      rows = Arrays.asList(sparkCtx.sparkSql(“select * from 
> tmpTable”).collect());
>       iterate Row row -> rows
> system-out(row.getString(0)) -----return null
> I tried to find open bugs on the collect method, without any luck.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to