Add a comment for ColumnsDescription::subcolumns

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2022-03-31 13:21:01 +03:00
parent 615d35e233
commit f4df88a938

View File

@ -217,6 +217,13 @@ public:
private: private:
ColumnsContainer columns; ColumnsContainer columns;
/// Subcolumns is not nested columns.
///
/// Example of subcolumns:
/// - .size0 for Array
/// - .null for Nullable
///
/// While nested columns is just foo.bar
SubcolumnsContainter subcolumns; SubcolumnsContainter subcolumns;
void modifyColumnOrder(const String & column_name, const String & after_column, bool first); void modifyColumnOrder(const String & column_name, const String & after_column, bool first);