forked from github/dataease
Merge pull request #4509 from dataease/pr@dev@fix_doris_case
fix(视图): 修复doris中使用case语法报错
This commit is contained in:
commit
257198c69a
@ -23,15 +23,14 @@ FROM
|
||||
WHERE
|
||||
<filters:{filter|<if(filter)><filter><endif>}; separator="\nAND ">
|
||||
<endif>
|
||||
<if(groups)>
|
||||
<if(groups && !useAliasForGroup)>
|
||||
GROUP BY
|
||||
<if(!useAliasForGroup)>
|
||||
<groups:{group|<if(group)><group.fieldName><endif>}; separator=",\n">
|
||||
<endif>
|
||||
<if(useAliasForGroup)>
|
||||
<if(groups && useAliasForGroup)>
|
||||
GROUP BY
|
||||
<groups:{group|<if(group)><group.fieldAlias><endif>}; separator=",\n">
|
||||
<endif>
|
||||
<endif>
|
||||
<if(orders)>
|
||||
ORDER BY
|
||||
<orders:{order|<if(order)><order.orderAlias> <order.orderDirection><endif>}; separator=",\n">
|
||||
@ -64,15 +63,14 @@ FROM
|
||||
WHERE
|
||||
<filters:{filter|<if(filter)><filter><endif>}; separator="\nAND ">
|
||||
<endif>
|
||||
<if(isGroup && groups)>
|
||||
<if(groups && !useAliasForGroup)>
|
||||
GROUP BY
|
||||
<if(!useAliasForGroup)>
|
||||
<groups:{group|<if(group)><group.fieldName><endif>}; separator=",\n">
|
||||
<endif>
|
||||
<if(useAliasForGroup)>
|
||||
<if(groups && useAliasForGroup)>
|
||||
GROUP BY
|
||||
<groups:{group|<if(group)><group.fieldAlias><endif>}; separator=",\n">
|
||||
<endif>
|
||||
<endif>
|
||||
<if(orders)>
|
||||
ORDER BY
|
||||
<orders:{order|<if(order)><order.orderAlias> <order.orderDirection><endif>}; separator=",\n">
|
||||
|
Loading…
Reference in New Issue
Block a user