mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-25 17:25:36 +03:00
3180334c0c
* refactor: partially moved over driver.Tuning params to options * All knobs moved to options * sq config edit: now has comments for options * Major work complete on config/options overhaul * Major work complete on config/options overhaul * Updated help text for 'sq version'
24 lines
790 B
Go
24 lines
790 B
Go
// Package drivers is the parent package of the
|
|
// concrete sq driver implementations.
|
|
package drivers
|
|
|
|
import "github.com/neilotoole/sq/libsq/core/options"
|
|
|
|
// OptIngestHeader specifies whether ingested data has a header row or not.
|
|
// If not set, the ingester *may* try to detect if the input has a header.
|
|
var OptIngestHeader = options.NewBool(
|
|
"ingest.header",
|
|
false,
|
|
`Specifies whether ingested data has a header row or not.
|
|
If not set, the ingester *may* try to detect if the input has a header.`,
|
|
"source",
|
|
)
|
|
|
|
// OptIngestSampleSize specifies the number of samples that a detector
|
|
// should take to determine type.
|
|
var OptIngestSampleSize = options.NewInt(
|
|
"ingest.sample-size",
|
|
1024,
|
|
`Specify the number of samples that a detector should take to determine type.`,
|
|
"source")
|