Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kb:bigdata:apache_phoenix [2017/11/26 16:25]
yehuda created
kb:bigdata:apache_phoenix [2017/11/26 16:26] (current)
yehuda [Update hbase table]
Line 3: Line 3:
 ===== Update hbase table ===== ===== Update hbase table =====
 <code sql> <code sql>
-CREATE VIEW "​users_data"​ ( ROWKEY VARCHAR PRIMARY KEY, "​personal_info"​."​firstName"​ VARCHAR, "​personal_info"​."​lastName"​ VARCHAR, "​personal_info"​."​gender"​ VARCHAR, "​contact_info"​."​mail"​ VARCHAR, "​contact_info"​."​mobile"​ VARCHAR ) ;+CREATE VIEW "​users_data" ​ 
 + 
 +    ​ROWKEY VARCHAR PRIMARY KEY,  
 +    ​"​personal_info"​."​firstName"​ VARCHAR, ​ 
 +    ​"​personal_info"​."​lastName"​ VARCHAR, ​ 
 +    ​"​personal_info"​."​gender"​ VARCHAR, ​ 
 +    ​"​contact_info"​."​mail"​ VARCHAR, ​ 
 +    ​"​contact_info"​."​mobile"​ VARCHAR ) ;
 </​code>​ </​code>​
 [[https://​khodeprasad.wordpress.com/​2016/​07/​26/​how-to-use-existing-hbase-table-in-apache-phoenix/​|source]] [[https://​khodeprasad.wordpress.com/​2016/​07/​26/​how-to-use-existing-hbase-table-in-apache-phoenix/​|source]]
kb/bigdata/apache_phoenix.txt · Last modified: 2017/11/26 16:26 by yehuda
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0