我是靠谱客的博主 孤独电灯胆,这篇文章主要介绍HUE下载提示The number of resulting rows was too big to be downloaded,现在分享给大家,希望可以做个参考。

目前,我们内部使用hue作为图形界面工具,通过beeswax来连接impala集群进行sql查询。用户反馈在对查询结果使用Excel进行保存之后报错,错误信息如下所示:

The number of resulting rows was too big to be downloaded and the resulting file has been truncated to 2 rows

跟用户确认,结果集也并不大,只有几千行。换成csv之后,下载不会报错,但是下载完成之后,打开的文件内容为空,只有一行列名显示。经过排查之后发现,是由于我们在hue.ini中配置了该配置项造成的:

  # A limit to the number of cells (rows * columns) that can be downloaded from a query
  # (e.g. - 10K rows * 1K columns = 10M cells.)
  # A value of -1 means there will be no limit.
  download_cell_limit=100

我们注释掉该配置项之后,重启hue服务,测试csv和excel都可以正常下载,问题解决!

最后

以上就是孤独电灯胆最近收集整理的关于HUE下载提示The number of resulting rows was too big to be downloaded的全部内容,更多相关HUE下载提示The内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(48)

评论列表共有 0 条评论

立即
投稿
返回
顶部