原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/sql-operators-cast.html, 原文档版权归 www.elastic.co 所有

Cast Operatorsedit

Cast (::)edit

:: provides an alternative syntax to the CAST function.

SELECT '123'::long AS long;

      long
---------------
123