"Fossies" - the Fresh Open Source Software Archive

Member "groonga-10.0.8/test/command/suite/select/drilldowns/calc_types/single/accessor.expected" (22 Oct 2020, 1746 Bytes) of package /linux/misc/groonga-10.0.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 table_create Tags TABLE_PAT_KEY ShortText
    2 [[0,0.0,0.0],true]
    3 table_create Memos TABLE_HASH_KEY ShortText
    4 [[0,0.0,0.0],true]
    5 column_create Memos tag COLUMN_SCALAR Tags
    6 [[0,0.0,0.0],true]
    7 column_create Memos priority COLUMN_SCALAR Float
    8 [[0,0.0,0.0],true]
    9 load --table Memos
   10 [
   11 {"_key": "Groonga1", "tag": "Groonga", "priority": 10.6},
   12 {"_key": "Groonga2", "tag": "Groonga", "priority": 20.8},
   13 {"_key": "Groonga3", "tag": "Groonga", "priority": 40.2},
   14 {"_key": "Mroonga1", "tag": "Mroonga", "priority": 50.04},
   15 {"_key": "Mroonga2", "tag": "Mroonga", "priority": 25.8},
   16 {"_key": "Mroonga3", "tag": "Mroonga", "priority": 10.4},
   17 {"_key": "Rroonga1", "tag": "Rroonga", "priority": 25.008},
   18 {"_key": "Rroonga2", "tag": "Rroonga", "priority": -25.2},
   19 {"_key": "Rroonga3", "tag": "Rroonga", "priority": 0}
   20 ]
   21 [[0,0.0,0.0],9]
   22 select Memos   --filter 'all_records()'   --limit 0   --drilldowns[tag].keys tag   --drilldowns[tag].calc_types MAX   --drilldowns[tag].calc_target priority   --drilldowns[tag].output_columns _key,_max
   23 [
   24   [
   25     0,
   26     0.0,
   27     0.0
   28   ],
   29   [
   30     [
   31       [
   32         9
   33       ],
   34       [
   35         [
   36           "_id",
   37           "UInt32"
   38         ],
   39         [
   40           "_key",
   41           "ShortText"
   42         ],
   43         [
   44           "priority",
   45           "Float"
   46         ],
   47         [
   48           "tag",
   49           "Tags"
   50         ]
   51       ]
   52     ],
   53     {
   54       "tag": [
   55         [
   56           3
   57         ],
   58         [
   59           [
   60             "_key",
   61             "ShortText"
   62           ],
   63           [
   64             "_max",
   65             "Float"
   66           ]
   67         ],
   68         [
   69           "Groonga",
   70           40.2
   71         ],
   72         [
   73           "Mroonga",
   74           50.04
   75         ],
   76         [
   77           "Rroonga",
   78           25.008
   79         ]
   80       ]
   81     }
   82   ]
   83 ]