MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / validateGroupByKeyType

Method validateGroupByKeyType

src/Analyzer/Resolve/QueryAnalyzer.cpp:3940–3943  ·  view source on GitHub ↗

Validate data types of GROUP BY key. */

Source from the content-addressed store, hash-verified

3938/** Validate data types of GROUP BY key.
3939 */
3940void QueryAnalyzer::validateGroupByKeyType(const DataTypePtr & group_by_key_type, const IdentifierResolveScope & scope) const
3941{
3942 DB::validateGroupByKeyType(group_by_key_type, scope.context->getSettingsRef()[Setting::allow_suspicious_types_in_group_by]);
3943}
3944
3945/** Resolve interpolate columns nodes list.
3946 */

Callers

nothing calls this directly

Calls 1

validateGroupByKeyTypeFunction · 0.85

Tested by

no test coverage detected