[MCOL-125] SHOW TABLE STATUS returns invalid data for CS tables Created: 2016-06-12  Updated: 2023-10-25  Resolved: 2023-10-25

Status: Closed
Project: MariaDB ColumnStore
Component/s: Columnstore Select Handler
Affects Version/s: None
Fix Version/s: Icebox

Type: Bug Priority: Minor
Reporter: Justin Swanhart (Inactive) Assignee: Denis Khalikov
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
PartOf
is part of MCOL-4713 Optimizer statistics Closed
Epic Link: Tech debt

 Description   

mysql> show table status;
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

customer Columnstore 10 Dynamic 2000 0 0 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL    
dim_date Columnstore 10 Fixed 2000 0 0 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL    
lineorder Columnstore 10 Dynamic 2000 0 0 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL    
part Columnstore 10 Dynamic 2000 0 0 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL    
supplier Columnstore 10 Dynamic 2000 0 0 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL    

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

All tables have rows set to 2000, 0 for all other fields. For some reason dim_date shows as type 'fixed' while other tables are 'Dynamic'



 Comments   
Comment by Justin Swanhart (Inactive) [ 2016-06-12 ]

It shows 2000 rows even for EMPTY tables.

Generated at Thu Feb 08 02:18:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.