VAMDC / NodeSoftware

Python/Django-based software for running VAMDC data nodes.
http://www.vamdc.eu
GNU General Public License v3.0
15 stars 23 forks source link

LIKE not implemented completely #91

Open ivh opened 12 years ago

ivh commented 12 years ago

In the node software (sqlparse.py, restriction2Q), LIKE clauses are mapped to Django's _contains, endswith, and startswith methods. This does not completely implement the SQL LIKE clause (e.g. the single-character '' wildcard is not implemented, multiple '%' wildcards are not implemented). Misha's Java node software does implement SQL LIKE, so he likes the idea of allowing it. I'm not so sure. One (major!) problem is that nowhere in the VSS2 standards does it state explicitly which SQL relations are permitted or how they will be interpreted.

(submitted by xnx to other repo)