Table of Contents

Search

  1. Preface
  2. Introduction to Microsoft Azure Data Lake Storage Gen2 Connector
  3. Connections for Microsoft Azure Data Lake Storage Gen2
  4. Mappings for Microsoft Azure Data Lake Storage Gen2
  5. Migrating a mapping
  6. Data type reference
  7. Troubleshooting

Microsoft Azure Data Lake Storage Gen2 Connector

Microsoft Azure Data Lake Storage Gen2 Connector

Rules and guidelines for reading from subdirectories

Rules and guidelines for reading from subdirectories

Consider the following rules and guidelines when you read objects stored in subdirectories:
Mappings
  • When you read from or write to a flat file in Microsoft Azure Data Lake Storage Gen2, ensure that the directory or subdirectory name does not contain the percentage (%) character. Else, the mapping fails.
  • You cannot use recursive read when you read from partition columns.
  • When you read a complex file in a mapping, do not use a tilde (
    ~
    ) in the subdirectory name or file name.
  • When the FileName field for the source and target is mapped, the file is created in the following format:
    target_filename=source_directory_subdirectory1_sudirectory2
  • When you read a flat file with only headers and no data and map the FileName field, the expected directory structure is not created with the FileName field.
Mappings in advanced mode
  • When you read a complex file and enable recursive read, ensure that the path specified in the directory override or file name override matches the file path in the source.
  • When you read a flat file, do not use the following special characters in the directory name or sub-directory name in the directory override:
    [] {} " ' + ^ % * ? space

0 COMMENTS

We’d like to hear from you!