{
    "filetype": "query",
    "cfgdir": "/etc/taos",
    "host": "127.0.0.1",
    "port": 6030,
    "user": "root",
    "password": "taosdata",
    "confirm_parameter_prompt": "no",
    "databases": "nsdbcsv",
    "query_times": 10,
    "query_mode": "taosc",
    "specified_table_query": {
      "query_interval": 1,
      "concurrent": 2,
      "sqls": [
        {
          "sql": "select count(*) from stb0 where ts> \"2021-07-01 00:00:00.490000000\" ;",
          "result": "./query_res0.txt"
        },
        {
          "sql": "select count(*) from stb0 where ts < now -22d-1h-3s ;",
          "result": "./query_res1.txt"
        },
        {
            "sql": "select count(*) from stb0 where ts < 1626918583000000000 ;",
            "result": "./query_res2.txt"
        },
        {
          "sql": "select count(*) from stb0 where c2 <>  162687012800000000;",
          "result": "./query_res3.txt"
        },
        {
            "sql": "select count(*) from stb0 where c2 != \"2021-07-21 20:22:08.248246976\";",
            "result": "./query_res4.txt"
        },
        {
            "sql": "select count(*) from stb0 where ts between \"2021-07-01 00:00:00.000000000\" and \"2021-07-01 00:00:00.990000000\";",
            "result": "./query_res5.txt"
        },
        {
            "sql":"select count(*) from stb0 group by tbname;",
            "result":"./query_res6.txt"
        },
        {
          "sql":"select count(*) from stb0 where ts between 1625068800000000000 and 1625068801000000000;",
          "result":"./query_res7.txt"
        },
        {
          "sql":"select avg(c0) from stb0 interval(5000000000b);",
          "result":"./query_res8.txt"
        },
        {
          "sql":"select avg(c0) from stb0 interval(100000000b) sliding (100000000b);",
          "result":"./query_res9.txt"
        }

      ]
    },
    "super_table_query": {
      "stblname": "stb0",
      "query_interval": 0,
      "threads": 4,
      "sqls": [
        {
          "sql": "select count(*) from xxxx where ts > \"2021-07-01 00:00:00.490000000\" ;",
          "result": "./query_res_tb0.txt"
        },
        {
          "sql":"select count(*) from xxxx where ts between \"2021-07-01 00:00:00.000000000\" and \"2021-07-01 00:00:00.990000000\" ;",
          "result": "./query_res_tb1.txt"
        },
        {
            "sql":"select first(*) from xxxx ;",
            "result": "./query_res_tb2.txt"
        },
        {
            "sql":"select last(*) from xxxx;",
            "result": "./query_res_tb3.txt"

        },
        {
            "sql":"select last_row(*) from xxxx  ;",
            "result": "./query_res_tb4.txt"

        },
        {
            "sql":"select max(c0) from xxxx  ;",
            "result": "./query_res_tb5.txt"

        },
        {
            "sql":"select min(c0) from xxxx  ;",
            "result": "./query_res_tb6.txt"

        },
        {
            "sql":"select avg(c0) from xxxx  ;",
            "result": "./query_res_tb7.txt"

        },
        {
          "sql":"select avg(c0) from xxxx interval(100000000b) sliding (100000000b) ;",
          "result": "./query_res_tb8.txt"

        }


      ]
    }
  }