Skip to content
This repository was archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
Update context.py (#59)
Browse files Browse the repository at this point in the history
Fix for df insert
  • Loading branch information
Epstein authored May 21, 2020
1 parent ec6433e commit 4a88cde
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions splicemachine/spark/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ def insert(self, dataframe, schema_table_name):
:param dataframe: (DF) The dataframe you would like to insert
:param schema_table_name: (string) The table in which you would like to insert the RDD
"""
# make sure column names are in the correct case
dataframe = self.replaceDataframeSchema(dataframe, schema_table_name)
return self.context.insert(dataframe._jdf, schema_table_name)

def upsert(self, dataframe, schema_table_name):
Expand Down

0 comments on commit 4a88cde

Please sign in to comment.