Filtering data
This page describes a tutorial to filter records in a Kafka topic with Lenses SQL Processors.
Setting up our example
KEY: "6A461C60-02F3-4C01-94FB-092ECBDE0837"
VALUE: {
"amount": "12.10",
"currency": "EUR",
"from_account": "xxx",
"to_account": "yyy",
"time": 1591970345000
}CREATE TABLE payments(
amount double
, currency string
, from_account string
, to_account string
, time datetime
)
FORMAT (string, avro);Find big transactions
Filtering by date
Sampling with random functions
Last updated
Was this helpful?

