当前位置:网站首页>GBase 8c 函数/存储过程参数(二)
GBase 8c 函数/存储过程参数(二)
2022-07-03 02:18:00 【大壮十二】
- RETURNS NULL ON NULL INPUT | STRICT:RETURNS NULL ON NULL INPUT或STRICT用于指定如果函数的某个参数是NULL,此函数总是返回NULL。如果声明了该参数,当有NULL值参数时该函数不会被执行;而只是自动返回一个NULL结果;
- [EXTERNAL] SECURITY INVOKER:表明该函数将带着调用它的用户的权限执行,该参数可以省略,EXTERNAL为可选参数;
- [EXTERNAL] SECURITY DEFINER:声明该函数将以创建它的用户的权限执行EXTERNAL为可选参数;
- PARALLEL:表示该函数是否可以下推到DN上执行。PARALLEL UNSAFE表示该函数不能下推到DN上执行且强制使用顺序执行计划,为默认选项;PARALLEL RESTRICTED表示该函数能下推到DN上执行,但是要求必须在DN Leader上执行;PARALLEL SAFE表示该函数能下推到DN上执行,安全且不受限制;
- execution_cost:用来估计函数的执行成本,execution_cost以cpu_operator_cost为单位,取值范围为正数;
- result_rows:估计函数返回的行数,用于函数返回的是一个集合,取值范围为正数,默认值1000行;
- configuration_parameter:把指定的数据库会话参数值设置为给定的值,如果value是DEFAULT或者RESET,则在新的会话中使用系统的缺省设置。OFF关闭设置,取值范围为字符串;
- definition:定义该函数的字符串常量,可以是内部函数名、对象文件的路径、SQL命令或者用过程语言编写的文本;
- obj_file, link_symbol:适用于C语言函数,字符串obj_file指定了动态库的绝对路径;link_symbol 指定了该函数的链接符号,也就是该函数在C代码中的函数名称;
- attribute:函数可选信息,取值范围:isStrict(等效于STRICT或者RETURNS NULL ON NULL INPUT)、isCachable(等效于IMMUTABLE)。
边栏推荐
- Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
- How to find summer technical internship in junior year? Are you looking for a large company or a small company for technical internship?
- Return the only different value (de duplication)
- Su Shimin: 25 principles of work and life
- udp接收队列以及多次初始化的测试
- Leetcode(540)——有序数组中的单一元素
- Redis: simple use of redis
- 苏世民:25条工作和生活原则
- stm32F407-------DMA
- QT qcombobox add qccheckbox (drop-down list box insert check box, including source code + comments)
猜你喜欢

stm32F407-------DMA

Producer consumer model based on thread pool (including blocking queue)

机器学习笔记(持续更新中。。。)

udp接收队列以及多次初始化的测试

Tongda OA V12 process center

深度学习笔记(持续更新中。。。)

Ni visa fails after LabVIEW installs the third-party visa software

Servlet中数据传到JSP页面使用el表达式${}无法显示问题
![[shutter] shutter debugging (debugging control related functions | breakpoint management | code operation control)](/img/fe/c053f8d116eb307733177283a26318.png)
[shutter] shutter debugging (debugging control related functions | breakpoint management | code operation control)

Flink CDC mongoDB 使用及Flink sql解析monggo中复杂嵌套JSON数据实现
随机推荐
Leetcode (540) -- a single element in an ordered array
机器学习流程与方法
通达OA 首页门户工作台
Button button adaptive size of wechat applet
QT qcombobox add qccheckbox (drop-down list box insert check box, including source code + comments)
Restcloud ETL cross database data aggregation operation
[shutter] shutter debugging (debugging control related functions | breakpoint management | code operation control)
Groovy, "try with resources" construction alternative
COM和CN
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
Startup mode and scope builder of collaboration in kotlin
Visualisation de l'ensemble de données au format yolov5 (fichier labelme json)
awk从入门到入土(2)认识awk内置变量和变量的使用
4. 类和对象
stm32F407-------DMA
Cfdiv2 fixed point guessing- (interval answer two points)
Leetcode(540)——有序数组中的单一元素
How to deal with cache hot key in redis
Word word word
DQL basic operation