Is there a way to define variables that can be references in Flink SQL? Specifically on the table properties so that username/passwords don't need to be specified in plaintext?
m
Martijn Visser
04/22/2023, 3:47 PM
There isn’t unfortunately
😢 1
z
Zachary Piazza
04/22/2023, 3:52 PM
Hm okay that is disappointing. Thanks for the prompt reply though @Martijn Visser
h
Hunter Medney
04/22/2023, 4:51 PM
@Zachary Piazza If it helps, I've gotten around this using a pre-process script that performs an
envsubst
on the raw SQL to replace strings like $MY_SECRET with an env var value of the same name.