From 5a38e1cacfce5081d5f426a4c91730601dd7a052 Mon Sep 17 00:00:00 2001 From: Jonathan Tatum Date: Tue, 4 Aug 2026 08:37:31 -0700 Subject: [PATCH] rollback: Opt-in to eager field lookup by default. PiperOrigin-RevId: 959041307 --- eval/public/cel_options.h | 2 +- runtime/runtime_options.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eval/public/cel_options.h b/eval/public/cel_options.h index e72b33eb0..001990431 100644 --- a/eval/public/cel_options.h +++ b/eval/public/cel_options.h @@ -222,7 +222,7 @@ struct InterpreterOptions { // When enabled, the planner will attempt to use a more performant execution // path for field access when the type is known at plan time, instead of using // the generic field access implementation. - bool enable_typed_field_access = true; + bool enable_typed_field_access = false; }; // LINT.ThenChange(//depot/google3/runtime/runtime_options.h) diff --git a/runtime/runtime_options.h b/runtime/runtime_options.h index 1624dfb1c..072daf26c 100644 --- a/runtime/runtime_options.h +++ b/runtime/runtime_options.h @@ -200,7 +200,7 @@ struct RuntimeOptions { // This is not recommended if the values bound to the activation are typically // not what the planner expected (e.g. a map that was declared as a proto or // a different message with matching field names). - bool enable_typed_field_access = true; + bool enable_typed_field_access = false; }; // LINT.ThenChange(//depot/google3/eval/public/cel_options.h)