def compile(expr, params=None): """ Force compilation of expression as though it were an expression depending on MapD. Note you can also call expr.compile() Returns ------- compiled : string """ from ibis.mapd.compiler import to_sql return to_sql(expr, dialect.make_context(params=params))