From the perspective of learning knowledge, you can learn real things in both positions. All are beneficial to your own improvement
As for which position is more suitable for you, you must make a choice based on your own conditions. First figure out the specific work content of these two positions, and then make a choice based on your own skill level and personal preferences