Skip to content

Commit

Permalink
adding changes in request format of sink_s3
Browse files Browse the repository at this point in the history
  • Loading branch information
harshits committed Jan 2, 2020
1 parent 20d9d7c commit d5aeb0e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions qds_sdk/quest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,14 +1018,9 @@ def _sink_s3(url, data_format, path, partition_by, other_configurations=None):
other_configurations = {}
if partition_by is None:
partition_by = ""
data = {"data":
{"attributes": {
data = {"data": {"attributes": {
"fields": {"path": path, "partition_by": partition_by,
"other_configurations": other_configurations},
"format": data_format,
"data_store": "s3"},
"type": "sink"}
}
"other_configurations": other_configurations, "format": data_format,}, "data_store": "s3"}, "type": "sink"}}
return conn.put(url, data)

@staticmethod
Expand Down

0 comments on commit d5aeb0e

Please sign in to comment.