Skip to content

Commit

Permalink
chore: adjust style
Browse files Browse the repository at this point in the history
  • Loading branch information
grieve54706 committed Dec 3, 2024
1 parent 6d08aaa commit be6393a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ibis-server/app/mdl/rewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ def rewrite(self, sql: str) -> str:
extractor = get_extractor(self.manifest_str)
tables = extractor.resolve_used_table_names(sql)
manifest = extractor.extract_manifest(tables)
session_context = get_session_context(
to_json_base64(manifest), self.function_path
)
manifest_str = to_json_base64(manifest)
session_context = get_session_context(manifest_str, self.function_path)
return session_context.transform_sql(sql)
except Exception as e:
raise RewriteError(str(e))
Expand Down

0 comments on commit be6393a

Please sign in to comment.