#1141 closed defect (fixed)

An error when collection name starts with number in rasql

Reported by: bphamhuu Owned by: pbaumann
Priority: minor Milestone: 9.2
Component: manuals_and_examples Version: development
Keywords: Cc: dmisev, pbaumann
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 Changed 21 months ago by dmisev

  • Component changed from qlparser to manuals_and_examples
  • Owner set to pbaumann
  • Status changed from new to assigned

comment:2 Changed 20 months ago by pbaumann

good catch! Fixed now.

comment:3 Changed 20 months ago by pbaumann

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.