Github user GenTang commented on a diff in the pull request:
https://github.com/apache/spark/pull/3920#discussion_r24185498
--- Diff: examples/src/main/python/hbase_inputformat.py ---
@@ -72,6 +75,9 @@
keyConverter=keyConv,
valueConverter=valueConv,
conf=conf)
+ # hbase_rdd is a RDD[dict]
--- End diff --
In fact, every record in dict is a record of HBase.
Therefore by using RDD[dict], the element of RDD corresponds a record in
HBase. If we use RDD of dict, it is impossible to tell a certain value belongs
to which row, which column, etc.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]