stdpain commented on pull request #6010:
URL: https://github.com/apache/incubator-doris/pull/6010#issuecomment-861323120


   @morningman 
   before:
   ```
   mysql> SELECT count(get_json_int(LO_COMMITDATE, "$.k1")) from LINE_ORDER_V2;
   +----------------------------------------------+
   | count(get_json_int(`LO_COMMITDATE`, '$.k1')) |
   +----------------------------------------------+
   |                                            0 |
   +----------------------------------------------+
   1 row in set (19.35 sec)
   
   mysql> SELECT count(get_json_int(LO_COMMITDATE, "$.k1")) from LINE_ORDER_V2;
   +----------------------------------------------+
   | count(get_json_int(`LO_COMMITDATE`, '$.k1')) |
   +----------------------------------------------+
   |                                            0 |
   +----------------------------------------------+
   1 row in set (19.18 sec)
   
   mysql> SELECT count(get_json_int(LO_COMMITDATE, "$.k1")) from LINE_ORDER_V2;
   +----------------------------------------------+
   | count(get_json_int(`LO_COMMITDATE`, '$.k1')) |
   +----------------------------------------------+
   |                                            0 |
   +----------------------------------------------+
   1 row in set (19.06 sec)
   ```
   after:
   ```
   mysql> SELECT count(get_json_int(LO_COMMITDATE, "$.k1")) from LINE_ORDER_V2;
   +----------------------------------------------+
   | count(get_json_int(`LO_COMMITDATE`, '$.k1')) |
   +----------------------------------------------+
   |                                            0 |
   +----------------------------------------------+
   1 row in set (1.46 sec)
   
   mysql> SELECT count(get_json_int(LO_COMMITDATE, "$.k1")) from LINE_ORDER_V2;
   +----------------------------------------------+
   | count(get_json_int(`LO_COMMITDATE`, '$.k1')) |
   +----------------------------------------------+
   |                                            0 |
   +----------------------------------------------+
   1 row in set (1.19 sec)
   
   mysql> SELECT get_json_int('{"k1":1, "k2":"2"}', "$.k1");
   +--------------------------------------------+
   | get_json_int('{"k1":1, "k2":"2"}', '$.k1') |
   +--------------------------------------------+
   |                                          1 |
   +--------------------------------------------+
   1 row in set (0.01 sec)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to