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

Cast Operatorsedit

Cast (::)edit

:: provides an alternative syntax to the CAST function.

SELECT '123'::long AS long;

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