Merge pull request #60388 from ClickHouse/remove-useless-method-2

Remove unused method
This commit is contained in:
Alexey Milovidov 2024-02-26 21:05:37 +03:00 committed by GitHub
commit ad99bb95a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 0 additions and 26 deletions

View File

@ -29,18 +29,6 @@ struct AsynchronousMetricLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
/// Returns the list of columns as in CREATE TABLE statement or nullptr.
/// If it's not nullptr, this list of columns will be used to create the table.
/// Otherwise the list will be constructed from LogElement::getNamesAndTypes and LogElement::getNamesAndAliases.
static const char * getCustomColumnList()
{
return "hostname LowCardinality(String) CODEC(ZSTD(1)), "
"event_date Date CODEC(Delta(2), ZSTD(1)), "
"event_time DateTime CODEC(Delta(4), ZSTD(1)), "
"metric LowCardinality(String) CODEC(ZSTD(1)), "
"value Float64 CODEC(ZSTD(3))";
}
};
class AsynchronousMetricLog : public SystemLog<AsynchronousMetricLogElement>

View File

@ -38,7 +38,6 @@ struct FilesystemReadPrefetchesLogElement
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};
class FilesystemReadPrefetchesLog : public SystemLog<FilesystemReadPrefetchesLogElement>

View File

@ -31,7 +31,6 @@ struct MetricLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};

View File

@ -20,7 +20,6 @@ struct OpenTelemetrySpanLogElement : public OpenTelemetry::Span
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases();
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};
// OpenTelemetry standardizes some Log data as well, so it's not just

View File

@ -96,7 +96,6 @@ struct PartLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases();
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};
class IMergeTreeDataPart;

View File

@ -40,7 +40,6 @@ struct ProcessorProfileLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};
class ProcessorsProfileLog : public SystemLog<ProcessorProfileLogElement>

View File

@ -106,7 +106,6 @@ struct QueryLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases();
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
static void appendClientInfo(const ClientInfo & client_info, MutableColumns & columns, size_t & i);
};

View File

@ -49,7 +49,6 @@ struct QueryThreadLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases();
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};

View File

@ -81,7 +81,6 @@ struct QueryViewsLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases();
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};

View File

@ -37,7 +37,6 @@ struct S3QueueLogElement
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};
class S3QueueLog : public SystemLog<S3QueueLogElement>

View File

@ -64,7 +64,6 @@ struct SessionLogElement
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};

View File

@ -34,7 +34,6 @@ struct TextLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};
class TextLog : public SystemLog<TextLogElement>

View File

@ -41,7 +41,6 @@ struct TraceLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};
class TraceLog : public SystemLog<TraceLogElement>

View File

@ -43,7 +43,6 @@ struct TransactionsInfoLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
void fillCommonFields(const TransactionInfoContext * context = nullptr);
};

View File

@ -72,7 +72,6 @@ struct ZooKeeperLogElement
static ColumnsDescription getColumnsDescription();
static NamesAndAliases getNamesAndAliases() { return {}; }
void appendToBlock(MutableColumns & columns) const;
static const char * getCustomColumnList() { return nullptr; }
};
class ZooKeeperLog : public SystemLog<ZooKeeperLogElement>