fix(connectors): fixed issue while inserting string with quotation mark (#1410)
This commit is contained in:
parent
c9b4644350
commit
a1e12ed276
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ def fix_missing_redshift():
|
|||
all_ids = list()
|
||||
# logging.info(f'[FILL INFO] {pg_res[:5]}')
|
||||
for i in range(len(df)):
|
||||
user = df.iloc[i].name
|
||||
user = df.iloc[i].name.replace("'", "''")
|
||||
aux = [str(sess) for sess in df.iloc[i].session_id if sess != 'NN']
|
||||
all_ids += aux
|
||||
if len(aux) == 0:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue