Opened 9 years ago

Closed 9 years ago

#1141 closed defect (fixed)

An error when collection name starts with number in rasql

Reported by: Bang Pham Huu Owned by: Peter Baumann
Priority: minor Milestone: 9.2
Component: manuals_and_examples Version: development
Keywords: Cc: Dimitar Misev, Peter Baumann
Complexity: Trivial

Description

The problem is collection name is like variable could not start with digit or special characters.

rasql -q "create collection 1_Collection GreySet" --out string --user rasadmin --passwd rasadmin
rasql: rasdaman query tool v1.0, rasdaman v9.2.0-beta1-g27a62bd -- generated on 08.01.2016 08:47:19.
opening database RASBASE at localhost:7001...ok
Executing update query...rasdaman error 300: Parsing error 300 in line 1, column 19: Unexpected name 1.

In Rasql Query Language guide said (page 39)

"A collection name is made up of lower and upper case characters,
underscores, and digits."

So I think Rasql Query Guide should explicitly define valid collection name which only starts with character.

Change History (3)

comment:1 by Dimitar Misev, 9 years ago

Component: qlparsermanuals_and_examples
Owner: set to Peter Baumann
Status: newassigned

comment:2 by Peter Baumann, 9 years ago

good catch! Fixed now.

comment:3 by Peter Baumann, 9 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.