message: Issue Prevent CURRENT_QUERY folding
  Since the value is not always available in some contexts,
  marking the function as having side effects
  prevents it from being computed during preparation.
diff: @@ -71,7 +71,7 @@ void SystemFun::RegisterFunction(BuiltinFunctions &set) {
  auto varchar_list_type = LogicalType::LIST(LogicalType::VARCHAR);
  set.AddFunction(
  - ScalarFunction("current_query", {}, LogicalType::VARCHAR, CurrentQueryFunction, false, BindSystemFunction));
  + ScalarFunction("current_query", {}, LogicalType::VARCHAR, CurrentQueryFunction, true, BindSystemFunction));
  set.AddFunction(
  ScalarFunction("current_schema", {}, LogicalType::VARCHAR, CurrentSchemaFunction, false, BindSystemFunction));
  set.AddFunction(ScalarFunction("current_schemas", {LogicalType::BOOLEAN}, varchar_list_type, CurrentSchemasFunction,
  