Is there anyway to pass a Lookup function to TIME_...
# general
r
Is there anyway to pass a Lookup function to TIME_FORMAT, something like below. gives error
java.lang.AssertionError: not a literal: LOOKUP(CONCAT($81, ''), 'TestTimeZone')
does that mean we can not pass a function
Copy code
SELECT
  TIME_FORMAT(__time,'YYYY_MM_dd', LOOKUP(CONCAT(somecolumname,''), 'TestTimeZone')),
  column2
FROM sometable