package virtualtables

type columnDef struct {
	Name string
	Type string
}

type tableDef struct {
	Keyspace        string
	Table           string
	Columns         []columnDef
	PartitionKeys   []string
	ClusteringKeys  []string
	ClusteringOrder map[string]string
}

var builtinVirtualTableDefs = []tableDef{
	{
		Keyspace: "system_views",
		Table:    "caches",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "capacity_bytes", Type: "bigint"},
			{Name: "size_bytes", Type: "bigint"},
			{Name: "entry_count", Type: "int"},
			{Name: "request_count", Type: "bigint"},
			{Name: "hit_count", Type: "bigint"},
			{Name: "hit_ratio", Type: "double"},
			{Name: "recent_request_rate_per_second", Type: "bigint"},
			{Name: "recent_hit_rate_per_second", Type: "bigint"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "clients",
		Columns: []columnDef{
			{Name: "address", Type: "inet"},
			{Name: "port", Type: "int"},
			{Name: "hostname", Type: "text"},
			{Name: "username", Type: "text"},
			{Name: "connection_stage", Type: "text"},
			{Name: "protocol_version", Type: "int"},
			{Name: "client_options", Type: "map<text, text>"},
			{Name: "driver_name", Type: "text"},
			{Name: "driver_version", Type: "text"},
			{Name: "request_count", Type: "bigint"},
			{Name: "ssl_enabled", Type: "boolean"},
			{Name: "ssl_protocol", Type: "text"},
			{Name: "ssl_cipher_suite", Type: "text"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "authentication_mode", Type: "text"},
			{Name: "authentication_metadata", Type: "map<text, text>"},
		},
		PartitionKeys:   []string{"address"},
		ClusteringKeys:  []string{"port"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "settings",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "system_properties",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "schema_comments",
		Columns: []columnDef{
			{Name: "object_type", Type: "text"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "column_name", Type: "text"},
			{Name: "udt_name", Type: "text"},
			{Name: "field_name", Type: "text"},
			{Name: "comment", Type: "text"},
		},
		PartitionKeys:   []string{"object_type", "keyspace_name"},
		ClusteringKeys:  []string{"table_name", "column_name", "udt_name", "field_name"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "schema_security_labels",
		Columns: []columnDef{
			{Name: "object_type", Type: "text"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "column_name", Type: "text"},
			{Name: "udt_name", Type: "text"},
			{Name: "field_name", Type: "text"},
			{Name: "security_label", Type: "text"},
		},
		PartitionKeys:   []string{"object_type", "keyspace_name"},
		ClusteringKeys:  []string{"table_name", "column_name", "udt_name", "field_name"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "sstable_tasks",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "task_id", Type: "timeuuid"},
			{Name: "completion_ratio", Type: "double"},
			{Name: "kind", Type: "text"},
			{Name: "progress", Type: "bigint"},
			{Name: "sstables", Type: "int"},
			{Name: "total", Type: "bigint"},
			{Name: "unit", Type: "text"},
			{Name: "target_directory", Type: "text"},
		},
		PartitionKeys:   []string{"keyspace_name"},
		ClusteringKeys:  []string{"table_name", "task_id"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "thread_pools",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "active_tasks", Type: "int"},
			{Name: "active_tasks_limit", Type: "int"},
			{Name: "blocked_tasks", Type: "bigint"},
			{Name: "blocked_tasks_all_time", Type: "bigint"},
			{Name: "completed_tasks", Type: "bigint"},
			{Name: "core_pool_size", Type: "int"},
			{Name: "max_pool_size", Type: "int"},
			{Name: "max_tasks_queued", Type: "int"},
			{Name: "pending_tasks", Type: "int"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "internode_outbound",
		Columns: []columnDef{
			{Name: "address", Type: "inet"},
			{Name: "port", Type: "int"},
			{Name: "dc", Type: "text"},
			{Name: "rack", Type: "text"},
			{Name: "using_bytes", Type: "bigint"},
			{Name: "using_reserve_bytes", Type: "bigint"},
			{Name: "pending_count", Type: "bigint"},
			{Name: "pending_bytes", Type: "bigint"},
			{Name: "sent_count", Type: "bigint"},
			{Name: "sent_bytes", Type: "bigint"},
			{Name: "expired_count", Type: "bigint"},
			{Name: "expired_bytes", Type: "bigint"},
			{Name: "error_count", Type: "bigint"},
			{Name: "error_bytes", Type: "bigint"},
			{Name: "overload_count", Type: "bigint"},
			{Name: "overload_bytes", Type: "bigint"},
			{Name: "active_connections", Type: "bigint"},
			{Name: "connection_attempts", Type: "bigint"},
			{Name: "successful_connection_attempts", Type: "bigint"},
		},
		PartitionKeys:   []string{"address", "port"},
		ClusteringKeys:  []string{"dc", "rack"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "internode_inbound",
		Columns: []columnDef{
			{Name: "address", Type: "inet"},
			{Name: "port", Type: "int"},
			{Name: "dc", Type: "text"},
			{Name: "rack", Type: "text"},
			{Name: "using_bytes", Type: "bigint"},
			{Name: "using_reserve_bytes", Type: "bigint"},
			{Name: "corrupt_frames_recovered", Type: "bigint"},
			{Name: "corrupt_frames_unrecovered", Type: "bigint"},
			{Name: "error_bytes", Type: "bigint"},
			{Name: "error_count", Type: "bigint"},
			{Name: "expired_bytes", Type: "bigint"},
			{Name: "expired_count", Type: "bigint"},
			{Name: "scheduled_bytes", Type: "bigint"},
			{Name: "scheduled_count", Type: "bigint"},
			{Name: "processed_bytes", Type: "bigint"},
			{Name: "processed_count", Type: "bigint"},
			{Name: "received_bytes", Type: "bigint"},
			{Name: "received_count", Type: "bigint"},
			{Name: "throttled_count", Type: "bigint"},
			{Name: "throttled_nanos", Type: "bigint"},
		},
		PartitionKeys:   []string{"address", "port"},
		ClusteringKeys:  []string{"dc", "rack"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "pending_hints",
		Columns: []columnDef{
			{Name: "host_id", Type: "uuid"},
			{Name: "address", Type: "inet"},
			{Name: "port", Type: "int"},
			{Name: "rack", Type: "text"},
			{Name: "dc", Type: "text"},
			{Name: "status", Type: "text"},
			{Name: "files", Type: "int"},
			{Name: "total_size", Type: "bigint"},
			{Name: "corrupted_files", Type: "int"},
			{Name: "total_corrupted_files_size", Type: "bigint"},
			{Name: "newest", Type: "timestamp"},
			{Name: "oldest", Type: "timestamp"},
		},
		PartitionKeys:   []string{"host_id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "local_read_latency",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th_ms", Type: "double"},
			{Name: "p99th_ms", Type: "double"},
			{Name: "max_ms", Type: "double"},
			{Name: "per_second", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "local_scan_latency",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th_ms", Type: "double"},
			{Name: "p99th_ms", Type: "double"},
			{Name: "max_ms", Type: "double"},
			{Name: "per_second", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "coordinator_read_latency",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th_ms", Type: "double"},
			{Name: "p99th_ms", Type: "double"},
			{Name: "max_ms", Type: "double"},
			{Name: "per_second", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "coordinator_scan_latency",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th_ms", Type: "double"},
			{Name: "p99th_ms", Type: "double"},
			{Name: "max_ms", Type: "double"},
			{Name: "per_second", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "local_write_latency",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th_ms", Type: "double"},
			{Name: "p99th_ms", Type: "double"},
			{Name: "max_ms", Type: "double"},
			{Name: "per_second", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "coordinator_write_latency",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th_ms", Type: "double"},
			{Name: "p99th_ms", Type: "double"},
			{Name: "max_ms", Type: "double"},
			{Name: "per_second", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "tombstones_per_read",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th", Type: "double"},
			{Name: "p99th", Type: "double"},
			{Name: "max", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "purgeable_tombstones_per_read",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th", Type: "double"},
			{Name: "p99th", Type: "double"},
			{Name: "max", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "rows_per_read",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "p50th", Type: "double"},
			{Name: "p99th", Type: "double"},
			{Name: "max", Type: "double"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "disk_usage",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "mebibytes", Type: "bigint"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "max_partition_size",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "mebibytes", Type: "bigint"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "max_sstable_size",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "mebibytes", Type: "bigint"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "max_sstable_duration",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "max_sstable_duration", Type: "bigint"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "credentials_cache_keys",
		Columns: []columnDef{
			{Name: "role", Type: "text"},
		},
		PartitionKeys:   []string{"role"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "jmx_permissions_cache_keys",
		Columns: []columnDef{
			{Name: "role", Type: "text"},
		},
		PartitionKeys:   []string{"role"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "network_permissions_cache_keys",
		Columns: []columnDef{
			{Name: "role", Type: "text"},
		},
		PartitionKeys:   []string{"role"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "permissions_cache_keys",
		Columns: []columnDef{
			{Name: "role", Type: "text"},
			{Name: "resource", Type: "text"},
		},
		PartitionKeys:   []string{"role", "resource"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "roles_cache_keys",
		Columns: []columnDef{
			{Name: "role", Type: "text"},
		},
		PartitionKeys:   []string{"role"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "cql_metrics",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "value", Type: "double"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "batch_metrics",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "p50th", Type: "double"},
			{Name: "p99th", Type: "double"},
			{Name: "p999th", Type: "double"},
			{Name: "max", Type: "bigint"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "partition_key_statistics",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "token_value", Type: "varint"},
			{Name: "key", Type: "text"},
			{Name: "size_estimate", Type: "counter"},
			{Name: "sstables", Type: "counter"},
		},
		PartitionKeys:   []string{"keyspace_name", "table_name"},
		ClusteringKeys:  []string{"token_value", "key"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "streaming",
		Columns: []columnDef{
			{Name: "id", Type: "timeuuid"},
			{Name: "follower", Type: "boolean"},
			{Name: "operation", Type: "text"},
			{Name: "peers", Type: "frozen<list<text>>"},
			{Name: "status", Type: "text"},
			{Name: "progress_percentage", Type: "float"},
			{Name: "last_updated_at", Type: "timestamp"},
			{Name: "duration_millis", Type: "bigint"},
			{Name: "failure_cause", Type: "text"},
			{Name: "success_message", Type: "text"},
			{Name: "bytes_to_receive", Type: "bigint"},
			{Name: "bytes_received", Type: "bigint"},
			{Name: "bytes_to_send", Type: "bigint"},
			{Name: "bytes_sent", Type: "bigint"},
			{Name: "files_to_receive", Type: "bigint"},
			{Name: "files_received", Type: "bigint"},
			{Name: "files_to_send", Type: "bigint"},
			{Name: "files_sent", Type: "bigint"},
			{Name: "status_init_timestamp", Type: "timestamp"},
			{Name: "status_start_timestamp", Type: "timestamp"},
			{Name: "status_success_timestamp", Type: "timestamp"},
			{Name: "status_failure_timestamp", Type: "timestamp"},
		},
		PartitionKeys:   []string{"id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "gossip_info",
		Columns: []columnDef{
			{Name: "address", Type: "inet"},
			{Name: "port", Type: "int"},
			{Name: "hostname", Type: "text"},
			{Name: "generation", Type: "int"},
			{Name: "heartbeat", Type: "int"},
			{Name: "status", Type: "text"},
			{Name: "load", Type: "text"},
			{Name: "schema", Type: "text"},
			{Name: "dc", Type: "text"},
			{Name: "rack", Type: "text"},
			{Name: "release_version", Type: "text"},
			{Name: "removal_coordinator", Type: "text"},
			{Name: "internal_ip", Type: "text"},
			{Name: "rpc_address", Type: "text"},
			{Name: "x_11_padding", Type: "text"},
			{Name: "severity", Type: "text"},
			{Name: "net_version", Type: "text"},
			{Name: "host_id", Type: "text"},
			{Name: "rpc_ready", Type: "text"},
			{Name: "internal_address_and_port", Type: "text"},
			{Name: "native_address_and_port", Type: "text"},
			{Name: "status_with_port", Type: "text"},
			{Name: "sstable_versions", Type: "text"},
			{Name: "disk_usage", Type: "text"},
			{Name: "index_status", Type: "text"},
			{Name: "x1", Type: "text"},
			{Name: "x2", Type: "text"},
			{Name: "x3", Type: "text"},
			{Name: "x4", Type: "text"},
			{Name: "x5", Type: "text"},
			{Name: "x6", Type: "text"},
			{Name: "x7", Type: "text"},
			{Name: "x8", Type: "text"},
			{Name: "x9", Type: "text"},
			{Name: "x10", Type: "text"},
			{Name: "status_version", Type: "int"},
			{Name: "load_version", Type: "int"},
			{Name: "schema_version", Type: "int"},
			{Name: "dc_version", Type: "int"},
			{Name: "rack_version", Type: "int"},
			{Name: "release_version_version", Type: "int"},
			{Name: "removal_coordinator_version", Type: "int"},
			{Name: "internal_ip_version", Type: "int"},
			{Name: "rpc_address_version", Type: "int"},
			{Name: "x_11_padding_version", Type: "int"},
			{Name: "severity_version", Type: "int"},
			{Name: "net_version_version", Type: "int"},
			{Name: "host_id_version", Type: "int"},
			{Name: "tokens_version", Type: "int"},
			{Name: "rpc_ready_version", Type: "int"},
			{Name: "internal_address_and_port_version", Type: "int"},
			{Name: "native_address_and_port_version", Type: "int"},
			{Name: "status_with_port_version", Type: "int"},
			{Name: "sstable_versions_version", Type: "int"},
			{Name: "disk_usage_version", Type: "int"},
			{Name: "index_status_version", Type: "int"},
			{Name: "x1_version", Type: "int"},
			{Name: "x2_version", Type: "int"},
			{Name: "x3_version", Type: "int"},
			{Name: "x4_version", Type: "int"},
			{Name: "x5_version", Type: "int"},
			{Name: "x6_version", Type: "int"},
			{Name: "x7_version", Type: "int"},
			{Name: "x8_version", Type: "int"},
			{Name: "x9_version", Type: "int"},
			{Name: "x10_version", Type: "int"},
		},
		PartitionKeys:   []string{"address"},
		ClusteringKeys:  []string{"port"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "queries",
		Columns: []columnDef{
			{Name: "thread_id", Type: "text"},
			{Name: "queued_micros", Type: "bigint"},
			{Name: "running_micros", Type: "bigint"},
			{Name: "task", Type: "text"},
		},
		PartitionKeys:   []string{"thread_id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "system_logs",
		Columns: []columnDef{
			{Name: "timestamp", Type: "timestamp"},
			{Name: "order_in_millisecond", Type: "int"},
			{Name: "logger", Type: "text"},
			{Name: "level", Type: "text"},
			{Name: "message", Type: "text"},
		},
		PartitionKeys:   []string{"timestamp"},
		ClusteringKeys:  []string{"order_in_millisecond"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "slow_queries",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "timestamp", Type: "timestamp"},
			{Name: "query", Type: "text"},
			{Name: "min_ms", Type: "bigint"},
			{Name: "max_ms", Type: "bigint"},
			{Name: "avg_ms", Type: "bigint"},
			{Name: "times_reported", Type: "int"},
			{Name: "cross_node", Type: "boolean"},
		},
		PartitionKeys:   []string{"keyspace_name"},
		ClusteringKeys:  []string{"table_name", "timestamp", "query"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "snapshots",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "true_size", Type: "bigint"},
			{Name: "size_on_disk", Type: "bigint"},
			{Name: "created_at", Type: "timestamp"},
			{Name: "expires_at", Type: "timestamp"},
			{Name: "ephemeral", Type: "boolean"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  []string{"keyspace_name", "table_name"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "peers",
		Columns: []columnDef{
			{Name: "peer", Type: "inet"},
			{Name: "peer_port", Type: "int"},
			{Name: "data_center", Type: "text"},
			{Name: "rack", Type: "text"},
			{Name: "host_id", Type: "uuid"},
			{Name: "preferred_ip", Type: "inet"},
			{Name: "preferred_port", Type: "int"},
			{Name: "native_address", Type: "inet"},
			{Name: "native_port", Type: "int"},
			{Name: "release_version", Type: "text"},
			{Name: "schema_version", Type: "uuid"},
			{Name: "state", Type: "text"},
			{Name: "tokens", Type: "set<text>"},
		},
		PartitionKeys:   []string{"peer"},
		ClusteringKeys:  []string{"peer_port"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "local",
		Columns: []columnDef{
			{Name: "key", Type: "text"},
			{Name: "bootstrapped", Type: "text"},
			{Name: "broadcast_address", Type: "inet"},
			{Name: "broadcast_port", Type: "int"},
			{Name: "cluster_name", Type: "text"},
			{Name: "cql_version", Type: "text"},
			{Name: "datacenter", Type: "text"},
			{Name: "gossip_generation", Type: "int"},
			{Name: "host_id", Type: "uuid"},
			{Name: "listen_address", Type: "inet"},
			{Name: "listen_port", Type: "int"},
			{Name: "native_address", Type: "inet"},
			{Name: "native_port", Type: "int"},
			{Name: "native_protocol_version", Type: "text"},
			{Name: "partitioner", Type: "text"},
			{Name: "rack", Type: "text"},
			{Name: "release_version", Type: "text"},
			{Name: "schema_version", Type: "uuid"},
			{Name: "state", Type: "text"},
			{Name: "status", Type: "text"},
			{Name: "tokens", Type: "set<text>"},
		},
		PartitionKeys:   []string{"key"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "cluster_metadata_log",
		Columns: []columnDef{
			{Name: "epoch", Type: "bigint"},
			{Name: "kind", Type: "text"},
			{Name: "transformation", Type: "text"},
			{Name: "entry_id", Type: "bigint"},
			{Name: "entry_time", Type: "timestamp"},
		},
		PartitionKeys:   []string{"epoch"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "cluster_metadata_directory",
		Columns: []columnDef{
			{Name: "node_id", Type: "int"},
			{Name: "host_id", Type: "uuid"},
			{Name: "state", Type: "text"},
			{Name: "cassandra_version", Type: "text"},
			{Name: "serialization_version", Type: "int"},
			{Name: "rack", Type: "text"},
			{Name: "dc", Type: "text"},
			{Name: "broadcast_address", Type: "inet"},
			{Name: "broadcast_port", Type: "int"},
			{Name: "local_address", Type: "inet"},
			{Name: "local_port", Type: "int"},
			{Name: "native_address", Type: "inet"},
			{Name: "native_port", Type: "int"},
			{Name: "tokens", Type: "list<text>"},
			{Name: "multi_step_operation", Type: "map<text, text>"},
		},
		PartitionKeys:   []string{"node_id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "repairs",
		Columns: []columnDef{
			{Name: "id", Type: "timeuuid"},
			{Name: "last_updated_at", Type: "timestamp"},
			{Name: "completed", Type: "boolean"},
			{Name: "duration_millis", Type: "bigint"},
			{Name: "failure_cause", Type: "text"},
			{Name: "success_message", Type: "text"},
			{Name: "state_init_timestamp", Type: "timestamp"},
			{Name: "state_success_timestamp", Type: "timestamp"},
			{Name: "state_skipped_timestamp", Type: "timestamp"},
			{Name: "state_failure_timestamp", Type: "timestamp"},
			{Name: "status", Type: "text"},
			{Name: "command_id", Type: "int"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "sessions", Type: "frozen<set<timeuuid>>"},
			{Name: "options_parallelism", Type: "text"},
			{Name: "options_primary_range", Type: "boolean"},
			{Name: "options_incremental", Type: "boolean"},
			{Name: "options_trace", Type: "boolean"},
			{Name: "options_job_threads", Type: "int"},
			{Name: "options_subrange_repair", Type: "boolean"},
			{Name: "options_pull_repair", Type: "boolean"},
			{Name: "options_force_repair", Type: "boolean"},
			{Name: "options_preview_kind", Type: "text"},
			{Name: "options_optimise_streams", Type: "boolean"},
			{Name: "options_ignore_unreplicated_keyspaces", Type: "boolean"},
			{Name: "options_column_families", Type: "frozen<set<text>>"},
			{Name: "options_data_centers", Type: "frozen<set<text>>"},
			{Name: "options_hosts", Type: "frozen<set<text>>"},
			{Name: "options_ranges", Type: "frozen<set<text>>"},
			{Name: "table_names", Type: "frozen<list<text>>"},
			{Name: "ranges", Type: "frozen<list<list<text>>>"},
			{Name: "unfiltered_ranges", Type: "frozen<list<list<text>>>"},
			{Name: "participants", Type: "frozen<list<text>>"},
			{Name: "state_setup_timestamp", Type: "timestamp"},
			{Name: "state_start_timestamp", Type: "timestamp"},
			{Name: "state_prepare_start_timestamp", Type: "timestamp"},
			{Name: "state_prepare_complete_timestamp", Type: "timestamp"},
			{Name: "state_repair_start_timestamp", Type: "timestamp"},
			{Name: "state_repair_complete_timestamp", Type: "timestamp"},
		},
		PartitionKeys:   []string{"id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "repair_sessions",
		Columns: []columnDef{
			{Name: "id", Type: "timeuuid"},
			{Name: "last_updated_at", Type: "timestamp"},
			{Name: "completed", Type: "boolean"},
			{Name: "duration_millis", Type: "bigint"},
			{Name: "failure_cause", Type: "text"},
			{Name: "success_message", Type: "text"},
			{Name: "state_init_timestamp", Type: "timestamp"},
			{Name: "state_success_timestamp", Type: "timestamp"},
			{Name: "state_skipped_timestamp", Type: "timestamp"},
			{Name: "state_failure_timestamp", Type: "timestamp"},
			{Name: "status", Type: "text"},
			{Name: "repair_id", Type: "timeuuid"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_names", Type: "frozen<list<text>>"},
			{Name: "ranges", Type: "frozen<list<text>>"},
			{Name: "participants", Type: "frozen<list<text>>"},
			{Name: "jobs", Type: "frozen<set<uuid>>"},
			{Name: "state_start_timestamp", Type: "timestamp"},
			{Name: "state_jobs_start_timestamp", Type: "timestamp"},
		},
		PartitionKeys:   []string{"id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "repair_jobs",
		Columns: []columnDef{
			{Name: "id", Type: "uuid"},
			{Name: "last_updated_at", Type: "timestamp"},
			{Name: "completed", Type: "boolean"},
			{Name: "duration_millis", Type: "bigint"},
			{Name: "failure_cause", Type: "text"},
			{Name: "success_message", Type: "text"},
			{Name: "state_init_timestamp", Type: "timestamp"},
			{Name: "state_success_timestamp", Type: "timestamp"},
			{Name: "state_skipped_timestamp", Type: "timestamp"},
			{Name: "state_failure_timestamp", Type: "timestamp"},
			{Name: "status", Type: "text"},
			{Name: "participants", Type: "frozen<list<text>>"},
			{Name: "repair_id", Type: "timeuuid"},
			{Name: "session_id", Type: "timeuuid"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "ranges", Type: "frozen<list<text>>"},
			{Name: "state_start_timestamp", Type: "timestamp"},
			{Name: "state_snapshot_start_timestamp", Type: "timestamp"},
			{Name: "state_snapshot_complete_timestamp", Type: "timestamp"},
			{Name: "state_validation_start_timestamp", Type: "timestamp"},
			{Name: "state_validation_complete_timestamp", Type: "timestamp"},
			{Name: "state_stream_start_timestamp", Type: "timestamp"},
		},
		PartitionKeys:   []string{"id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "repair_participates",
		Columns: []columnDef{
			{Name: "id", Type: "timeuuid"},
			{Name: "last_updated_at", Type: "timestamp"},
			{Name: "completed", Type: "boolean"},
			{Name: "duration_millis", Type: "bigint"},
			{Name: "failure_cause", Type: "text"},
			{Name: "success_message", Type: "text"},
			{Name: "state_init_timestamp", Type: "timestamp"},
			{Name: "state_success_timestamp", Type: "timestamp"},
			{Name: "state_skipped_timestamp", Type: "timestamp"},
			{Name: "state_failure_timestamp", Type: "timestamp"},
			{Name: "initiator", Type: "text"},
			{Name: "tables", Type: "frozen<set<text>>"},
			{Name: "ranges", Type: "frozen<list<text>>"},
			{Name: "incremental", Type: "boolean"},
			{Name: "global", Type: "boolean"},
			{Name: "preview_kind", Type: "text"},
			{Name: "repaired_at", Type: "timestamp"},
			{Name: "validations", Type: "frozen<set<uuid>>"},
		},
		PartitionKeys:   []string{"id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "repair_validations",
		Columns: []columnDef{
			{Name: "id", Type: "uuid"},
			{Name: "last_updated_at", Type: "timestamp"},
			{Name: "completed", Type: "boolean"},
			{Name: "duration_millis", Type: "bigint"},
			{Name: "failure_cause", Type: "text"},
			{Name: "success_message", Type: "text"},
			{Name: "state_init_timestamp", Type: "timestamp"},
			{Name: "state_success_timestamp", Type: "timestamp"},
			{Name: "state_skipped_timestamp", Type: "timestamp"},
			{Name: "state_failure_timestamp", Type: "timestamp"},
			{Name: "status", Type: "text"},
			{Name: "repair_id", Type: "timeuuid"},
			{Name: "session_id", Type: "timeuuid"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "ranges", Type: "frozen<list<text>>"},
			{Name: "initiator", Type: "text"},
			{Name: "estimated_partitions", Type: "bigint"},
			{Name: "estimated_total_bytes", Type: "bigint"},
			{Name: "partitions_processed", Type: "bigint"},
			{Name: "bytes_read", Type: "bigint"},
			{Name: "progress_percentage", Type: "float"},
			{Name: "state_accept_timestamp", Type: "timestamp"},
			{Name: "state_start_timestamp", Type: "timestamp"},
			{Name: "state_sending_trees_timestamp", Type: "timestamp"},
		},
		PartitionKeys:   []string{"id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "cidr_filtering_metrics_counts",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "value", Type: "bigint"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "cidr_filtering_metrics_latencies",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "p50th", Type: "double"},
			{Name: "p95th", Type: "double"},
			{Name: "p99th", Type: "double"},
			{Name: "p999th", Type: "double"},
			{Name: "max", Type: "double"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "sai_column_indexes",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "index_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "column_name", Type: "text"},
			{Name: "is_queryable", Type: "boolean"},
			{Name: "is_building", Type: "boolean"},
			{Name: "is_string", Type: "boolean"},
			{Name: "analyzer", Type: "text"},
		},
		PartitionKeys:   []string{"keyspace_name"},
		ClusteringKeys:  []string{"index_name"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "sai_sstable_index_segments",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "index_name", Type: "text"},
			{Name: "sstable_name", Type: "text"},
			{Name: "segment_row_id_offset", Type: "bigint"},
			{Name: "table_name", Type: "text"},
			{Name: "column_name", Type: "text"},
			{Name: "cell_count", Type: "bigint"},
			{Name: "min_sstable_row_id", Type: "bigint"},
			{Name: "max_sstable_row_id", Type: "bigint"},
			{Name: "start_token", Type: "text"},
			{Name: "end_token", Type: "text"},
			{Name: "min_term", Type: "text"},
			{Name: "max_term", Type: "text"},
			{Name: "component_metadata", Type: "map<text, map<text, text>>"},
		},
		PartitionKeys:   []string{"keyspace_name"},
		ClusteringKeys:  []string{"index_name", "sstable_name", "segment_row_id_offset"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "sai_sstable_indexes",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "index_name", Type: "text"},
			{Name: "sstable_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "column_name", Type: "text"},
			{Name: "format_version", Type: "text"},
			{Name: "cell_count", Type: "bigint"},
			{Name: "min_row_id", Type: "bigint"},
			{Name: "max_row_id", Type: "bigint"},
			{Name: "start_token", Type: "text"},
			{Name: "end_token", Type: "text"},
			{Name: "per_table_disk_size", Type: "bigint"},
			{Name: "per_column_disk_size", Type: "bigint"},
		},
		PartitionKeys:   []string{"keyspace_name"},
		ClusteringKeys:  []string{"index_name", "sstable_name"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "accord_epochs",
		Columns: []columnDef{
			{Name: "epoch", Type: "bigint"},
			{Name: "ready_active", Type: "text"},
			{Name: "ready_coordinate", Type: "text"},
			{Name: "ready_data", Type: "text"},
			{Name: "ready_reads", Type: "text"},
			{Name: "ready", Type: "boolean"},
		},
		PartitionKeys:   []string{"epoch"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "accord_table_epochs",
		Columns: []columnDef{
			{Name: "epoch", Type: "bigint"},
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "added", Type: "frozen<list<text>>"},
			{Name: "removed", Type: "frozen<list<text>>"},
			{Name: "synced", Type: "frozen<list<text>>"},
			{Name: "closed", Type: "frozen<list<text>>"},
			{Name: "retired", Type: "frozen<list<text>>"},
		},
		PartitionKeys:   []string{"epoch"},
		ClusteringKeys:  []string{"keyspace_name", "table_name"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_views",
		Table:    "uncaught_exceptions",
		Columns: []columnDef{
			{Name: "exception_class", Type: "text"},
			{Name: "exception_location", Type: "text"},
			{Name: "count", Type: "int"},
			{Name: "last_message", Type: "text"},
			{Name: "last_stacktrace", Type: "list<text>"},
			{Name: "last_occurrence", Type: "timestamp"},
		},
		PartitionKeys:   []string{"exception_class"},
		ClusteringKeys:  []string{"exception_location"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "all_groups",
		Columns: []columnDef{
			{Name: "group_name", Type: "text"},
			{Name: "virtual_table", Type: "text"},
		},
		PartitionKeys:   []string{"group_name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "type_counter",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "value", Type: "bigint"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "type_gauge",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "type_histogram",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "max", Type: "bigint"},
			{Name: "mean", Type: "double"},
			{Name: "min", Type: "bigint"},
			{Name: "p75th", Type: "double"},
			{Name: "p95th", Type: "double"},
			{Name: "p98th", Type: "double"},
			{Name: "p999th", Type: "double"},
			{Name: "p99th", Type: "double"},
			{Name: "scope", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "type_meter",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "count", Type: "bigint"},
			{Name: "fifteen_minute_rate", Type: "double"},
			{Name: "five_minute_rate", Type: "double"},
			{Name: "mean_rate", Type: "double"},
			{Name: "one_minute_rate", Type: "double"},
			{Name: "scope", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "type_timer",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "max", Type: "double"},
			{Name: "mean", Type: "double"},
			{Name: "min", Type: "double"},
			{Name: "p75th", Type: "double"},
			{Name: "p95th", Type: "double"},
			{Name: "p98th", Type: "double"},
			{Name: "p999th", Type: "double"},
			{Name: "p99th", Type: "double"},
			{Name: "count", Type: "bigint"},
			{Name: "fifteen_minute_rate", Type: "double"},
			{Name: "five_minute_rate", Type: "double"},
			{Name: "mean_rate", Type: "double"},
			{Name: "one_minute_rate", Type: "double"},
			{Name: "scope", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "constants",
		Columns: []columnDef{
			{Name: "kind", Type: "text"},
			{Name: "name", Type: "text"},
			{Name: "description", Type: "text"},
		},
		PartitionKeys:   []string{"kind"},
		ClusteringKeys:  []string{"name"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "executors",
		Columns: []columnDef{
			{Name: "executor_id", Type: "int"},
			{Name: "status", Type: "text"},
			{Name: "position", Type: "int"},
			{Name: "unique_position", Type: "int"},
			{Name: "description", Type: "text"},
			{Name: "command_store_id", Type: "int"},
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "txn_id_additional", Type: "'TxnIdUtf8Type'"},
			{Name: "keys", Type: "text"},
			{Name: "keys_loading", Type: "text"},
			{Name: "keys_loading_for", Type: "text"},
		},
		PartitionKeys:   []string{"executor_id"},
		ClusteringKeys:  []string{"status", "position", "unique_position"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "coordinations",
		Columns: []columnDef{
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "coordination_id", Type: "bigint"},
			{Name: "kind", Type: "text"},
			{Name: "description", Type: "text"},
			{Name: "nodes", Type: "text"},
			{Name: "nodes_inflight", Type: "text"},
			{Name: "nodes_contacted", Type: "text"},
			{Name: "participants", Type: "text"},
			{Name: "replies", Type: "text"},
			{Name: "tracker", Type: "text"},
		},
		PartitionKeys:   []string{"txn_id"},
		ClusteringKeys:  []string{"coordination_id", "kind"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "commands_for_key",
		Columns: []columnDef{
			{Name: "key", Type: "text"},
			{Name: "command_store_id", Type: "int"},
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "ballot", Type: "text"},
			{Name: "deps_known_before", Type: "text"},
			{Name: "execute_at", Type: "text"},
			{Name: "flags", Type: "text"},
			{Name: "missing", Type: "text"},
			{Name: "status", Type: "text"},
			{Name: "status_overrides", Type: "text"},
		},
		PartitionKeys:   []string{"key"},
		ClusteringKeys:  []string{"command_store_id", "txn_id"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "commands_for_key_unmanaged",
		Columns: []columnDef{
			{Name: "key", Type: "text"},
			{Name: "command_store_id", Type: "int"},
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "waiting_until", Type: "text"},
			{Name: "waiting_until_status", Type: "text"},
		},
		PartitionKeys:   []string{"key"},
		ClusteringKeys:  []string{"command_store_id", "txn_id"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "durability_service",
		Columns: []columnDef{
			{Name: "table_id", Type: "text"},
			{Name: "token_start", Type: "'TokenUtf8Type'"},
			{Name: "token_end", Type: "'TokenUtf8Type'"},
			{Name: "last_started_at", Type: "bigint"},
			{Name: "cycle_started_at", Type: "bigint"},
			{Name: "retries", Type: "int"},
			{Name: "min", Type: "text"},
			{Name: "requested_by", Type: "text"},
			{Name: "active", Type: "text"},
			{Name: "waiting", Type: "text"},
			{Name: "node_offset", Type: "int"},
			{Name: "cycle_offset", Type: "int"},
			{Name: "active_index", Type: "int"},
			{Name: "next_index", Type: "int"},
			{Name: "next_to_index", Type: "int"},
			{Name: "end_index", Type: "int"},
			{Name: "current_splits", Type: "int"},
			{Name: "stopping", Type: "boolean"},
			{Name: "stopped", Type: "boolean"},
		},
		PartitionKeys:   []string{"table_id"},
		ClusteringKeys:  []string{"token_start"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "durable_before",
		Columns: []columnDef{
			{Name: "table_id", Type: "text"},
			{Name: "token_start", Type: "'TokenUtf8Type'"},
			{Name: "token_end", Type: "'TokenUtf8Type'"},
			{Name: "quorum", Type: "'TxnIdUtf8Type'"},
			{Name: "universal", Type: "'TxnIdUtf8Type'"},
		},
		PartitionKeys:   []string{"table_id"},
		ClusteringKeys:  []string{"token_start"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "executor_cache",
		Columns: []columnDef{
			{Name: "executor_id", Type: "int"},
			{Name: "scope", Type: "text"},
			{Name: "queries", Type: "bigint"},
			{Name: "hits", Type: "bigint"},
			{Name: "misses", Type: "bigint"},
		},
		PartitionKeys:   []string{"executor_id"},
		ClusteringKeys:  []string{"scope"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "listeners_deps",
		Columns: []columnDef{
			{Name: "command_store_id", Type: "int"},
			{Name: "waiting_on", Type: "'TxnIdUtf8Type'"},
			{Name: "waiting_until", Type: "text"},
			{Name: "waiter", Type: "'TxnIdUtf8Type'"},
		},
		PartitionKeys:   []string{"command_store_id"},
		ClusteringKeys:  []string{"waiting_on", "waiting_until", "waiter"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "listeners_local",
		Columns: []columnDef{
			{Name: "command_store_id", Type: "int"},
			{Name: "waiting_on", Type: "'TxnIdUtf8Type'"},
			{Name: "waiter", Type: "text"},
		},
		PartitionKeys:   []string{"command_store_id"},
		ClusteringKeys:  []string{"waiting_on", "waiter"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "max_conflicts",
		Columns: []columnDef{
			{Name: "command_store_id", Type: "bigint"},
			{Name: "token_start", Type: "'TokenUtf8Type'"},
			{Name: "table_id", Type: "text"},
			{Name: "token_end", Type: "'TokenUtf8Type'"},
			{Name: "timestamp", Type: "text"},
		},
		PartitionKeys:   []string{"command_store_id"},
		ClusteringKeys:  []string{"token_start"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "migration_state",
		Columns: []columnDef{
			{Name: "keyspace_name", Type: "text"},
			{Name: "table_name", Type: "text"},
			{Name: "table_id", Type: "uuid"},
			{Name: "target_protocol", Type: "text"},
			{Name: "transactional_mode", Type: "text"},
			{Name: "transactional_migration_from", Type: "text"},
			{Name: "migrated_ranges", Type: "frozen<list<text>>"},
			{Name: "repair_pending_ranges", Type: "frozen<list<text>>"},
			{Name: "migrating_ranges_by_epoch", Type: "frozen<map<bigint, list<text>>>"},
		},
		PartitionKeys:   []string{"keyspace_name"},
		ClusteringKeys:  []string{"table_name"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "progress_log",
		Columns: []columnDef{
			{Name: "command_store_id", Type: "int"},
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "table_id", Type: "text"},
			{Name: "contact_everyone", Type: "boolean"},
			{Name: "waiting_is_uninitialised", Type: "boolean"},
			{Name: "waiting_blocked_until", Type: "text"},
			{Name: "waiting_home_satisfies", Type: "text"},
			{Name: "waiting_progress", Type: "text"},
			{Name: "waiting_retry_counter", Type: "int"},
			{Name: "waiting_packed_key_tracker_bits", Type: "text"},
			{Name: "waiting_scheduled_at", Type: "timestamp"},
			{Name: "home_phase", Type: "text"},
			{Name: "home_progress", Type: "text"},
			{Name: "home_retry_counter", Type: "int"},
			{Name: "home_scheduled_at", Type: "timestamp"},
		},
		PartitionKeys:   []string{"command_store_id"},
		ClusteringKeys:  []string{"txn_id"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "redundant_before",
		Columns: []columnDef{
			{Name: "command_store_id", Type: "int"},
			{Name: "token_start", Type: "'TokenUtf8Type'"},
			{Name: "table_id", Type: "text"},
			{Name: "token_end", Type: "'TokenUtf8Type'"},
			{Name: "start_epoch", Type: "bigint"},
			{Name: "end_epoch", Type: "bigint"},
			{Name: "gc_before", Type: "'TxnIdUtf8Type'"},
			{Name: "shard_applied", Type: "'TxnIdUtf8Type'"},
			{Name: "quorum_applied", Type: "'TxnIdUtf8Type'"},
			{Name: "locally_applied", Type: "'TxnIdUtf8Type'"},
			{Name: "locally_durable_to_command_store", Type: "'TxnIdUtf8Type'"},
			{Name: "locally_durable_to_data_store", Type: "'TxnIdUtf8Type'"},
			{Name: "locally_redundant", Type: "'TxnIdUtf8Type'"},
			{Name: "locally_synced", Type: "'TxnIdUtf8Type'"},
			{Name: "locally_witnessed", Type: "'TxnIdUtf8Type'"},
			{Name: "log_unavailable", Type: "'TxnIdUtf8Type'"},
			{Name: "unready", Type: "'TxnIdUtf8Type'"},
			{Name: "stale_until_at_least", Type: "'TxnIdUtf8Type'"},
		},
		PartitionKeys:   []string{"command_store_id"},
		ClusteringKeys:  []string{"token_start"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "reject_before",
		Columns: []columnDef{
			{Name: "command_store_id", Type: "int"},
			{Name: "token_start", Type: "'TokenUtf8Type'"},
			{Name: "table_id", Type: "text"},
			{Name: "token_end", Type: "'TokenUtf8Type'"},
			{Name: "timestamp", Type: "text"},
		},
		PartitionKeys:   []string{"command_store_id"},
		ClusteringKeys:  []string{"token_start"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "txn_trace",
		Columns: []columnDef{
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "bucket_mode", Type: "text"},
			{Name: "bucket_seen", Type: "int"},
			{Name: "bucket_size", Type: "int"},
			{Name: "bucket_sub_size", Type: "int"},
			{Name: "chance", Type: "float"},
			{Name: "current_size", Type: "int"},
			{Name: "trace_events", Type: "text"},
			{Name: "managed_by_pattern", Type: "boolean"},
		},
		PartitionKeys:   []string{"txn_id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "txn_traces",
		Columns: []columnDef{
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "id_micros", Type: "bigint"},
			{Name: "event", Type: "text"},
			{Name: "at_micros", Type: "bigint"},
			{Name: "command_store_id", Type: "int"},
			{Name: "message", Type: "text"},
		},
		PartitionKeys:   []string{"txn_id"},
		ClusteringKeys:  []string{"id_micros", "event", "at_micros"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "txn_pattern_trace",
		Columns: []columnDef{
			{Name: "id", Type: "int"},
			{Name: "bucket_mode", Type: "text"},
			{Name: "bucket_seen", Type: "int"},
			{Name: "bucket_size", Type: "int"},
			{Name: "chance", Type: "float"},
			{Name: "current_size", Type: "int"},
			{Name: "if_intersects", Type: "text"},
			{Name: "if_kind", Type: "text"},
			{Name: "on_failure", Type: "text"},
			{Name: "on_new", Type: "text"},
			{Name: "trace_bucket_mode", Type: "text"},
			{Name: "trace_bucket_size", Type: "int"},
			{Name: "trace_bucket_sub_size", Type: "int"},
			{Name: "trace_events", Type: "text"},
		},
		PartitionKeys:   []string{"id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "txn_pattern_traces",
		Columns: []columnDef{
			{Name: "id", Type: "int"},
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
		},
		PartitionKeys:   []string{"id"},
		ClusteringKeys:  []string{"txn_id"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "txn",
		Columns: []columnDef{
			{Name: "command_store_id", Type: "int"},
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "save_status", Type: "text"},
			{Name: "route", Type: "text"},
			{Name: "durability", Type: "text"},
			{Name: "execute_at", Type: "text"},
			{Name: "executes_at_least", Type: "text"},
			{Name: "txn", Type: "text"},
			{Name: "deps", Type: "text"},
			{Name: "waiting_on", Type: "text"},
			{Name: "writes", Type: "text"},
			{Name: "result", Type: "text"},
			{Name: "participants_owns", Type: "text"},
			{Name: "participants_touches", Type: "text"},
			{Name: "participants_has_touched", Type: "text"},
			{Name: "participants_executes", Type: "text"},
			{Name: "participants_waits_on", Type: "text"},
		},
		PartitionKeys:   []string{"command_store_id", "txn_id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "journal",
		Columns: []columnDef{
			{Name: "txn_id", Type: "text"},
			{Name: "command_store_id", Type: "int"},
			{Name: "segment", Type: "bigint"},
			{Name: "segment_position", Type: "int"},
			{Name: "save_status", Type: "text"},
			{Name: "route", Type: "text"},
			{Name: "durability", Type: "text"},
			{Name: "execute_at", Type: "text"},
			{Name: "executes_at_least", Type: "text"},
			{Name: "txn", Type: "text"},
			{Name: "deps", Type: "text"},
			{Name: "writes", Type: "text"},
			{Name: "result", Type: "text"},
			{Name: "participants_owns", Type: "text"},
			{Name: "participants_touches", Type: "text"},
			{Name: "participants_has_touched", Type: "text"},
			{Name: "participants_executes", Type: "text"},
			{Name: "participants_waits_on", Type: "text"},
		},
		PartitionKeys:   []string{"command_store_id", "txn_id"},
		ClusteringKeys:  []string{"segment", "segment_position"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "txn_ops",
		Columns: []columnDef{
			{Name: "txn_id", Type: "text"},
			{Name: "command_store_id", Type: "int"},
			{Name: "op", Type: "text"},
		},
		PartitionKeys:   []string{"txn_id"},
		ClusteringKeys:  []string{"command_store_id"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "node_ops",
		Columns: []columnDef{
			{Name: "node_id", Type: "int"},
			{Name: "op", Type: "text"},
		},
		PartitionKeys:   []string{"node_id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "command_store_ops",
		Columns: []columnDef{
			{Name: "command_store_id", Type: "int"},
			{Name: "op", Type: "text"},
			{Name: "param", Type: "text"},
		},
		PartitionKeys:   []string{"command_store_id"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "txn_blocked_by",
		Columns: []columnDef{
			{Name: "txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "command_store_id", Type: "int"},
			{Name: "depth", Type: "int"},
			{Name: "blocked_by_key", Type: "text"},
			{Name: "blocked_by_txn_id", Type: "'TxnIdUtf8Type'"},
			{Name: "save_status", Type: "text"},
			{Name: "execute_at", Type: "text"},
		},
		PartitionKeys:   []string{"txn_id"},
		ClusteringKeys:  []string{"depth", "command_store_id", "blocked_by_txn_id", "blocked_by_key"},
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_accord_debug",
		Table:    "shard_epochs",
		Columns: []columnDef{
			{Name: "table_id", Type: "text"},
			{Name: "token_start", Type: "'TokenUtf8Type'"},
			{Name: "epoch_start", Type: "bigint"},
			{Name: "epoch_end", Type: "bigint"},
			{Name: "peers", Type: "text"},
			{Name: "peers_fast_path", Type: "text"},
			{Name: "peers_hard_removed", Type: "text"},
			{Name: "quorum_simple", Type: "int"},
			{Name: "quorum_fast", Type: "int"},
			{Name: "quorum_fast_privileged_deps", Type: "int"},
			{Name: "quorum_fast_privileged_nodeps", Type: "int"},
			{Name: "token_end", Type: "'TokenUtf8Type'"},
		},
		PartitionKeys:  []string{"table_id"},
		ClusteringKeys: []string{"token_start", "epoch_start"},
		ClusteringOrder: map[string]string{
			"token_start": "ASC",
			"epoch_start": "DESC",
		},
	},
	{
		Keyspace: "system_metrics",
		Table:    "accord_cache_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "accord_coordinator_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "accord_executor_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "accord_replica_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "accord_system_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "autorepair_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "batch_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "buffer_pool_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "cache_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "chunk_cache_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "cidr_authorizer_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "client_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "client_message_size_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "client_request_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "client_request_size_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "column_family_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "commit_log_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "compaction_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "connection_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "cql_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "dropped_message_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "hints_service_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "index_column_family_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "index_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "index_table_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "internode_inbound_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "journal_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "keyspace_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "memtable_pool_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "messaging_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "mutual_tls_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "paxos_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "read_repair_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "repair_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "route_index_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "storage_attached_index_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "storage_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "storage_proxy_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "streaming_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "table_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "tcm_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "thread_pools_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "trie_memtable_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
	{
		Keyspace: "system_metrics",
		Table:    "unweighted_cache_group",
		Columns: []columnDef{
			{Name: "name", Type: "text"},
			{Name: "scope", Type: "text"},
			{Name: "type", Type: "text"},
			{Name: "value", Type: "text"},
		},
		PartitionKeys:   []string{"name"},
		ClusteringKeys:  nil,
		ClusteringOrder: nil,
	},
}
