TypeDetectionScheme
Specifies the method used to determine the data types of columns, such as by scanning rows, analyzing column formats, or treating all columns as strings.
Possible Values
None, RowScan, ColumnFormatデータ型
string
デフォルト値
"RowScan"
解説
This property defines how the driver determines column data types during query execution:
- None: All columns are treated as strings. Column names are still scanned if the Header property is set to True.
- RowScan: The driver scans rows to infer data types based on the data content. The number of rows scanned is determined by the RowScanDepth property.
- ColumnFormat: Data types are determined based on the column's format in the dataset.
This property is useful for adapting the driver to different data structures or optimizing performance based on your dataset's characteristics.
If precision is critical, such as when working with mixed data types, use RowScan to ensure accurate type detection. For simpler datasets or when type consistency is not required, None can streamline processing. Use ColumnFormat when the dataset includes predefined formats for columns.