Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a TQL2-only mode #4840

Merged
merged 9 commits into from
Dec 12, 2024
Prev Previous commit
Next Next commit
Add the TQL2-only mode
  • Loading branch information
dominiklohmann committed Dec 5, 2024
commit ef0a6948eca265ac339dcbbe6fa0e6170b39f8aa
2 changes: 1 addition & 1 deletion contrib/tenzir-plugins
5 changes: 2 additions & 3 deletions libtenzir/src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ auto tenzir_features(const record& cfg) -> std::vector<std::string> {
// renamed, e.g., `package_add` was renamed to `package::add`.
"modules",
};
// The experimental TQL2-only mode is enabled.
const auto disabled = false;
if (get_or(cfg, "tenzir.tql2", disabled)) {
if (auto fallback = false; get_or(cfg, "tenzir.tql2", fallback)) {
// The experimental TQL2-only mode is enabled.
result.emplace_back("tql2_only");
}
return result;
Expand Down
2 changes: 1 addition & 1 deletion nix/tenzir/plugins/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tenzir-plugins",
"url": "git@github.com:tenzir/tenzir-plugins",
"ref": "main",
"rev": "ad39ae43a2f22a990ca5ec8650cc2ef3bcae8280",
"rev": "2d62dcd42c25522612ccc02549941c61ebd975ab",
"submodules": true,
"shallow": true,
"allRefs": true
Expand Down
2 changes: 1 addition & 1 deletion tenzir.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tenzir:
connection-retry-delay: 3s

# Always use TQL2 for pipelines.
tql2: false
#tql2: false

# The file system path used for persistent state.
# Defaults to one of the following paths, selecting the first that is
Expand Down
Loading