暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

hive-函数-向上取整

趣说大数据 2021-10-11
767

函数说明

ceiling(x) - Find the smallest integer not smaller than x
复制

案例:

select ceiling(10.0),ceiling(10.1);
复制

结果:

+------+------+
| _c0 | _c1 |
+------+------+
| 10 | 11 |
+------+------+
复制
文章转载自趣说大数据,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论