right now, i have the code below to create a pipeline from a kafka topic and replace into a memsql rowstore.
my Q is this:
can i FILTER using a WHERE clause which of the Kakfa messages are actually included?
in other words, can i make the 2nd line something like this:
replace into table ‘XYZ’ where Field = ‘value’
create pipeline XYZ as load data kafka ‘kafka/XYZ’
replace into tableXYZ
format Avro
(
_posDt
← data::date,
account
← data::account,
)
SCHEMA
’
{
“type”: “record”,
“name”: “confluent_kafka_wrapper”,
“fields”: [
{
“name”: “metadata”,
“type”: {
“type”: “fixed”,
“size”: 5,
“name”: “unused_confluent_metadata”
}
},
{
“name”: “data”,
“type”: {
“type”: “record”,
“name”: “EdfFuturesEodPosition”,
“fields”: [
{
“name”: “date”,
“type”: “string”
},
{
“name”: “account”,
“type”: “string”
},
{
“name”: “cusip”,
“type”: “string”
},
]
}
}
]
}
';