Skip to content

Commit

Permalink
Fix metadata handling
Browse files Browse the repository at this point in the history
  • Loading branch information
argenisleon committed Nov 15, 2019
1 parent b144181 commit 9ae6038
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions optimus/io/jdbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ def table_to_df(self, table_name, columns="*", limit=None):
# Bring the data to local machine if not every time we call an action is going to be
# retrieved from the remote server
df = df.run()
df.set_meta("file_name", table_name)
df.reset()

return df

def execute(self, query, limit=None):
Expand Down

0 comments on commit 9ae6038

Please sign in to comment.