mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* feat(redshift): add external catalog statement parsing and metadata writers * fix(redshift): harden external statement parsing and reference scanning - Scanner: recognise dollar-quoted bodies, E'..\'..' strings and nested block comments; catch SELECT INTO, CREATE VIEW and CREATE INDEX writes; ignore FROM inside EXTRACT, SUBSTRING, TRIM and IS DISTINCT FROM. - Parser: accept CREATE EXTERNAL SCHEMA IF NOT EXISTS, strip leading comments, support quoted names with dots, read TBLPROPERTIES and PARTITION values that contain parentheses or escaped quotes, validate IAM_ROLE as one quoted literal, and canonicalise Redshift type aliases to Hive types. - Registry: percent-encode key parts so separators in identifiers cannot collide. - Backend session: do not treat socket write failures as source read failures during COPY. - Keep property order stable in statements. * fix(redshift): address external catalog review findings * fix(redshift): inherit omitted partition settings * fix(redshift): preserve explicit empty partition settings * fix(redshift): canonicalise character and varbyte external column types * fix(redshift): default unsized character types * fix(redshift): enforce Spectrum varchar default length * fix(redshift): null surplus varchar values during Spectrum copy