"Unexpected node" when performing Query on column of Mapped projection #51

ijuma opened this Issue Oct 14, 2012 · 1 comment


None yet
2 participants

ijuma commented Oct 14, 2012

The easiest way to explain this is to check the following addition to MapperTest:

val usersCount = Users.length.run
assertEquals(usersCount, Query(Users.last).list.size)


This is similar to issue #50 but the exception was slightly different so filed a separate issue.


szeiger commented Oct 15, 2012

This is caused by an illegal use of a raw table object (Query(Users.last) instead of Query(Users).map(_.last)).

@szeiger szeiger closed this Oct 15, 2012

nafg added a commit to nafg/slick that referenced this issue Jan 8, 2013

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