aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/action/nested_action.sql
blob: 4beb520d5a696048edba250451c7fa54c4fb61d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* syntax version 1 */
/* postgres can not */
define action $action($b,$c) as
    define action $aaa() as
        select $b;
    end define;
    define action $bbb() as
        select $c;
    end define;    
    do $aaa();
    do $bbb();
end define;

do $action(1,2);