specifying same column more than once in order by in spark sql returns different result when same column specified once in order

前端 未结 0 733
时光取名叫无心
时光取名叫无心 2021-02-14 17:57
q1:  select distinct y.c1,y.c2,y.c6,
    y.c3,y.c5
    max(case when  y.c3 is null and y.c4=\'N\'  and y.c5 <>\'Cancelled\' and p.c6 is not null 
    then \'Y\' el         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题