This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 2516d9b3ab3e282959e962d10e2a37a9f37eae7d
Author: qiye <[email protected]>
AuthorDate: Sun Oct 8 19:28:08 2023 +0800

    [fix](ES catalog)Doris cannot parse ES date field without time zone (#24864)
    
    1. Add support for Doris to parse ES date field without time zone info. eg: 
`2023-04-17T23:01:18.151`, this time will be treated as UTC time, since ES 
assumes that the time zone for time fields without time zones is UTC.
    2. Change local time zone convertion from system local time zone to session 
variable time zone.
---
 be/src/exec/es/es_scroll_parser.cpp                |  73 ++++++---
 be/src/exec/es/es_scroll_parser.h                  |   4 +-
 be/src/vec/exec/scan/new_es_scanner.cpp            |   2 +-
 .../elasticsearch/scripts/data/data1.json          |   1 +
 .../elasticsearch/scripts/data/data1_es6.json      |   1 +
 .../elasticsearch/scripts/data/data2.json          |   1 +
 .../elasticsearch/scripts/data/data2_es6.json      |   1 +
 .../elasticsearch/scripts/data/data3.json          |   1 +
 .../elasticsearch/scripts/data/data3_es6.json      |   1 +
 .../elasticsearch/scripts/data/data4.json          |   1 +
 .../elasticsearch/scripts/index/es6_test1.json     |   3 +
 .../elasticsearch/scripts/index/es6_test2.json     |   3 +
 .../elasticsearch/scripts/index/es7_test1.json     |   3 +
 .../elasticsearch/scripts/index/es7_test2.json     |   3 +
 .../data/external_table_p0/es/test_es_query.out    | 170 +++++++++++++++------
 .../es/test_es_query_no_http_url.out               |   6 +-
 .../external_table_p0/es/test_es_query.groovy      |  91 ++++++-----
 17 files changed, 251 insertions(+), 114 deletions(-)

diff --git a/be/src/exec/es/es_scroll_parser.cpp 
b/be/src/exec/es/es_scroll_parser.cpp
index 34397b8468b..4c52f869c56 100644
--- a/be/src/exec/es/es_scroll_parser.cpp
+++ b/be/src/exec/es/es_scroll_parser.cpp
@@ -187,21 +187,42 @@ Status get_int_value(const rapidjson::Value& col, 
PrimitiveType type, void* slot
 
 template <typename T, typename RT>
 Status get_date_value_int(const rapidjson::Value& col, PrimitiveType type, 
bool is_date_str,
-                          RT* slot) {
+                          RT* slot, const cctz::time_zone& time_zone) {
     constexpr bool is_datetime_v1 = std::is_same_v<T, 
vectorized::VecDateTimeValue>;
     T dt_val;
     if (is_date_str) {
         const std::string str_date = col.GetString();
         int str_length = col.GetStringLength();
         bool success = false;
-        // YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS+08:00 or 
2022-08-08T12:10:10.000Z
         if (str_length > 19) {
             std::chrono::system_clock::time_point tp;
-            const bool ok =
-                    cctz::parse("%Y-%m-%dT%H:%M:%E*S%Ez", str_date, 
cctz::utc_time_zone(), &tp);
+            // time_zone suffix pattern
+            // Z/+08:00/-04:30
+            RE2 time_zone_pattern(R"([+-]\d{2}:\d{2}|Z)");
+            bool ok = false;
+            std::string fmt;
+            re2::StringPiece value;
+            if (time_zone_pattern.Match(str_date, 0, str_date.size(), 
RE2::UNANCHORED, &value, 1)) {
+                // with time_zone info
+                // YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS+08:00
+                // or 2022-08-08T12:10:10.000Z or YYYY-MM-DDTHH:MM:SS-08:00
+                fmt = "%Y-%m-%dT%H:%M:%E*S%Ez";
+                cctz::time_zone ctz;
+                // find time_zone by time_zone suffix string
+                TimezoneUtils::find_cctz_time_zone(value.as_string(), ctz);
+                ok = cctz::parse(fmt, str_date, ctz, &tp);
+            } else {
+                // without time_zone info
+                // 2022-08-08T12:10:10.000
+                fmt = "%Y-%m-%dT%H:%M:%E*S";
+                // If the time without time_zone info, ES will assume it is 
UTC time.
+                // So we parse it in Doris with UTC time zone.
+                ok = cctz::parse(fmt, str_date, cctz::utc_time_zone(), &tp);
+            }
             if (ok) {
-                success = 
dt_val.from_unixtime(std::chrono::system_clock::to_time_t(tp),
-                                               cctz::local_time_zone());
+                // The local time zone can change by session variable 
`time_zone`
+                // We should use the user specified time zone, not the actual 
system local time zone.
+                success = 
dt_val.from_unixtime(std::chrono::system_clock::to_time_t(tp), time_zone);
             }
         } else if (str_length == 19) {
             // YYYY-MM-DDTHH:MM:SS
@@ -211,7 +232,7 @@ Status get_date_value_int(const rapidjson::Value& col, 
PrimitiveType type, bool
                         cctz::parse("%Y-%m-%dT%H:%M:%S", str_date, 
cctz::utc_time_zone(), &tp);
                 if (ok) {
                     success = 
dt_val.from_unixtime(std::chrono::system_clock::to_time_t(tp),
-                                                   cctz::local_time_zone());
+                                                   time_zone);
                 }
             } else {
                 // YYYY-MM-DD HH:MM:SS
@@ -222,7 +243,7 @@ Status get_date_value_int(const rapidjson::Value& col, 
PrimitiveType type, bool
             // string long like "1677895728000"
             int64_t time_long = std::atol(str_date.c_str());
             if (time_long > 0) {
-                success = dt_val.from_unixtime(time_long / 1000, 
cctz::local_time_zone());
+                success = dt_val.from_unixtime(time_long / 1000, time_zone);
             }
         } else {
             // YYYY-MM-DD or others
@@ -234,7 +255,7 @@ Status get_date_value_int(const rapidjson::Value& col, 
PrimitiveType type, bool
         }
 
     } else {
-        if (!dt_val.from_unixtime(col.GetInt64() / 1000, 
cctz::local_time_zone())) {
+        if (!dt_val.from_unixtime(col.GetInt64() / 1000, time_zone)) {
             RETURN_ERROR_IF_CAST_FORMAT_ERROR(col, type);
         }
     }
@@ -251,14 +272,14 @@ Status get_date_value_int(const rapidjson::Value& col, 
PrimitiveType type, bool
 }
 
 template <typename T, typename RT>
-Status get_date_int(const rapidjson::Value& col, PrimitiveType type, bool 
pure_doc_value,
-                    RT* slot) {
+Status get_date_int(const rapidjson::Value& col, PrimitiveType type, bool 
pure_doc_value, RT* slot,
+                    const cctz::time_zone& time_zone) {
     // this would happend just only when `enable_docvalue_scan = false`, and 
field has timestamp format date from _source
     if (col.IsNumber()) {
         // ES process date/datetime field would use millisecond timestamp for 
index or docvalue
         // processing date type field, if a number is encountered, Doris On ES 
will force it to be processed according to ms
         // Doris On ES needs to be consistent with ES, so just divided by 1000 
because the unit for from_unixtime is seconds
-        return get_date_value_int<T, RT>(col, type, false, slot);
+        return get_date_value_int<T, RT>(col, type, false, slot, time_zone);
     } else if (col.IsArray() && pure_doc_value && !col.Empty()) {
         // this would happened just only when `enable_docvalue_scan = true`
         // ES add default format for all field after ES 6.4, if we not 
provided format for `date` field ES would impose
@@ -266,22 +287,22 @@ Status get_date_int(const rapidjson::Value& col, 
PrimitiveType type, bool pure_d
         // At present, we just process this string format date. After some PR 
were merged into Doris, we would impose `epoch_mills` for
         // date field's docvalue
         if (col[0].IsString()) {
-            return get_date_value_int<T, RT>(col[0], type, true, slot);
+            return get_date_value_int<T, RT>(col[0], type, true, slot, 
time_zone);
         }
         // ES would return millisecond timestamp for date field, divided by 
1000 because the unit for from_unixtime is seconds
-        return get_date_value_int<T, RT>(col[0], type, false, slot);
+        return get_date_value_int<T, RT>(col[0], type, false, slot, time_zone);
     } else {
         // this would happened just only when `enable_docvalue_scan = false`, 
and field has string format date from _source
         RETURN_ERROR_IF_COL_IS_ARRAY(col, type);
         RETURN_ERROR_IF_COL_IS_NOT_STRING(col, type);
-        return get_date_value_int<T, RT>(col, type, true, slot);
+        return get_date_value_int<T, RT>(col, type, true, slot, time_zone);
     }
 }
 template <typename T, typename RT>
 Status fill_date_int(const rapidjson::Value& col, PrimitiveType type, bool 
pure_doc_value,
-                     vectorized::IColumn* col_ptr) {
+                     vectorized::IColumn* col_ptr, const cctz::time_zone& 
time_zone) {
     RT data;
-    RETURN_IF_ERROR((get_date_int<T, RT>(col, type, pure_doc_value, &data)));
+    RETURN_IF_ERROR((get_date_int<T, RT>(col, type, pure_doc_value, &data, 
time_zone)));
     col_ptr->insert_data(const_cast<const 
char*>(reinterpret_cast<char*>(&data)), 0);
     return Status::OK();
 }
@@ -437,7 +458,8 @@ const std::string& ScrollParser::get_scroll_id() {
 Status ScrollParser::fill_columns(const TupleDescriptor* tuple_desc,
                                   std::vector<vectorized::MutableColumnPtr>& 
columns,
                                   bool* line_eof,
-                                  const std::map<std::string, std::string>& 
docvalue_context) {
+                                  const std::map<std::string, std::string>& 
docvalue_context,
+                                  const cctz::time_zone& time_zone) {
     *line_eof = true;
 
     if (_size <= 0 || _line_index >= _size) {
@@ -630,16 +652,17 @@ Status ScrollParser::fill_columns(const TupleDescriptor* 
tuple_desc,
         case TYPE_DATE:
         case TYPE_DATETIME:
             RETURN_IF_ERROR((fill_date_int<vectorized::VecDateTimeValue, 
int64_t>(
-                    col, type, pure_doc_value, col_ptr)));
+                    col, type, pure_doc_value, col_ptr, time_zone)));
             break;
         case TYPE_DATEV2:
             RETURN_IF_ERROR(
                     
(fill_date_int<vectorized::DateV2Value<vectorized::DateV2ValueType>, uint32_t>(
-                            col, type, pure_doc_value, col_ptr)));
+                            col, type, pure_doc_value, col_ptr, time_zone)));
             break;
         case TYPE_DATETIMEV2: {
-            
RETURN_IF_ERROR((fill_date_int<vectorized::DateV2Value<vectorized::DateTimeV2ValueType>,
-                                           uint64_t>(col, type, 
pure_doc_value, col_ptr)));
+            RETURN_IF_ERROR(
+                    
(fill_date_int<vectorized::DateV2Value<vectorized::DateTimeV2ValueType>,
+                                   uint64_t>(col, type, pure_doc_value, 
col_ptr, time_zone)));
             break;
         }
         case TYPE_ARRAY: {
@@ -747,7 +770,8 @@ Status ScrollParser::fill_columns(const TupleDescriptor* 
tuple_desc,
                     uint32_t data;
                     RETURN_IF_ERROR(
                             
(get_date_int<vectorized::DateV2Value<vectorized::DateV2ValueType>,
-                                          uint32_t>(sub_col, sub_type, 
pure_doc_value, &data)));
+                                          uint32_t>(sub_col, sub_type, 
pure_doc_value, &data,
+                                                    time_zone)));
                     array.push_back(data);
                     break;
                 }
@@ -755,7 +779,8 @@ Status ScrollParser::fill_columns(const TupleDescriptor* 
tuple_desc,
                     uint64_t data;
                     RETURN_IF_ERROR(
                             
(get_date_int<vectorized::DateV2Value<vectorized::DateTimeV2ValueType>,
-                                          uint64_t>(sub_col, sub_type, 
pure_doc_value, &data)));
+                                          uint64_t>(sub_col, sub_type, 
pure_doc_value, &data,
+                                                    time_zone)));
                     array.push_back(data);
                     break;
                 }
diff --git a/be/src/exec/es/es_scroll_parser.h 
b/be/src/exec/es/es_scroll_parser.h
index be3f9fa8c54..91aeb4992a8 100644
--- a/be/src/exec/es/es_scroll_parser.h
+++ b/be/src/exec/es/es_scroll_parser.h
@@ -37,9 +37,11 @@ public:
     ~ScrollParser();
 
     Status parse(const std::string& scroll_result, bool exactly_once = false);
+    // Add time_zone info to convert time field of ES to local time zone of 
Doris
     Status fill_columns(const TupleDescriptor* _tuple_desc,
                         std::vector<vectorized::MutableColumnPtr>& columns, 
bool* line_eof,
-                        const std::map<std::string, std::string>& 
docvalue_context);
+                        const std::map<std::string, std::string>& 
docvalue_context,
+                        const cctz::time_zone& time_zone);
 
     const std::string& get_scroll_id();
     int get_size() const;
diff --git a/be/src/vec/exec/scan/new_es_scanner.cpp 
b/be/src/vec/exec/scan/new_es_scanner.cpp
index 0bd492b79c1..a75612b3428 100644
--- a/be/src/vec/exec/scan/new_es_scanner.cpp
+++ b/be/src/vec/exec/scan/new_es_scanner.cpp
@@ -189,7 +189,7 @@ Status 
NewEsScanner::_get_next(std::vector<vectorized::MutableColumnPtr>& column
         COUNTER_UPDATE(new_es_scan_node->_rows_read_counter, 1);
         SCOPED_TIMER(new_es_scan_node->_materialize_timer);
         RETURN_IF_ERROR(_es_scroll_parser->fill_columns(_tuple_desc, columns, 
&_line_eof,
-                                                        _docvalue_context));
+                                                        _docvalue_context, 
_state->timezone_obj()));
         if (!_line_eof) {
             break;
         }
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data1.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data1.json
index 72984ed3608..82aa4781641 100755
--- a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data1.json
+++ b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data1.json
@@ -8,6 +8,7 @@
   "test7": 1659931810000,
   "test8": "2022-08-08T12:10:10Z",
   "test9": 12345,
+  "test10": "2022-08-08T12:10:10.151Z",
   "c_bool": [true, false, true, true],
   "c_byte": [1, -2, -3, 4],
   "c_short": [128, 129, -129, -130],
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data1_es6.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data1_es6.json
index f53336db0b5..68e52e46dbb 100755
--- 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data1_es6.json
+++ 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data1_es6.json
@@ -4,6 +4,7 @@
   "test3": 3.14,
   "test4": "2022-08-08",
   "test5": 12345,
+  "test6": "2022-08-08T12:10:10.151Z",
   "c_bool": [true, false, true, true],
   "c_byte": [1, -2, -3, 4],
   "c_short": [128, 129, -129, -130],
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data2.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data2.json
index 07ba275a8ae..5ca56093bd3 100755
--- a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data2.json
+++ b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data2.json
@@ -8,6 +8,7 @@
   "test7": "2022-08-09 12:10:10",
   "test8": 1660018210000,
   "test9": 2222.2,
+  "test10": "2022-08-08T12:10:10.151+08:00",
   "c_bool": [true, false, true, true],
   "c_byte": [1, -2, -3, 4],
   "c_short": [128, 129, -129, -130],
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data2_es6.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data2_es6.json
index 80ba73539b5..ba1f8a5f5c9 100755
--- 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data2_es6.json
+++ 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data2_es6.json
@@ -4,6 +4,7 @@
   "test3": 4,
   "test4": "2022-08-08",
   "test5": 2222.2,
+  "test6": "2022-08-08T12:10:10.151+08:00",
   "c_bool": [true, false, true, true],
   "c_byte": [1, -2, -3, 4],
   "c_short": [128, 129, -129, -130],
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data3.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data3.json
index c5ef6fb675e..81f7dc749e3 100755
--- a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data3.json
+++ b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data3.json
@@ -8,6 +8,7 @@
   "test7": 1660104610000,
   "test8": "2022-08-10T12:10:10",
   "test9": 3333.22,
+  "test10": "2022-08-08T12:10:10.151-04:30",
   "c_bool": [true, false, true, true],
   "c_byte": [1, -2, -3, 4],
   "c_short": [128, 129, -129, -130],
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data3_es6.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data3_es6.json
index f467c3b31f3..cfc3d69dfc2 100755
--- 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data3_es6.json
+++ 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data3_es6.json
@@ -4,6 +4,7 @@
   "test3": 5.0,
   "test4": "2022-08-08",
   "test5": "3333.22",
+  "test6": "2022-08-08T12:10:10.151",
   "c_bool": [true, false, true, true],
   "c_byte": [1, -2, -3, 4],
   "c_short": [128, 129, -129, -130],
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data4.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data4.json
index d58882150f7..38d7b41b91b 100755
--- a/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data4.json
+++ b/docker/thirdparties/docker-compose/elasticsearch/scripts/data/data4.json
@@ -8,6 +8,7 @@
   "test7": "2022-08-11 12:10:10",
   "test8": "2022-08-11T12:10:10+09:00",
   "test9": "4444.22",
+  "test10": "2022-08-08T12:10:10.151",
   "c_bool": [true, false, true, true],
   "c_byte": [1, -2, -3, 4],
   "c_short": [128, 129, -129, -130],
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es6_test1.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es6_test1.json
index a9863d89933..a8612e668c3 100755
--- 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es6_test1.json
+++ 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es6_test1.json
@@ -27,6 +27,9 @@
         "test5": {
           "type": "long"
         },
+        "test6": {
+          "type": "date"
+        },
         "c_bool": {
           "type": "boolean"
         },
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es6_test2.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es6_test2.json
index f29f3052255..1dec9e7ff44 100755
--- 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es6_test2.json
+++ 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es6_test2.json
@@ -30,6 +30,9 @@
         "test5": {
           "type": "long"
         },
+        "test6": {
+          "type": "date"
+        },
         "c_bool": {
           "type": "boolean"
         },
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test1.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test1.json
index 9ad548d48c1..69247490caa 100755
--- 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test1.json
+++ 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test1.json
@@ -41,6 +41,9 @@
       "test9": {
         "type": "long"
       },
+      "test10": {
+        "type": "date"
+      },
       "c_bool": {
         "type": "boolean"
       },
diff --git 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test2.json 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test2.json
index 4532e400e58..9b5affaa382 100755
--- 
a/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test2.json
+++ 
b/docker/thirdparties/docker-compose/elasticsearch/scripts/index/es7_test2.json
@@ -44,6 +44,9 @@
       "test9": {
         "type": "long"
       },
+      "test10": {
+        "type": "date"
+      },
       "c_bool": {
         "type": "boolean"
       },
diff --git a/regression-test/data/external_table_p0/es/test_es_query.out 
b/regression-test/data/external_table_p0/es/test_es_query.out
index fe033b5db3e..9d8394eaeb9 100644
--- a/regression-test/data/external_table_p0/es/test_es_query.out
+++ b/regression-test/data/external_table_p0/es/test_es_query.out
@@ -1,139 +1,209 @@
 -- This file is automatically generated. You should know what you did if you 
want to edit this
--- !sql51 --
+-- !sql01 --
 [2020-01-01, 2020-01-02]       [-1, 0, 1, 2]   [0, 1, 2, 3]    ["d", "e", "f"] 
[128, 129, -129, -130]  ["192.168.0.1", "127.0.0.1"]    string1 [1, 2, 3, 4]    
2022-08-08      2022-08-08T12:10:10     text#1  [2020-01-01, 2020-01-02]        
3.14    [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]    ["a", "b", "c"] 
["{"name":"Andy","age":18}", "{"name":"Tim","age":28}"] 2022-08-08T12:10:10     
2022-08-08T12:10:10     2022-08-08T20:10:10     [1, -2, -3, 4]  [1, 0, 1, 1]    
[32768, 32769, -32769, -32770]
 
--- !sql52 --
+-- !sql02 --
 [2020-01-01, 2020-01-02]       [-1, 0, 1, 2]   [0, 1, 2, 3]    ["d", "e", "f"] 
[128, 129, -129, -130]  ["192.168.0.1", "127.0.0.1"]    string1 [1, 2, 3, 4]    
2022-08-08      2022-08-08T12:10:10     text#1  [2020-01-01, 2020-01-02]        
3.14    [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]    ["a", "b", "c"] 
["{"name":"Andy","age":18}", "{"name":"Tim","age":28}"] 2022-08-08T12:10:10     
2022-08-08T12:10:10     2022-08-08T20:10:10     [1, -2, -3, 4]  [1, 0, 1, 1]    
[32768, 32769, -32769, -32770]
 
--- !sql53 --
+-- !sql03 --
 2022-08-08     2022-08-08T12:10:10     2022-08-08T12:10:10     
2022-08-08T04:10:10     2022-08-08T20:10:10
 2022-08-08     2022-08-09T12:10:10     2022-08-09T12:10:10     
2022-08-09T12:10:10     2022-08-09T12:10:10
 2022-08-08     2022-08-10T12:10:10     2022-08-10T12:10:10     
2022-08-10T04:10:10     2022-08-10T20:10:10
 2022-08-08     2022-08-11T12:10:10     2022-08-11T12:10:10     
2022-08-11T12:10:10     2022-08-11T11:10:10
 
--- !sql53 --
+-- !sql04 --
 [2020-01-01, 2020-01-02]       [-1, 0, 1, 2]   [0, 1, 2, 3]    ["d", "e", "f"] 
[128, 129, -129, -130]  ["192.168.0.1", "127.0.0.1"]    string1 [1, 2, 3, 4]    
2022-08-08      2022-08-08T12:10:10     text#1  [2020-01-01, 2020-01-02]        
3.14    [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]    ["a", "b", "c"] 
["{"name":"Andy","age":18}", "{"name":"Tim","age":28}"] 2022-08-08T12:10:10     
2022-08-08T12:10:10     2022-08-08T20:10:10     [1, -2, -3, 4]  [1, 0, 1, 1]    
[32768, 32769, -32769, -32770]
 
--- !sql54 --
+-- !sql05 --
 [2020-01-01, 2020-01-02]       [-1, 0, 1, 2]   [0, 1, 2, 3]    ["d", "e", "f"] 
[128, 129, -129, -130]  ["192.168.0.1", "127.0.0.1"]    string1 [1, 2, 3, 4]    
2022-08-08      2022-08-08T12:10:10     text#1  [2020-01-01, 2020-01-02]        
3.14    [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]    ["a", "b", "c"] 
["{"name":"Andy","age":18}", "{"name":"Tim","age":28}"] 2022-08-08T12:10:10     
2022-08-08T12:10:10     2022-08-08T20:10:10     [1, -2, -3, 4]  [1, 0, 1, 1]    
[32768, 32769, -32769, -32770]
 
--- !sql55 --
+-- !sql06 --
 2022-08-08     2022-08-08T12:10:10     2022-08-08T12:10:10     
2022-08-08T04:10:10     2022-08-08T20:10:10
 2022-08-08     2022-08-09T12:10:10     2022-08-09T12:10:10     
2022-08-09T12:10:10     2022-08-09T12:10:10
 2022-08-08     2022-08-10T12:10:10     2022-08-10T12:10:10     
2022-08-10T04:10:10     2022-08-10T20:10:10
 2022-08-08     2022-08-11T12:10:10     2022-08-11T12:10:10     
2022-08-11T12:10:10     2022-08-11T11:10:10
 
--- !sql62 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345
+-- !sql_6_02 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345   
2022-08-08T20:10:10
 
--- !sql63 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 text2   4.0     2022-08-08T00:00        2222
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 text3_4*5       5.0     2022-08-08T00:00        
3333
+-- !sql_6_03 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345   
2022-08-08T20:10:10
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 text2   4.0     2022-08-08T00:00        2222    
2022-08-08T12:10:10
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 text3_4*5       5.0     2022-08-08T00:00        
3333    2022-08-08T20:10:10
 
--- !sql64 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 text2   4.0     2022-08-08T00:00        2222
+-- !sql_6_04 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 text2   4.0     2022-08-08T00:00        2222    
2022-08-08T12:10:10
 
--- !sql65 --
+-- !sql_6_05 --
 true   1       128     32768   -1      0       1.0     1       1       1       
2020-01-01T00:00        2020-01-01 12:00:00     a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1       1       1       
2020-01-01T00:00        2020-01-01 12:00:00     a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1       1       1       
2020-01-01T00:00        2020-01-01 12:00:00     a       d       192.168.0.1     
{"name":"Andy","age":18}
 
--- !sql66 --
+-- !sql_6_06 --
 true   1       128     32768   -1      0       1.0     1       1       1       
2020-01-01T00:00        2020-01-01 12:00:00     a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1       1       1       
2020-01-01T00:00        2020-01-01 12:00:00     a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1       1       1       
2020-01-01T00:00        2020-01-01 12:00:00     a       d       192.168.0.1     
{"name":"Andy","age":18}
 
--- !sql67 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345
+-- !sql_6_07 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345   
2022-08-08T20:10:10
 
--- !sql68 --
+-- !sql_6_08 --
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01 00:00:00, 2020-01-02 00:00:00]     
 ["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  ["a", "b", "c"] ["d", "e", 
"f"] ["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01 00:00:00, 2020-01-02 00:00:00]     
 ["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  ["a", "b", "c"] ["d", "e", 
"f"] ["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01 00:00:00, 2020-01-02 00:00:00]     
 ["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  ["a", "b", "c"] ["d", "e", 
"f"] ["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 
--- !sql69 --
+-- !sql_6_09 --
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01 00:00:00, 2020-01-02 00:00:00]     
 ["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  ["a", "b", "c"] ["d", "e", 
"f"] ["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01 00:00:00, 2020-01-02 00:00:00]     
 ["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  ["a", "b", "c"] ["d", "e", 
"f"] ["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01 00:00:00, 2020-01-02 00:00:00]     
 ["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  ["a", "b", "c"] ["d", "e", 
"f"] ["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 
--- !sql72 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        
2022-08-08T12:10:10     1659931810000   2022-08-08T12:10:10     
2022-08-08T20:10:10     12345
+-- !sql_6_10 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345   
2022-08-08T20:10:10
 
--- !sql73 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        
2022-08-08T12:10:10     1659931810000   2022-08-08T12:10:10     
2022-08-08T20:10:10     12345
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 text2   4.0     2022-08-08T00:00        
2022-08-09T12:10:10     1660018210000   2022-08-09T12:10:10     
2022-08-09T12:10:10     2222
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 text3_4*5       5.0     2022-08-08T00:00        
2022-08-10T12:10:10     1660104610000   2022-08-10T12:10:10     
2022-08-10T20:10:10     3333
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string4 text3_4*5       6.0     2022-08-08T00:00        
2022-08-11T12:10:10     1660191010000   2022-08-11T12:10:10     
2022-08-11T11:10:10     4444
+-- !sql_6_11 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 text2   4.0     2022-08-08T00:00        2222    
2022-08-08T12:10:10
 
--- !sql74 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 text2   4.0     2022-08-08T00:00        
2022-08-09T12:10:10     1660018210000   2022-08-09T12:10:10     
2022-08-09T12:10:10     2222
+-- !sql_6_12 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 text3_4*5       5.0     2022-08-08T00:00        
3333    2022-08-08T20:10:10
 
--- !sql75 --
+-- !sql_6_13 --
+2022-08-08T20:10:10
+
+-- !sql_6_14 --
+2022-08-08T12:10:10
+
+-- !sql_6_15 --
+2022-08-08T20:10:10
+
+-- !sql_7_02 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
+
+-- !sql_7_03 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 2022-08-08T12:10:10     text2   4.0     
2022-08-08T00:00        2022-08-09T12:10:10     1660018210000   
2022-08-09T12:10:10     2022-08-09T12:10:10     2222
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 2022-08-09T00:40:10     text3_4*5       5.0     
2022-08-08T00:00        2022-08-10T12:10:10     1660104610000   
2022-08-10T12:10:10     2022-08-10T20:10:10     3333
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string4 2022-08-08T20:10:10     text3_4*5       6.0     
2022-08-08T00:00        2022-08-11T12:10:10     1660191010000   
2022-08-11T12:10:10     2022-08-11T11:10:10     4444
+
+-- !sql_7_04 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 2022-08-08T12:10:10     text2   4.0     
2022-08-08T00:00        2022-08-09T12:10:10     1660018210000   
2022-08-09T12:10:10     2022-08-09T12:10:10     2222
+
+-- !sql_7_05 --
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 
--- !sql76 --
+-- !sql_7_06 --
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 
--- !sql77 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        
2022-08-08T12:10:10     1659931810000   2022-08-08T12:10:10     
2022-08-08T20:10:10     12345
+-- !sql_7_07 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
 
--- !sql78 --
+-- !sql_7_08 --
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 
--- !sql79 --
+-- !sql_7_09 --
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 
--- !sql710 --
+-- !sql_7_10 --
 value1 value2
 
--- !sql81 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        
2022-08-08T12:10:10     1659931810000   2022-08-08T12:10:10     
2022-08-08T20:10:10     12345
+-- !sql_7_11 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
+
+-- !sql_7_12 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 2022-08-08T12:10:10     text2   4.0     
2022-08-08T00:00        2022-08-09T12:10:10     1660018210000   
2022-08-09T12:10:10     2022-08-09T12:10:10     2222
 
--- !sql82 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        
2022-08-08T12:10:10     1659931810000   2022-08-08T12:10:10     
2022-08-08T20:10:10     12345
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 text2   4.0     2022-08-08T00:00        
2022-08-09T12:10:10     1660018210000   2022-08-09T12:10:10     
2022-08-09T12:10:10     2222
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 text3_4*5       5.0     2022-08-08T00:00        
2022-08-10T12:10:10     1660104610000   2022-08-10T12:10:10     
2022-08-10T20:10:10     3333
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string4 text3_4*5       6.0     2022-08-08T00:00        
2022-08-11T12:10:10     1660191010000   2022-08-11T12:10:10     
2022-08-11T11:10:10     4444
+-- !sql_7_13 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 2022-08-09T00:40:10     text3_4*5       5.0     
2022-08-08T00:00        2022-08-10T12:10:10     1660104610000   
2022-08-10T12:10:10     2022-08-10T20:10:10     3333
 
--- !sql83 --
+-- !sql_7_14 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string4 2022-08-08T20:10:10     text3_4*5       6.0     
2022-08-08T00:00        2022-08-11T12:10:10     1660191010000   
2022-08-11T12:10:10     2022-08-11T11:10:10     4444
+
+-- !sql_7_15 --
+2022-08-08T20:10:10
+
+-- !sql_7_16 --
+2022-08-08T12:10:10
+
+-- !sql_7_17 --
+2022-08-09T00:40:10
+
+-- !sql_7_18 --
+2022-08-08T20:10:10
+
+-- !sql_7_19 --
+value1 value2
+
+-- !sql_8_01 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
+
+-- !sql_8_02 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 2022-08-08T12:10:10     text2   4.0     
2022-08-08T00:00        2022-08-09T12:10:10     1660018210000   
2022-08-09T12:10:10     2022-08-09T12:10:10     2222
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 2022-08-09T00:40:10     text3_4*5       5.0     
2022-08-08T00:00        2022-08-10T12:10:10     1660104610000   
2022-08-10T12:10:10     2022-08-10T20:10:10     3333
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string4 2022-08-08T20:10:10     text3_4*5       6.0     
2022-08-08T00:00        2022-08-11T12:10:10     1660191010000   
2022-08-11T12:10:10     2022-08-11T11:10:10     4444
+
+-- !sql_8_03 --
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 
--- !sql84 --
+-- !sql_8_04 --
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 true   1       128     32768   -1      0       1.0     1.0     1.0     1.0     
2020-01-01      2020-01-01T12:00        a       d       192.168.0.1     
{"name":"Andy","age":18}
 
--- !sql85 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        
2022-08-08T12:10:10     1659931810000   2022-08-08T12:10:10     
2022-08-08T20:10:10     12345
+-- !sql_8_05 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
 
--- !sql86 --
+-- !sql_8_06 --
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 
--- !sql87 --
+-- !sql_8_07 --
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 [1, 0, 1, 1]   [1, -2, -3, 4]  [128, 129, -129, -130]  [32768, 32769, -32769, 
-32770]  [-1, 0, 1, 2]   [0, 1, 2, 3]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]   
 [1, 2, 3, 4]    [1, 2, 3, 4]    [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      ["a", "b", "c"] ["d", "e", "f"] 
["192.168.0.1", "127.0.0.1"]    ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"]
 
--- !sql88 --
+-- !sql_8_08 --
 value1 value2
+
+-- !sql_8_09 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
+
+-- !sql_8_10 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string2 2022-08-08T12:10:10     text2   4.0     
2022-08-08T00:00        2022-08-09T12:10:10     1660018210000   
2022-08-09T12:10:10     2022-08-09T12:10:10     2222
+
+-- !sql_8_11 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string3 2022-08-09T00:40:10     text3_4*5       5.0     
2022-08-08T00:00        2022-08-10T12:10:10     1660104610000   
2022-08-10T12:10:10     2022-08-10T20:10:10     3333
+
+-- !sql_8_12 --
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string4 2022-08-08T20:10:10     text3_4*5       6.0     
2022-08-08T00:00        2022-08-11T12:10:10     1660191010000   
2022-08-11T12:10:10     2022-08-11T11:10:10     4444
+
+-- !sql_8_13 --
+2022-08-08T20:10:10
+
+-- !sql_8_14 --
+2022-08-08T12:10:10
+
+-- !sql_8_15 --
+2022-08-09T00:40:10
+
+-- !sql_8_16 --
+2022-08-08T20:10:10
+
diff --git 
a/regression-test/data/external_table_p0/es/test_es_query_no_http_url.out 
b/regression-test/data/external_table_p0/es/test_es_query_no_http_url.out
index dbe4800ee86..185eecd2a0b 100644
--- a/regression-test/data/external_table_p0/es/test_es_query_no_http_url.out
+++ b/regression-test/data/external_table_p0/es/test_es_query_no_http_url.out
@@ -6,11 +6,11 @@
 [2020-01-01, 2020-01-02]       [-1, 0, 1, 2]   [0, 1, 2, 3]    ["d", "e", "f"] 
[128, 129, -129, -130]  ["192.168.0.1", "127.0.0.1"]    string1 [1, 2, 3, 4]    
2022-08-08      2022-08-08T12:10:10     text#1  [2020-01-01, 2020-01-02]        
3.14    [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 2, 3, 4]    ["a", "b", "c"] 
["{"name":"Andy","age":18}", "{"name":"Tim","age":28}"] 2022-08-08T12:10:10     
2022-08-08T12:10:10     2022-08-08T20:10:10     [1, -2, -3, 4]  [1, 0, 1, 1]    
[32768, 32769, -32769, -32770]
 
 -- !sql61 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01 00:00:00, 2020-01-02 00:00:00]      
["2020-01-01 12:00:00", "2020-01-02 13:01:01"]  [1, 2, 3, 4]    [1, 1.1, 1.2, 
1.3]      [1, 2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", 
"127.0.0.1"]    ["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        12345   
2022-08-08T20:10:10
 
 -- !sql71 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        
2022-08-08T12:10:10     1659931810000   2022-08-08T12:10:10     
2022-08-08T20:10:10     12345
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
 
 -- !sql81 --
-[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 text#1  3.14    2022-08-08T00:00        
2022-08-08T12:10:10     1659931810000   2022-08-08T12:10:10     
2022-08-08T20:10:10     12345
+[1, 0, 1, 1]   [1, -2, -3, 4]  [2020-01-01, 2020-01-02]        [2020-01-01 
12:00:00, 2020-01-02 13:01:01]      [1, 2, 3, 4]    [1, 1.1, 1.2, 1.3]      [1, 
2, 3, 4]    [32768, 32769, -32769, -32770]  ["192.168.0.1", "127.0.0.1"]    
["a", "b", "c"] [-1, 0, 1, 2]   ["{"name":"Andy","age":18}", 
"{"name":"Tim","age":28}"] [1, 2, 3, 4]    [128, 129, -129, -130]  ["d", "e", 
"f"] [0, 1, 2, 3]    string1 2022-08-08T20:10:10     text#1  3.14    
2022-08-08T00:00        2022-08-08T12:10:10     1659931810000   
2022-08-08T12:10:10     2022-08-08T20:10:10     12345
 
diff --git a/regression-test/suites/external_table_p0/es/test_es_query.groovy 
b/regression-test/suites/external_table_p0/es/test_es_query.groovy
index 660d81c97c5..85ccbbda5e8 100644
--- a/regression-test/suites/external_table_p0/es/test_es_query.groovy
+++ b/regression-test/suites/external_table_p0/es/test_es_query.groovy
@@ -112,9 +112,9 @@ suite("test_es_query", "p0") {
                 "http_ssl_enabled"="false"
             );
         """
-        order_qt_sql51 """select * from test_v1 where test2='text#1'"""
-        order_qt_sql52 """select * from test_v1 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
-        order_qt_sql53 """select test4,test5,test6,test7,test8 from test_v1 
order by test8"""
+        order_qt_sql01 """select * from test_v1 where test2='text#1'"""
+        order_qt_sql02 """select * from test_v1 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
+        order_qt_sql03 """select test4,test5,test6,test7,test8 from test_v1 
order by test8"""
 
        sql """
             CREATE TABLE `test_v2` (
@@ -152,20 +152,26 @@ suite("test_es_query", "p0") {
                 "http_ssl_enabled"="false"
             );
         """
-        order_qt_sql53 """select * from test_v2 where test2='text#1'"""
-        order_qt_sql54 """select * from test_v2 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
-        order_qt_sql55 """select test4,test5,test6,test7,test8 from test_v2 
order by test8"""
+        order_qt_sql04 """select * from test_v2 where test2='text#1'"""
+        order_qt_sql05 """select * from test_v2 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
+        order_qt_sql06 """select test4,test5,test6,test7,test8 from test_v2 
order by test8"""
 
         sql """switch es6"""
-        // order_qt_sql61 """show tables"""
-        order_qt_sql62 """select * from test1 where test2='text#1'"""
-        order_qt_sql63 """select * from test2_20220808 where test4 >= 
'2022-08-08 00:00:00' and test4 < '2022-08-08 23:59:59'"""
-        order_qt_sql64 """select * from test2_20220808 where substring(test2, 
2) = 'ext2'"""
-        order_qt_sql65 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test1"""
-        order_qt_sql66 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test2_20220808"""
-        order_qt_sql67 """select * from test1 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
-        order_qt_sql68 """select c_bool, c_byte, c_short, c_integer, c_long, 
c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, c_date, 
c_datetime, c_keyword, c_text, c_ip, c_person from test1"""
-        order_qt_sql69 """select c_bool, c_byte, c_short, c_integer, c_long, 
c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, c_date, 
c_datetime, c_keyword, c_text, c_ip, c_person from test2_20220808"""
+        // order_qt_sql_6_01 """show tables"""
+        order_qt_sql_6_02 """select * from test1 where test2='text#1'"""
+        order_qt_sql_6_03 """select * from test2_20220808 where test4 >= 
'2022-08-08 00:00:00' and test4 < '2022-08-08 23:59:59'"""
+        order_qt_sql_6_04 """select * from test2_20220808 where 
substring(test2, 2) = 'ext2'"""
+        order_qt_sql_6_05 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test1"""
+        order_qt_sql_6_06 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test2_20220808"""
+        order_qt_sql_6_07 """select * from test1 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
+        order_qt_sql_6_08 """select c_bool, c_byte, c_short, c_integer, 
c_long, c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, 
c_date, c_datetime, c_keyword, c_text, c_ip, c_person from test1"""
+        order_qt_sql_6_09 """select c_bool, c_byte, c_short, c_integer, 
c_long, c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, 
c_date, c_datetime, c_keyword, c_text, c_ip, c_person from test2_20220808"""
+        order_qt_sql_6_10 """select * from test1 where test1='string1'"""
+        order_qt_sql_6_11 """select * from test1 where test1='string2'"""
+        order_qt_sql_6_12 """select * from test1 where test1='string3'"""
+        order_qt_sql_6_13 """select test6 from test1 where test1='string1'"""
+        order_qt_sql_6_14 """select test6 from test1 where test1='string2'"""
+        order_qt_sql_6_15 """select test6 from test1 where test1='string3'"""
 
         List<List<String>> tables6N = sql """show tables"""
         boolean notContainHide = true
@@ -187,16 +193,24 @@ suite("test_es_query", "p0") {
         assertTrue(containHide)
 
         sql """switch es7"""
-        // order_qt_sql71 """show tables"""
-        order_qt_sql72 """select * from test1 where test2='text#1'"""
-        order_qt_sql73 """select * from test2_20220808 where test4 >= 
'2022-08-08 00:00:00' and test4 < '2022-08-08 23:59:59'"""
-        order_qt_sql74 """select * from test2_20220808 where substring(test2, 
2) = 'ext2'"""
-        order_qt_sql75 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test1"""
-        order_qt_sql76 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test2"""
-        order_qt_sql77 """select * from test1 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
-        order_qt_sql78 """select c_bool, c_byte, c_short, c_integer, c_long, 
c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, c_date, 
c_datetime, c_keyword, c_text, c_ip, c_person from test1"""
-        order_qt_sql79 """select c_bool, c_byte, c_short, c_integer, c_long, 
c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, c_date, 
c_datetime, c_keyword, c_text, c_ip, c_person from test2"""
-
+        // order_qt_sql_7_01 """show tables"""
+        order_qt_sql_7_02 """select * from test1 where test2='text#1'"""
+        order_qt_sql_7_03 """select * from test2_20220808 where test4 >= 
'2022-08-08 00:00:00' and test4 < '2022-08-08 23:59:59'"""
+        order_qt_sql_7_04 """select * from test2_20220808 where 
substring(test2, 2) = 'ext2'"""
+        order_qt_sql_7_05 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test1"""
+        order_qt_sql_7_06 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test2"""
+        order_qt_sql_7_07 """select * from test1 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
+        order_qt_sql_7_08 """select c_bool, c_byte, c_short, c_integer, 
c_long, c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, 
c_date, c_datetime, c_keyword, c_text, c_ip, c_person from test1"""
+        order_qt_sql_7_09 """select c_bool, c_byte, c_short, c_integer, 
c_long, c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, 
c_date, c_datetime, c_keyword, c_text, c_ip, c_person from test2"""
+        order_qt_sql_7_10 """select * from test3_20231005"""
+        order_qt_sql_7_11 """select * from test1 where test1='string1'"""
+        order_qt_sql_7_12 """select * from test1 where test1='string2'"""
+        order_qt_sql_7_13 """select * from test1 where test1='string3'"""
+        order_qt_sql_7_14 """select * from test1 where test1='string4'"""
+        order_qt_sql_7_15 """select test10 from test1 where test1='string1'"""
+        order_qt_sql_7_16 """select test10 from test1 where test1='string2'"""
+        order_qt_sql_7_17 """select test10 from test1 where test1='string3'"""
+        order_qt_sql_7_18 """select test10 from test1 where test1='string4'"""
 
         List<List<String>> tables7N = sql """show tables"""
         boolean notContainHide7 = true
@@ -217,17 +231,24 @@ suite("test_es_query", "p0") {
         }
         assertTrue(containeHide7)
 
-
-        order_qt_sql710 """select * from test3_20231005"""
+        order_qt_sql_7_19 """select * from test3_20231005"""
 
         sql """switch es8"""
-        order_qt_sql81 """select * from test1 where test2='text#1'"""
-        order_qt_sql82 """select * from test2_20220808 where test4 >= 
'2022-08-08 00:00:00' and test4 < '2022-08-08 23:59:59'"""
-        order_qt_sql83 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test1"""
-        order_qt_sql84 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test2"""
-        order_qt_sql85 """select * from test1 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
-        order_qt_sql86 """select c_bool, c_byte, c_short, c_integer, c_long, 
c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, c_date, 
c_datetime, c_keyword, c_text, c_ip, c_person from test1"""
-        order_qt_sql87 """select c_bool, c_byte, c_short, c_integer, c_long, 
c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, c_date, 
c_datetime, c_keyword, c_text, c_ip, c_person from test2"""
-        order_qt_sql88 """select * from test3_20231005"""
+        order_qt_sql_8_01 """select * from test1 where test2='text#1'"""
+        order_qt_sql_8_02 """select * from test2_20220808 where test4 >= 
'2022-08-08 00:00:00' and test4 < '2022-08-08 23:59:59'"""
+        order_qt_sql_8_03 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test1"""
+        order_qt_sql_8_04 """select c_bool[1], c_byte[1], c_short[1], 
c_integer[1], c_long[1], c_unsigned_long[1], c_float[1], c_half_float[1], 
c_double[1], c_scaled_float[1], c_date[1], c_datetime[1], c_keyword[1], 
c_text[1], c_ip[1], c_person[1] from test2"""
+        order_qt_sql_8_05 """select * from test1 where esquery(test2, 
'{"match":{"test2":"text#1"}}')"""
+        order_qt_sql_8_06 """select c_bool, c_byte, c_short, c_integer, 
c_long, c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, 
c_date, c_datetime, c_keyword, c_text, c_ip, c_person from test1"""
+        order_qt_sql_8_07 """select c_bool, c_byte, c_short, c_integer, 
c_long, c_unsigned_long, c_float, c_half_float, c_double, c_scaled_float, 
c_date, c_datetime, c_keyword, c_text, c_ip, c_person from test2"""
+        order_qt_sql_8_08 """select * from test3_20231005"""
+        order_qt_sql_8_09 """select * from test1 where test1='string1'"""
+        order_qt_sql_8_10 """select * from test1 where test1='string2'"""
+        order_qt_sql_8_11 """select * from test1 where test1='string3'"""
+        order_qt_sql_8_12 """select * from test1 where test1='string4'"""
+        order_qt_sql_8_13 """select test10 from test1 where test1='string1'"""
+        order_qt_sql_8_14 """select test10 from test1 where test1='string2'"""
+        order_qt_sql_8_15 """select test10 from test1 where test1='string3'"""
+        order_qt_sql_8_16 """select test10 from test1 where test1='string4'"""
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to