plusplusjiajia commented on code in PR #733:
URL: https://github.com/apache/paimon-rust/pull/733#discussion_r3830311413


##########
crates/paimon/src/spec/core_options.rs:
##########
@@ -624,11 +626,17 @@ impl<'a> CoreOptions<'a> {
             .unwrap_or(false)
     }
 
+    /// The declared [`TableType`], defaulting to [`TableType::Table`].
+    /// Fails on a value this client does not know.
+    pub fn table_type(&self) -> crate::Result<TableType> {
+        match self.options.get(TABLE_TYPE_OPTION) {
+            Some(value) => value.parse(),

Review Comment:
   @JingsongLi Done: the parse runs in Schema::validate_final_schema, shared by 
create and alter. 



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