History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FRG-377
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: John V. Sichi
Reporter: Sunil Mujumdar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Farrago

Regular character set identifiers defined in SQL:2008 spec like :ALPHA:, :UPPER:, :LOWER:, .... are not yet implemented in SIMILAR TO expressions.

Created: 08/May/09 01:31 AM   Updated: 08/May/09 01:31 AM
Component/s: Runtime
Affects Version/s: 0.9.0
Fix Version/s: None

Environment: farrago build on Ubuntu 64-bit.


 Description  « Hide
Farrago probably does not have 'Regular character set identifiers' like :ALPHA: , :UPPER: , :LOWER: , :ALNUM: , :SPACE: , :WHITESPACE: , :DIGIT: etc defined or supported in SIMILAR TO predicates.

e.g. all queries below return false.

VALUES('yd32' SIMILAR TO [:LOWER:]{2}[:DIGIT:]*');
VALUES('yd32' SIMILAR TO '[:ALNUM:]*');
VALUES('yd32' SIMILAR TO '[:ALNUM:]*[:DIGIT:]?');
VALUES('yd32' SIMILAR TO '[:ALNUM:]?[:DIGIT:]*');
VALUES('yd3223' SIMILAR TO '[:LOWER:]{2}[:DIGIT:]{,5}'); -- supposed to fail as illegal regex.
VALUES('yd3223' SIMILAR TO '([:LOWER:]{2})[:DIGIT:]{2,5}');
VALUES('yd3223' SIMILAR TO '[:LOWER:]{2}[:DIGIT:]{2,}');
VALUES('yd3223' SIMILAR TO '[:LOWER:]{2}||[:DIGIT:]{4}');
VALUES('yd3223' SIMILAR TO '[:LOWER:]{2}[:DIGIT:]{3}');
VALUES('yd 3223' SIMILAR TO '[:UPPER:]{2} [:DIGIT:]{3}');
VALUES('YD 3223' SIMILAR TO '[:UPPER:]{2} [:DIGIT:]{3}');
VALUES('YD 3223' SIMILAR TO '[:UPPER:]{2}||[:WHITESPACE:]*[:DIGIT:]{3}');



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.