SQL Processor - "SQL Invalid" error when using FORMAT_DATE(_meta.timestamp)

Getting errors while attempting to create an SQL Processor in Lenses:

SQL Processor statement:

INSERT INTO my_topic
   STORE VALUE AS AVRO
   SELECT STREAM
   field_a as _key,
   field_b,
  FORMAT_DATE(_meta.timestamp, 'yyyyMMddhhmmss') as event_time
FROM xyz_topic;

Error message:

SQL Invalid: Identifier _meta in FORMAT_DATE(_meta.timestamp, yyyyMMddhhmmss') can not be resolved. Hint: verify that there are no typos in _meta.

Same select in SQL Studio work fine.

Currently using Lenses Version 5.5.7

Hi wkolbenschlag

At the moment the SQL processors do not support accessing the Kafka message metadata. It is something we are looking to add in the future.

Understood. However, the Lenses 6.0 documentation indicates that particular metadata functionality is available for both SQL Studio and Processors and should be updated accordingly.