Files
floci/docs
Vũ Thế Huy d7d2f73e99 feat(redshift): add external catalog statement parsing and metadata writers (#4679)
* 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
2026-10-02 13:42:21 -04:00
..
2026-03-15 17:43:56 -05:00