You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letmut subtable:Option<Table> = match col["cols"].is_badvalue(){
260
260
true => None,
261
261
false => {
262
+
if table.columns.is_empty(){fatalerr!("Error: table '{}' cannot have a subtable as first column", name);}
262
263
let filename = col["file"].as_str().unwrap_or_else(|| fatalerr!("Error: subtable {} has no 'file' entry", colname));
263
264
Some(add_table(colname,&path,Some(filename), settings, col["cols"].as_vec().unwrap_or_else(|| fatalerr!("Error: subtable 'cols' entry is not an array")),Some(format!("{} {}", name, table.columns[0].datatype))))
0 commit comments