Skip to content

Commit

Permalink
Add filter
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed May 30, 2022
1 parent f667160 commit 6d7ed22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/learn.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ dm_learn_from_db_meta <- function(con, catalog = NULL, schema = NULL, name_forma
))) %>%
ungroup() %>%
select(-(1:3)) %>%

# FIXME: Where does this come from?
filter(!is.na(ref_table)) %>%

group_by(table = ref_table) %>%
summarize(fks = list(bind_rows(fks))) %>%
ungroup()
Expand Down

0 comments on commit 6d7ed22

Please sign in to comment.