[Cubicweb] A small feedback for the float format in rql

Sylvain Thénault sylvain.thenault at logilab.fr
Tue Apr 1 11:25:32 CEST 2014


On 01 avril 11:12, Dimitri Papadopoulos Orfanos wrote:
> Hi Jinpeng,
> 
> Unlike SQL, RQL does not support exponents.
> 
> This is documented here:
>   http://docs.cubicweb.org/annexes/rql/implementation.html#bnf-grammar
>   FLOAT    ::= '\d+\.\d*'
> 
> This is implemented in /usr/share/pyshared/rql/parser.py:
>   ('FLOAT', re.compile('-?\\d+\\.\\d*')),
> 
> 
> Indeed this should be fixed. I suggest you open a ticket to report this
> issue:
>    http://www.cubicweb.org/project/cubicweb

I agree an issue should be open, though rather on the RQL project :
https://www.logilab.org/project/rql
-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org



More information about the Cubicweb mailing list