You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 33ee062
Browse filesBrowse the repository at this point in the historyBrowse files
core: answer the second review: qualified keys, nested lookups, rewrites after aliases
An instance row's key is built from namespace-qualified names, so
array(myschema.mood) and array(mood) are two rows, and a lookup that may
not write still canonicalizes an expression whose nested instance is not
a row, so $1::varchar(10)[] reports array(character varying(10)). The
array family is seeded for every dialect rather than created on a
read-only lookup. A rewrite is tried with the alias resolved, so dec(7,2)
meets a rule on decimal. A bare CREATE TYPE lands in the dialect's
default schema, so SQL Server's Code and dbo.Code are one row.
A family in types.jsonl may name a base, which is how MySQL's unsigned
families stand on their signed ones; the legacy bridge strips " unsigned"
from the data type and sets the flag. Relations() carries one array
dimension for an array column.
Converters: a PostgreSQL cast to interval day to second decodes the field
mask as a column does; a MySQL cast to float or double carries no
modifier and a decimal cast's scale left out is 0; DuckDB's main schema
no longer leaves a leading dot; ClickHouse's LowCardinality(Nullable(T))
is a nullable column, read as a nullable lowcardinality(T) by the
converter and by goldeneye alike.
goldeneye keeps the case of a MySQL enum's members and unescapes them,
and relabels only the _-prefixed PostgreSQL array types, so int2vector
and oidvector stay their own; the relation seeds and the goldens they
feed are regenerated. The analyze_types cases cover each fix.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qryf7a1doPFuCz2eGT3bCr
0 commit comments