原创大叔经验分享(55)hue导出行数限制
Posted barneywill
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了原创大叔经验分享(55)hue导出行数限制相关的知识,希望对你有一定的参考价值。
/opt/cloudera/parcels/CDH/lib/hue/apps/beeswax/src/beeswax/conf.py
# Deprecated DOWNLOAD_CELL_LIMIT = Config( key=‘download_cell_limit‘, default=10000000, type=int, help=_t(‘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.‘)) def get_deprecated_download_cell_limit(): """Get the old default""" return DOWNLOAD_CELL_LIMIT.get() / 100 if DOWNLOAD_CELL_LIMIT.get() > 0 else DOWNLOAD_CELL_LIMIT.get() DOWNLOAD_ROW_LIMIT = Config( key=‘download_row_limit‘, dynamic_default=get_deprecated_download_cell_limit, type=int, help=_t(‘A limit to the number of rows that can be downloaded from a query before it is truncated. ‘ ‘A value of -1 means there will be no limit.‘))
以上是关于原创大叔经验分享(55)hue导出行数限制的主要内容,如果未能解决你的问题,请参考以下文章