Is there a more efficient way than:
select * from transactions partition( partition1 ) union all select * from transactions partition( partition2 ) union all
Can you provide additional context? What are your predicates? What makes you think that you need to explicitly tell the optimizer to go against multiple partitions. You may have the wrong partition key in use, for example.