lidavidm commented on PR #18:
URL: https://github.com/apache/arrow-adbc/pull/18#issuecomment-1160481520

   Is something like this what you were thinking? (This has less information 
than what Flight SQL provides but feels minimal, unless we also want to reflect 
the cascade/delete rules)
   
   ```
   /// CONSTRAINT_SCHEMA is a Struct with fields:
   ///
   /// Field Name               | Field Type            | Comments
   /// -------------------------|-----------------------|---------
   /// constraint_name          | utf8                  |
   /// constraint_type          | utf8 not null         | (1)
   /// column_names             | list<utf8> not null   | (2)
   /// fk_catalog               | utf8                  | (3)
   /// fk_db_schema             | utf8                  | (3)
   /// fk_table                 | utf8                  | (3)
   /// fk_column_names          | list<utf8>            | (3)
   ///
   /// 1. One of 'CHECK', 'FOREIGN KEY', 'PRIMARY KEY', or 'UNIQUE'.
   /// 2. The columns on the current table that are constrained, in
   ///    order.
   /// 3. For FOREIGN KEY only, the referenced table and columns.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to