Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Silverstein committed Jun 9, 2016
1 parent a3f1e56 commit 3cbbcb7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mml_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,10 @@ def validate_schema(bdb, table, mml_json):
gen_name = uuid.uuid4().hex
try:
bdb.execute(to_mml(one_col_json, table, gen_name))
bdb.execute('INITIALIZE 1 MODEL FOR %s' % bql_quote_name(gen_name))
bdb.execute('ANALYZE %s FOR 1 ITERATION WAIT' % bql_quote_name(gen_name))
bdb.execute('INITIALIZE 1 MODEL FOR %s'
% (bql_quote_name(gen_name),))
bdb.execute('ANALYZE %s FOR 1 ITERATION WAIT'
% (bql_quote_name(gen_name),))
except AssertionError:
bad_cols.append(col)
finally:
Expand Down

0 comments on commit 3cbbcb7

Please sign in to comment.