Open xxchan opened 1 year ago
Strongly +1 for this. I have two solide use cases:
Rust also has jinja2 template engine: https://github.com/Keats/tera
BTW, I guess we don't need to use a rust jinja.
The feature is conflicted with #114
The real solution is that an SLT file should be both self-contained and easy to use. An example of this is JsonNet.
If we don't want to spend too much effort on this, just introducing some rough sugar like include
is impossible to be friendly enough. I agree with jinja2.
From https://github.com/risingwavelabs/risingwave/issues/7006, maybe we can maintain such a tool in
sqllogictest-rs
One specific use case is that we can deprecate
include
, which introduced quite a few problems, e.g., prohibits parallel execution, and https://github.com/risinglightdb/sqllogictest-rs/issues?q=label%3AA-include