PromoteHeadersMode Enum

Definition

Defines strategy to promote headers when reading files

public enum class PromoteHeadersMode
public enum PromoteHeadersMode
type PromoteHeadersMode = 
Public Enum PromoteHeadersMode
Inheritance
PromoteHeadersMode

Fields

Name Value Description
None 0

Do not promote headers. Use when file(s) has no headers.

FirstFile 1

Promote headers from the first file. All subsequent files are considered to be just data.

Ungrouped 1

Promote headers from the first file. All subsequent files are considered to be just data.

AllFiles 2

Promote headers from every file. Allows to read files with inconsistent schema.

Grouped 2

Promote headers from every file. Allows to read files with inconsistent schema.

ConstantGrouped 3

Optimized option for the case when all the files have exactly same headers. In effect this will promote headers from the first file and skip a row for every other file.

SameAllFiles 3

Optimized option for the case when all the files have exactly same headers. In effect this will promote headers from the first file and skip a row for every other file.

Applies to