Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Phoenix on Hbase existing table - Upper/lowercase on col name

avatar
Rising Star

Hello,

I create a phoenix view on an existing Hbase table wher all hte col family name are lowercas. the to be able to query it I have to put all the time " before and after every column name. It's a little bit annoysing, do you have a workaroung? 🙂

Thanks, Michel

1 ACCEPTED SOLUTION

avatar

As sql dialect keywords are case insensitive , so Double quotes(") just helps parser to avoid converting them back to upper case.

May be you can create a another view over your current view with case insensitive column name. You may check the actual syntax on the site, JFYR

create view view2(col1 integer, col2 integer) as select "col1","col2" from view1;

View solution in original post

1 REPLY 1

avatar

As sql dialect keywords are case insensitive , so Double quotes(") just helps parser to avoid converting them back to upper case.

May be you can create a another view over your current view with case insensitive column name. You may check the actual syntax on the site, JFYR

create view view2(col1 integer, col2 integer) as select "col1","col2" from view1;