简体   繁体   中英

Processing zip files using Azure Data Factory

In Data Lake I am looking for information on how to process.zip file which holds a single. Not sure if I can directly process a contents inside a zip file into Azure Database without unzipping the contents into separate folder.

Another question is the text file is having variable number of column counts in pipe delimiter,as single text file is holding data from multiple tables. Not sure what are the possible ways to process this variable column count text file.

Data Factory supports read the file/data in the.zip file, we can set the Compression type for the.zip file and we don't need unzipping the contents into separate folder. See the example bellow: 在此处输入图像描述

For you another question, if the text file has variable number of column counts in pipe delimiter. Data Factory can't do well with this kind of file, it will always consider the first row as the schema according the column delimiter number. Just for now, there isn't a good way to process it.

HTH.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM