-
Bug
-
Resolution: Done
-
Major
-
8.12.8.6_3
-
None
For PrestoDB translator, locate(x,y) is translated as strpos(x,y) - i.e. strpos(substring, string), but function has different order of arguments - from PrestoDB documentation - strpos(string, substring)
Query
SELECT StringNum, LOCATE('1', StringNum) FROM BQT1.SmallA
Source-specific command
SELECT g_0.stringnum, strpos('1', g_0.stringnum) FROM smalla AS g_0