When importing files from a folder (s3a://bucket/path/folder) or using a glob (s3a://bucket/path/file-0*), class FilesMetadataEmitter logs a wrong file count. The count is always one more than the actual file count:
[main] INFO com.exasol.cloudetl.emitter.FilesMetadataEmitter - Found total of '101' files in path 's3a://bucket/path*'.
When importing a single file, FilesMetadataEmitter logs correctly Found total of '1' files in path 's3a://bucket/path/file.parquet'.
When importing files from a folder (
s3a://bucket/path/folder
) or using a glob (s3a://bucket/path/file-0*
), classFilesMetadataEmitter
logs a wrong file count. The count is always one more than the actual file count:When importing a single file,
FilesMetadataEmitter
logs correctlyFound total of '1' files in path 's3a://bucket/path/file.parquet'.