infinity
infinity copied to clipboard
[Bug]: Incorrect `table_count` return value by `show_table`
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Version or Commit ID
v0.2.1
Other environment information
No response
Actual behavior and How to reproduce it
infinity_instance = infinity.connect(infinity.common.LOCAL_HOST)
# 'default_db' is the default database
db_instance = infinity_instance.get_database("default_db")
# Drop my_table if it already exists
db_instance.drop_table("sparse_table", infinity.common.ConflictType.Ignore)
table_instance = db_instance.create_table("sparse_table", {"array_column": {"type": "float"}}, infinity.common.ConflictType.Replace)
res = infinity_instance.show_database("default_db")
print(res)
Expected behavior
No response
Additional information
ShowDatabaseResponse(error_code=0, error_msg='', database_name='default_db', store_dir='/var/infinity/data/p1MU6mEJdE_db_default_db', table_count=850421145088)