You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/03/05 14:21:47 UTC

[GitHub] [camel] ppalaga commented on pull request #5175: CAMEL-16307 azure-storage-datalake:...?operation=getFile appends newline

ppalaga commented on pull request #5175:
URL: https://github.com/apache/camel/pull/5175#issuecomment-791449070


   > @ppalaga a question, I was looking at the datalake client source code and I [saw that you can actually](https://github.com/Azure/azure-sdk-for-java/blob/azure-storage-file-datalake_12.3.0/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileClient.java#L663) override the default serialization and thus you can override the record separator as explained [here](https://docs.microsoft.com/en-us/java/api/com.azure.storage.file.datalake.datalakefileasyncclient.querywithresponse?view=azure-java-stable). Do you think it would probably make sense to use the other API with the customized query options instead of overriding `BufferedInputStream`?
   
   I thought of that, but I have not found any way in the API docs how it would be possible to actually omit the separator. It only allows changing the separator to some other character which does not seem to help for our use case. But maybe I am missing something and you see a way how we could reach what we need? I'd definitely that option if it exists.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org