You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sasi (JIRA)" <ji...@apache.org> on 2016/01/06 21:11:39 UTC
[jira] [Commented] (SPARK-12679) Collect method return empty rows.
[ https://issues.apache.org/jira/browse/SPARK-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086204#comment-15086204 ]
Sasi commented on SPARK-12679:
------------------------------
Scenario that I can explains is:
1) Aerospike table is full with data.
2) Create temporary table with the same data I have in Aerospike.
3) Do query such as “select * from tmpTable” and getting the same results. (Array of rows equals by the size of Aerospike data)
4) Iterate on each row and get NULL as a content.
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org