trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
9.85k stars 2.85k forks source link

Kafka Connector regex support for kafka.table-names config setting #15891

Open LeonardoBonacci opened 1 year ago

LeonardoBonacci commented 1 year ago

Using the Trino Kafka connector - for my use-case - I'd need to read a dynamic and unknown set/number of Kafka topics that follow a naming convention.

The docs start describing the config setting kafka.table-names as Comma-separated list of all tables provided by this catalog... (https://trino.io/docs/current/connector/kafka.html#kafka-table-names)

Wouldn't it be nice to have regex support here?

A simple foo.* would allow a lot of flexibility.

Cheers!

rafaeluchoa commented 6 months ago

+1