Yes. We keep tripping over nitty little bugs like the below. Its one of the reasons we're about to replace HQL (Stay tuned).
St.Ack

Rosemond Wu wrote:
Hello, all
It looks to me the create table command hasn't done much syntax checking for
input string. Look at below:

hql > create table myTable1(myColumn:language);
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
index out of range: -31
        at java.lang.String.substring(String.java:1768)
        at
org.apache.hadoop.hbase.hql.BasicCommand.extractErrMsg(BasicCommand.java:64)
        at
org.apache.hadoop.hbase.hql.BasicCommand.extractErrMsg(BasicCommand.java:68)
        at
org.apache.hadoop.hbase.hql.CreateCommand.execute(CreateCommand.java:67)
        at
org.apache.hadoop.hbase.hql.HQLClient.executeQuery(HQLClient.java:50)

at org.apache.hadoop.hbase.Shell.main(Shell.java:114)


Reply via email to