davidhcoe commented on issue #2278:
URL: https://github.com/apache/arrow-adbc/issues/2278#issuecomment-2441984702

   The problem appears to be the use of `requiredList` in the definition:
   
   ```
   type ConstraintInfo struct {
        ConstraintName        *string                 
`json:"constraint_name,omitempty"`
        ConstraintType        string                  `json:"constraint_type"`
        ConstraintColumnNames requiredList[string]    
`json:"constraint_column_names"`
        ConstraintColumnUsage []ConstraintColumnUsage 
`json:"constraint_column_usage,omitempty"`
   }
   ```
   
   If I change it to a string array:
   
   ```
   type ConstraintInfo struct {
        ConstraintName        *string                 
`json:"constraint_name,omitempty"`
        ConstraintType        string                  `json:"constraint_type"`
        ConstraintColumnNames []string                
`json:"constraint_column_names"`
        ConstraintColumnUsage []ConstraintColumnUsage 
`json:"constraint_column_usage,omitempty"`
   }
   ```
   
   then I get the expected results:
   
   
![image](https://github.com/user-attachments/assets/78edc954-eaae-40ed-8894-e04a24d99d62)
   
   but I'm not sure the ramifications of this.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to