so i dont have to delete the folowing while adding...
# ask-ai
h
so i dont have to delete the folowing while adding partition_router?
Copy code
request_parameters:
            dimension: dx:aBjlxmZHXWv,pe:201701;201702;201703;201704,ou:wqURG81DbhS
k
You do not necessarily have to delete your existing
request_parameters
when adding a
partition_router
. The
partition_router
is used to iterate over partitions and inject partition values into outgoing requests, but you can still define static or default
request_parameters
alongside it. However, if you want the values in
request_parameters
(such as
dimension
) to be dynamically set or overridden by the partition router (for example, if you want to iterate over different
dimension
values), you should configure the
partition_router
to inject those values as needed. Otherwise, static parameters in
request_parameters
will remain unchanged and be included in every request. In summary, you can keep your
request_parameters
unless you want the partition router to control those specific parameters dynamically. If you do, move the relevant logic to the partition router and use Jinja expressions to reference the partitioned values. The documentation confirms that static parameters and partition routers can coexist, and partition routers are specifically for iterating over and injecting dynamic values into requests, not for removing static parameters by default [Dynamic and static partitioning](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/partitioning#dynamic-and-static-partitioning) [Retrieving Records Spread Across Partitions](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/partition-router). If your use case requires both static and dynamic parameters, you can combine them as needed.