HBase doesn't know about data types that you are using in Phoenix. So it operates with binary arrays. HBase shell shows printable ASCII characters as is and hex values for the rest. You may use spark-phoenix module to work with Phoenix from Spark.
Thanks, Sergey On Thu, Nov 30, 2017 at 11:22 PM, Vaghawan Ojha <vaghawan...@gmail.com> wrote: > Hi, > > I've few phoenix tables created from Phoenix itself, they do fine with the > Phoenix, however, when I try to scan the data from hbase shell, the binary > strings get printed instead of the real values, like the one I can see in > the phoenix. > > Also, there are cases when I want to fetch them directly from hbase and > work with spark. I guess I'm doing something wrong with the configuration > of phoenix, or is this the expected result? > > I'm using phoenix-4.12.0-HBase-1.2 . > > Any reply would be appreciated. > > Thanks >