Diana Arnos
11/19/2021, 2:10 PMstream.kafka.decoder.prop.schema.registry.rest.url
and stream.kafka.decoder.prop.schema.registry.schema.name
could help me achieve this.Richard Startin
11/19/2021, 2:16 PMRichard Startin
11/19/2021, 2:20 PMDiana Arnos
11/19/2021, 2:38 PMRichard Startin
11/19/2021, 2:41 PMWhat exactly do you mean by work with inference?I have been working on a feature to infer schemas from JSON data, which is aimed at use cases where there is no schema for the records, but it could also support your use case reasonably well.
Richard Startin
11/19/2021, 2:43 PMDiana Arnos
11/19/2021, 2:44 PMRichard Startin
11/19/2021, 2:45 PMDiana Arnos
11/19/2021, 2:50 PM{
"name": "operationDate",
"dataType": "STRING",
"format": "1:MILLISECONDS:SIMPLE_DATE_FORMAT:yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"granularity": "1:MILLISECONDS"
}
A pretty dirty and ugly workaround would be to infer it as string and query it using the now available LIKE
operation....
So if I wanted to group data by month, I could try something like
WHERE operationDate LIKE '2021-10%'
it could work...Mayank
Diana Arnos
11/19/2021, 3:30 PM