Problem with WHERE caluses #10

Closed
ehud opened this Issue Mar 4, 2010 · 1 comment

Comments

Projects
None yet
2 participants
@ehud

ehud commented Mar 4, 2010

I take it that the following lines (in a data definition) are supposed to have identical effect.

(1) paper: FROM kuku.yaml WHERE "riku"=id

(2*) paper: FROM kuku.yaml WHERE id="riku"

(3) paper : FROM kuku.yaml WHERE id = "riku"

But while (1) and (3) work and produces the expected result, line (2*) results in the following (confusing) error message.

yst: Error parsing data field: "FROM kuku.yaml WHERE id="riku"" (line 1, column 18):
unexpected "W"
expecting space, ";", white space or end of input

@jgm

This comment has been minimized.

Show comment Hide comment
@jgm

jgm Mar 5, 2010

Owner

Data: don't allow <>= in identifiers.

Fixes bug with WHERE conditions like: id="riku"
(since the = was parsed as part of the identifier).
Closed by b1832da.

Owner

jgm commented Mar 5, 2010

Data: don't allow <>= in identifiers.

Fixes bug with WHERE conditions like: id="riku"
(since the = was parsed as part of the identifier).
Closed by b1832da.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment