为了更改state,我需要执行一个reducer。我需要这个更新后的state才能让我的第二个reducer工作。它依赖于状态中所做的更改。但是,我不确定如何先在测试中更新state,然后在其上运行第二个reducer。(undefined, firstAction); // <- Execute the first action
expect(reducer(undefined, secondAction))reducer</
现在,如果我写一个查询"select * from abc order by a;“,mapreduce使用了1个reducer。它是如何识别减速器的数量为1的?它是否使用了默认值"1“或其他值?一般来说,hive如何决定在"order by“、"sort by”或"group by“子句中使用多少减法器?