Wrong url.encode
E88 opened this issue · comments
Thomas Lange commented
Trying to get all columns from ein row
get(table,key,colums, {start:111,end:222})
url.encode(table, key, null, 111, 222) results in url :
/table/key/111,222
The empty colums ignored in the url -> Server response "invalid path"
The url should be with empty path part:
/table/key//111,222
Thomas Lange commented
PATCH:
node-hbase / src / utils.coffee : 41
if columnPath
newpath += "/#{columnPath}"
Changed to:
newpath += "/"
if columnPath
newpath += "#{columnPath}"
Always enter "/" for empty columns.
Worms David commented
Old issue, closing.