MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / normalizeField

Method normalizeField

plugins/destination/sqlite/client/migrate.go:76–83  ·  view source on GitHub ↗
(field arrow.Field)

Source from the content-addressed store, hash-verified

74}
75
76func (c *Client) normalizeField(field arrow.Field) *arrow.Field {
77 return &arrow.Field{
78 Name: field.Name,
79 Type: c.arrowTypeToSqlite(field.Type),
80 Nullable: field.Nullable,
81 Metadata: field.Metadata,
82 }
83}
84
85func (c *Client) nonAutoMigratableTables(tables schema.Tables, sqliteTables schema.Tables, safeTables map[string]bool) map[string][]schema.TableColumnChange {
86 result := make(map[string][]schema.TableColumnChange)

Callers 1

normalizeTableMethod · 0.95

Calls 1

arrowTypeToSqliteMethod · 0.95

Tested by

no test coverage detected