awadhoot-sq commented on issue #29515:
URL: https://github.com/apache/beam/issues/29515#issuecomment-1822434010
get_destination
```
def get_destination(record):
if 'location' in record:
return str(record["location"])
elif 'org' in record:
return str(record["org"])
else:
return "DEFAULT"
```
success_file_naming
```
def success_file_naming():
def _inner(window, pane, shard_index, total_shards, compression,
destination):
return destination + "/processed.json"
return _inner
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]