diff --git a/aioch/result.py b/aioch/result.py index a5b9344..52417fd 100644 --- a/aioch/result.py +++ b/aioch/result.py @@ -24,7 +24,7 @@ def store(self, packet): return # Header block contains no rows. Pick columns from it. - if block.rows: + if block.get_rows(): if self.columnar: columns = block.get_columns() if self.data: diff --git a/setup.py b/setup.py index cd2c01f..3d67f9d 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ def read_version(): packages=['aioch'], install_requires=[ - 'clickhouse-driver>=0.1.2' + 'clickhouse-driver>=0.1.3' ], test_suite='nose.collector', tests_require=[