SHOW EXTERNAL FUNCTION

语法

  1. SHOW EXTERNAL FUNCTION function_name [ ( parameter_type[, ...] ) ]

描述

输出注册在function manager中的external function函数信息。 如果指定输入参数,则输出精准匹配输入类型的 function_name 的函数信息.

例子

例如我们需要显示函数签名为 example.default.format(double, integer)external function函数信息:

  1. show external function example.default.format(double, integer);
  1. External Function | Argument Types
  2. --------------------------------------------------------------------------------------------------------------------------------------------+-----------------
  3. External FUNCTION example.default.format ( | double, integer
  4. k double, |
  5. h integer |
  6. ) |
  7. RETURNS varchar |
  8. |
  9. COMMENT 'format the number ''num'' to a format like''#,###,###.##'', rounded to ''lo'' decimal places, and returns the result as a string' |
  10. DETERMINISTIC |
  11. RETURNS NULL ON NULL INPUT |
  12. EXTERNAL

显示所有函数名称为 example.default.formatexternal function函数信息:

  1. show external function example.default.format;
  1. External Function | Argument Types
  2. --------------------------------------------------------------------------------------------------------------------------------------------+-----------------
  3. External FUNCTION example.default.format ( | double, integer
  4. k double, |
  5. h integer |
  6. ) |
  7. RETURNS varchar |
  8. |
  9. COMMENT 'format the number ''num'' to a format like''#,###,###.##'', rounded to ''lo'' decimal places, and returns the result as a string' |
  10. DETERMINISTIC |
  11. RETURNS NULL ON NULL INPUT |
  12. EXTERNAL
  13. External FUNCTION example.default.format ( | real, integer
  14. k real, |
  15. h integer |
  16. ) |
  17. RETURNS varchar |
  18. |
  19. COMMENT 'format the number ''num'' to a format like''#,###,###.##'', rounded to ''lo'' decimal places, and returns the result as a string' |
  20. DETERMINISTIC |
  21. RETURNS NULL ON NULL INPUT |
  22. EXTERNAL

参考信息

Function Namespace Managers