Skip to content

Commit

Permalink
Merge pull request #8 from steyeu/fix/ColumnOrientedBlock-object-has-…
Browse files Browse the repository at this point in the history
…no-attribute-rows

fix: Use block.get_rows() instead of block.rows
  • Loading branch information
xzkostyan authored Feb 27, 2022
2 parents fb32065 + 7bca07f commit 5eee230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aioch/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit 5eee230

Please sign in to comment.