@@ -302,6 +302,13 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
302302 storage_serialization_policy,
303303 inherits,
304304 table_options : CreateTableOptions :: None ,
305+ dynamic,
306+ version,
307+ target_lag,
308+ warehouse,
309+ refresh_mode,
310+ initialize,
311+ require_user,
305312 } ) => {
306313 if temporary {
307314 return not_impl_err ! ( "Temporary tables not supported" ) ?;
@@ -428,7 +435,27 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
428435 if inherits. is_some ( ) {
429436 return not_impl_err ! ( "Table inheritance not supported" ) ?;
430437 }
431-
438+ if dynamic {
439+ return not_impl_err ! ( "Dynamic tables not supported" ) ?;
440+ }
441+ if version. is_some ( ) {
442+ return not_impl_err ! ( "Version not supported" ) ?;
443+ }
444+ if target_lag. is_some ( ) {
445+ return not_impl_err ! ( "Target lag not supported" ) ?;
446+ }
447+ if warehouse. is_some ( ) {
448+ return not_impl_err ! ( "Warehouse not supported" ) ?;
449+ }
450+ if refresh_mode. is_some ( ) {
451+ return not_impl_err ! ( "Refresh mode not supported" ) ?;
452+ }
453+ if initialize. is_some ( ) {
454+ return not_impl_err ! ( "Initialize not supported" ) ?;
455+ }
456+ if require_user {
457+ return not_impl_err ! ( "Require user not supported" ) ?;
458+ }
432459 // Merge inline constraints and existing constraints
433460 let mut all_constraints = constraints;
434461 let inline_constraints = calc_inline_constraints_from_columns ( & columns) ;
@@ -534,6 +561,8 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
534561 to,
535562 params,
536563 or_alter,
564+ secure,
565+ name_before_not_exists,
537566 } => {
538567 if materialized {
539568 return not_impl_err ! ( "Materialized views not supported" ) ?;
@@ -571,6 +600,8 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
571600 to,
572601 params,
573602 or_alter,
603+ secure,
604+ name_before_not_exists,
574605 } ;
575606 let sql = stmt. to_string ( ) ;
576607 let Statement :: CreateView {
@@ -975,6 +1006,7 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
9751006 selection,
9761007 returning,
9771008 or,
1009+ limit,
9781010 } => {
9791011 let from_clauses =
9801012 from. map ( |update_table_from_kind| match update_table_from_kind {
@@ -992,6 +1024,9 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
9921024 if or. is_some ( ) {
9931025 plan_err ! ( "ON conflict not supported" ) ?;
9941026 }
1027+ if limit. is_some ( ) {
1028+ return not_impl_err ! ( "Update-limit clause not supported" ) ?;
1029+ }
9951030 self . update_to_plan ( table, assignments, update_from, selection)
9961031 }
9971032
0 commit comments