syusuf-r7 opened a new issue #8315:
URL: https://github.com/apache/pinot/issues/8315


   LASTWITHTIME queries from a Trino connector fail with 
   `Unexpected aggregate expression: 'lastwithtime(id,timestamp,'string')'`
   
   When further inspected the logs show:
   `org.apache.pinot.common.function.FunctionRegistry   Initialized 
FunctionRegistry with 131 functions: [fromepochminutesbucket, arrayunionint, 
codepoint, mod, sha256, year, yearofweek, upper, ago, arraycontainsstring, 
arraydistinctstring, bytestohex, tojsonmapstr, trim, timezoneminute, sqrt, 
togeometry, normalize, fromepochdays, arraydistinctint, geotoh3, exp, 
stgeogfromwkb, stgeogfromtext, stgeomfromwkb, jsonpathlong, yow, 
toepochhoursrounded, lower, toutf8, concat, ceil, todatetime, jsonpathstring, 
substr, dayofyear, contains, jsonpatharray, arrayindexofint, 
fromepochhoursbucket, totimestamp, arrayindexofstring, minus, arrayunionstring, 
toepochhours, toepochdaysrounded, millisecond, fromepochhours, 
arrayreversestring, dow, doy, min, toepochsecondsrounded, strpos, jsonpath, 
tosphericalgeography, fromepochsecondsbucket, max, reverse, regexpextract, 
hammingdistance, stpoint, abs, timezonehour, stgeomfromtext, toepochseconds, 
arrayconcatint, quarter, md5, ln, toepochminutes, arraysorts
 tring, replace, strrpos, jsonpathdouble, stastext, second, arraysortint, 
split, fromepochdaysbucket, lpad, day, toepochminutesrounded, strcmp, 
fromdatetime, fromepochseconds, arrayconcatstring, fromtimestamp, base64encode, 
ltrim, arraysliceint, chr, sha, plus, base64decode, month, arraycontainsint, 
toepochminutesbucket, startswith, week, jsonformat, sha512, arrayslicestring, 
fromepochminutes, remove, dayofmonth, times, hour, rpad, arrayremovestring, 
now, divide, bigdecimaltobytes, floor, toepochsecondsbucket, stasbinary, 
toepochdaysbucket, hextobytes, rtrim, length, toepochhoursbucket, 
bytestobigdecimal, toepochdays, arrayreverseint, datetrunc, minute, round, 
jsonpatharraydefaultempty, dayofweek, arrayremoveint, weekofyear]`
   
   LASTWITHTIME is not included in the above list and therefore cannot be used 
in the queries


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to