Spark phoenixTableAsRDD not fetching complete record values
<p>I'm having an odd problem, it seems that when im fetching the data from HBase using the Spark phoenix</p>

<pre><code>val rdd = sc.phoenixTableAsRDD(tableName, allColumns, zkUrl = Some(hostPort).map(tupleToObject)
</code></pre>

<p>I'm getting an RDD with all the record, but few dont have some of the non primary key fields valorized (ramdomly it seems). If i query such records with a simple Phoenix client i find that these fields are in fact with value.</p>

<pre><code>Example:
rdd.foreach(x =&gt; {
      println("Field A -&gt; " + x._1) //not a primary key value
      println("Field B -&gt; " + x._2) //not a primary key value
 })

Output:
  Field A 2
  Field B 3
  Field A null
  Field B 4
  Field A null  
  Field B null  
</code></pre>

<p>What am i missing? Is it possible that Apache Phoenix does not guarantee data consistency</p>