You can do it directly with spark sql Xavier
On 2018-03-07 06:38 AM, alexander.scherba...@yandex.com wrote:
Hello, I use the Phoenix Spark plugin to load data from HBase. There is the SparkSqlContextFunctions.phoenixTableAsDataFrame() method which allows to get a Dataset for the given table name, columns and a predicate. Is it possible to also provide LIMIT statement so the number of the retrieved rows were restricted? Thanks, Alexander.
<<attachment: xavier.vcf>>