3

I am currently working on azure data lake with snappy-data integration,I have a query on snappy-data are we able to update the data in the snappy-data to azure data lake storage, or we can append only on the azure data lake storage i searched in forum but i can't reach for that proper solution on it,if any one know about that query on it please share it,thank you.

richard a
  • 101
  • 8

2 Answers2

2

Azure Data Lake Store, much like HDFS, is an append only store. You can append to a file or replace it altogether. There is no way to update an existing file.

Amit Kulkarni
  • 910
  • 4
  • 11
1

I've achieved MERGE style behaviour in USQL by using a Azure Data Lake table as the middle ground between input and output. Check out my blog post with the code showing how I did it with a series of joins.

https://www.purplefrogsystems.com/paul/2016/12/writing-a-u-sql-merge-statement/

This will give you append behaviour in your output.

Paul Andrew
  • 3,233
  • 2
  • 17
  • 37