函数类型Function types

函数是可重用的查询或查询部件。Functions are reusable queries or query parts. Kusto 支持多种函数:Kusto supports several kinds of functions:

  • 存储函数,是用户定义的函数,用于存储和管理数据库的某类架构实体。Stored functions, which are user-defined functions that are stored and managed a one kind of a database's schema entities. 请参阅存储函数See Stored functions.
  • 查询定义函数,是用户定义的函数,在单个查询范围内定义和使用。Query-defined functions, which are user-defined functions that are defined and used within the scope of a single query. 定义此类函数需使用 let 语句The definition of such functions is done through a let statement. 请参阅用户定义函数See User-defined functions.
  • 内置函数,采用硬编码形式(由 Kusto 定义,不能由用户修改)。Built-in functions, which are hard-coded (defined by Kusto and cannot be modified by users).