使用pyodps读取数据库数据时,会出现如下告警:
UserWarning: Project under protection, 10000 records will be limited. warnings.warn('Project under protection, 10000 records will be limited.')
虽然不影响使用,但是强迫症看着很不爽,添加如下语句
options.tunnel.limit_instance_tunnel = True
with o.execute_sql('select * from table').open_reader(tunnel=True) as reader: