joellubi commented on PR #38385:
URL: https://github.com/apache/arrow/pull/38385#issuecomment-1814438905

   And a similar alternative if a submessage is used as suggested. I happen to 
like this approach a bit more.
   ```proto
   message CommandStatementIngest {
     option (experimental) = true;
   
     message TableCreationOptions {
   
       enum TableNotExistOption {
         CREATE = 0;
         FAIL = 1;
       }
   
       enum TableExistsOption {
         FAIL = 0;
         APPEND = 1;
         REPLACE = 2;
       }
   
       TableNotExistOption if_not_exist = 1;
       TableExistsOption if_exists = 2;
     }
   
     TableCreationOptions table_creation_options = 1;
     string table = 2;
     optional string schema = 3;
     optional string catalog = 4;
     optional bool temporary = 5;
     optional bytes transaction_id = 6;
     map<string, string> options = 1000;
   }
   ```


-- 
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