Created
August 21, 2013 14:57
-
-
Save sankars/6295573 to your computer and use it in GitHub Desktop.
Hbase Phoenix queries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE "1004_ALERT_TYPE" | |
| ( | |
| NAME varchar(100) primary key, | |
| d.atd varchar(100), | |
| d.atn varchar(10) | |
| ) | |
| select * from "1004_ALERT_TYPE" limit 100 | |
| upsert into "1002_DEVICE_MASTER" select NAME,'1' from "1002_DEVICE_MASTER" where NAME < '2/100006' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment