File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -166,16 +166,15 @@ impl Transaction {
166
166
. map ( |txn| txn. into_engine_data ( get_log_txn_schema ( ) . clone ( ) , engine) ) ;
167
167
168
168
// Validate that the table supports domain metadata operations if we're writing any
169
- if !self . domain_metadatas . is_empty ( ) {
170
- if !self
169
+ if !self . domain_metadatas . is_empty ( )
170
+ && !self
171
171
. read_snapshot
172
172
. table_configuration ( )
173
173
. is_domain_metadata_supported ( )
174
- {
175
- return Err ( Error :: unsupported (
176
- "Domain metadata operations require writer version 7 and the 'domainMetadata' writer feature"
177
- ) ) ;
178
- }
174
+ {
175
+ return Err ( Error :: unsupported (
176
+ "Domain metadata operations require writer version 7 and the 'domainMetadata' writer feature"
177
+ ) ) ;
179
178
}
180
179
181
180
// we cannot have multiple domain metadata actions for the same domain in a single transaction
You can’t perform that action at this time.
0 commit comments