Skip to content

Commit

Permalink
add extra check for missing column values
Browse files Browse the repository at this point in the history
  • Loading branch information
addelany committed Jun 13, 2024
1 parent 59935c7 commit 77699aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/build_table_columns_full_bucket.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ if (s3_schema_build == TRUE){

}
## check if first item is empty (current problem with json)
if (is.null(init_list[[1]]$type)){
if (is.null(init_list[[1]]$type) | is.na(init_list[[1]]$type)){
warning('null value found in column table build')
init_list <- init_list[-1]
}

Expand Down

0 comments on commit 77699aa

Please sign in to comment.