pub fn world_view_to_node_info(world_view: &WorldView) -> Vec<NodeInfo>
Convert WorldView to a vector of NodeInfo for distributed query planning.