Skip to content

Commit

Permalink
Fix double quotes issue with replace_invalid_char
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Jiang committed Mar 5, 2015
1 parent 2c22024 commit 5e4cd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataduct/steps/scripts/create_load_redshift_runner.py
Expand Up @@ -27,7 +27,7 @@ def load_redshift(table, input_paths, max_error=0,
delete_statement = 'DELETE FROM %s;' % table_name
error_string = 'MAXERROR %d' % max_error if max_error > 0 else ''
if replace_invalid_char is not None:
invalid_char_str = "ACCEPTINVCHARS AS '%s'" % replace_invalid_char
invalid_char_str = "ACCEPTINVCHARS AS %s" % replace_invalid_char
else:
invalid_char_str = ''

Expand Down

0 comments on commit 5e4cd69

Please sign in to comment.