aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/view/view_file.txt.attr
blob: b70ac5691bf4290167b8893692f5ba362132d0b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
    "_yql_view_file_eval"="SELECT EvaluateCode(FuncCode('FileContent', AtomCode('foo.txt'))) as k, subkey as s, value as v FROM self";
    "_yql_view_file_outer"="SELECT FileContent('foo' || '.txt') as k, subkey as s, value as v FROM self";
    "_yql_view_file_inner"="pragma file('foo.txt','http_test://foo.txt');SELECT FileContent('foo.txt') as k, subkey as s, value as v FROM self";
    "_yql_row_spec" = {
        "Type" = [
            "StructType";
            [
                [
                    "key";
                    [
                        "DataType";
                        "String"
                    ]
                ];
                [
                    "subkey";
                    [
                        "DataType";
                        "String"
                    ]
                ];
                [
                    "value";
                    [
                        "DataType";
                        "String"
                    ]
                ]
            ]
        ]
    }
}