我正在尝试使用UDF
在蜂巢中。但是当我尝试使用创建临时函数时userdate as 'unixtimeToDate'
,我得到这个异常
hive> create temporary function userdate1 as 'unixtimeToDate';
FAILED: ParseException line 1:25 character ' ' not supported here
line 1:35 character ' ' not supported here
我不确定为什么不支持该角色。我可以得到一些关于这方面的指导吗?
这里的异常很明显,你的 SQL 中有错误。你有一个全宽空间在你的 SQL 中。更多关于半角和全角形式 https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms
hive> create temporary function userdate1 as 'unixtimeToDate';
^^^here, you have a full width space
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)