-
Type:
Improvement
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.1.2, 4.0.0
-
Fix Version/s: None
-
Component/s: Standalone Metastore, Statistics
-
Labels:None
The list of things that gets SELECT-ed from the backend database depends on a flag:
final String queryText0 = "select " + getStatsList(enableBitVector) + " from " + TAB_COL_STATS + " where \"CAT_NAME\" = ? and \"DB_NAME\" = ? and \"TABLE_NAME\" = ? " + " and \"ENGINE\" = ? and \"COLUMN_NAME\" in (";
However, the same flag is not passed to the Java Marshaling code, so I sincerely doubt that it is being parsed correctly. How can it know what the number of columns are?