<div dir="ltr"><div><div><div><div><div><div>hello list,<br><br></div>not sure if this is a known problem but during virtual layers feature testing i discovered that this tool has issues when source used in query contains characters such as space, forward slash, dash and possibly others in column names. it would be nice if user would be presented with a meaningful error message rather than a cryptic message about syntax error.<br><br></div>to reproduce:<br></div>- import test.geojson to qgis<br></div>- add virtual layer - run select * from test<br></div>- you'll get:<br>

<p style="margin:0px;text-indent:0px">Query execution error on DROP TABLE IF EXISTS "test"; CREATE VIRTUAL TABLE "test" USING QgsVLayer(test20160305235656402);: 1 - near "1": syntax error</p><br></div>br, j<br></div>