简体   繁体   English

Oracle SQL函数到Hive函数的转换

[英]Oracle SQL function to Hive Function Conversion

while moving data from Oracle database to Hadoop, we came across some list of oracle functions which needs to be converted to their equivalent hive function.It is like matching Oracle function to Hive function. 在将数据从Oracle数据库移动到Hadoop时,我们遇到了一些需要转换为等效的Hive函数的oracle函数列表,就像将Oracle函数与Hive函数匹配一样。 Is there any list of already existing HIVE function which I refer to ? 我是否可以参考已经存在的HIVE功能清单? if not, how can I find at least existing hive function. 如果没有,我如何至少找到现有的蜂巢功能。 for ex, if some of the oracle function does not exist in Hive, then how to go ahead and write UDF for that ? 例如,如果Hive中不存在某些oracle函数,那么如何继续为此编写UDF? Thanks in advance. 提前致谢。

In Hive we could use show functions to display all internal functions. 在Hive中,我们可以使用show functions来显示所有内部函数。

If the above function can not solve your problem, Hive also support UDF, UDAF, UDTF, to make you custom your function. 如果上述功能不能解决您的问题,Hive还支持UDF,UDAF,UDTF,以使您自定义您的功能。 Here is the introduction: https://www.linkedin.com/pulse/hive-functions-udfudaf-udtf-examples-gaurav-singh 这里是介绍: https : //www.linkedin.com/pulse/hive-functions-udfudaf-udtf-examples-gaurav-singh

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM