You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-10-31 18:30:33 +03:00
chore(execplan): MCOL: 6144 prerry print filters and havings as a tree (#3712)
* MCOL-6144: print Filters and Having indented for better CSEP visualization
This commit is contained in:
@@ -292,6 +292,26 @@ const string SimpleColumn::toString() const
|
||||
return output.str();
|
||||
}
|
||||
|
||||
const string SimpleColumn::toString(bool compact) const
|
||||
{
|
||||
if (!compact)
|
||||
{
|
||||
// Use the original detailed format
|
||||
return toString();
|
||||
}
|
||||
|
||||
ostringstream output;
|
||||
|
||||
// Compact format for tree display - let tree printer handle indentation
|
||||
output << "Column: " << data();
|
||||
datatypes::Charset cs(fResultType.charsetNumber);
|
||||
output << endl
|
||||
<< "Info: " << schemaName() << "." << tableName() << "." << columnName()
|
||||
<< " (Type: " << colDataTypeToString(fResultType.colDataType) << ", OID: " << oid() << ")";
|
||||
|
||||
return output.str();
|
||||
}
|
||||
|
||||
string SimpleColumn::toCppCode(IncludeSet& includes) const
|
||||
{
|
||||
includes.insert("simplecolumn.h");
|
||||
|
||||
Reference in New Issue
Block a user