Hi, I'm looking to implement a planner rule for Calcite that can only trigger if reading from a table in a specific catalog implementation. For example, the planner rule should not trigger if reading from the catalog that represents the in-memory database, but I'd like to do a specific optimization when reading from a remote database because it's more efficient to push down the logic to the server than to read the data into the client and perform the transformation there.
I've been trying to identify the way that I'm meant to do this. If I can just get a little nudge in the correct direction, that would be incredibly helpful. Thank you. --Jonathan Sternberg
