MCPcopy Create free account
hub / github.com/Shopify/ghostferry / CompressedColumnsFor

Method CompressedColumnsFor

config.go:325–337  ·  view source on GitHub ↗
(schemaName, tableName string)

Source from the content-addressed store, hash-verified

323type ColumnCompressionConfig map[string]map[string]map[string]string
324
325func (c ColumnCompressionConfig) CompressedColumnsFor(schemaName, tableName string) map[string]string {
326 tableConfig, found := c[schemaName]
327 if !found {
328 return nil
329 }
330
331 columnsConfig, found := tableConfig[tableName]
332 if !found {
333 return nil
334 }
335
336 return columnsConfig
337}
338
339// SchemaName => TableName => ColumnName => struct{}{}
340// These columns will be ignored during InlineVerification

Callers 1

LoadTablesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected