I lost too many hours to understand that error... basically the query weren't working because the Schema class it wasn't executed.
https://github.com/berlindb/core/blob/master/src/Database/Query.php#L401 on this line if the class doesn't exists there aren't any notice but query without doesn't works.