crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
30025a0d
ROOT
/
go
/
libraries
/
doltcore
/
env
/
actions
/
infer_schema.go
Search
History
431 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
typeInfoSet
maxUint24
minInt24
InferenceArgs
ColNameMapper
()
:
rowconv.NameMapper
FloatThreshold
()
:
float64
InferColumnTypesFromTableReader
(ctx context.Context, rd table.ReadCloser, args InferenceArgs)
:
(*schema.ColCollection, error)
inferrer
readerSch
:
schema.Schema
inferSets
:
map[uint64]typeInfoSet
nullable
:
*set.Uint64Set
mapper
:
rowconv.NameMapper
floatThreshold
:
float64
newInferrer
(readerSch schema.Schema, args InferenceArgs)
:
*inferrer
leastPermissiveType
(strVal string, floatThreshold float64)
:
typeinfo.TypeInfo
leastPermissiveNumericType
(strVal string, floatThreshold float64)
:
(ti typeinfo.TypeInfo)
leastPermissiveChronoType
(strVal string)
:
typeinfo.TypeInfo
chronoTypes
()
:
[]typeinfo.TypeInfo
numericTypes
()
:
[]typeinfo.TypeInfo
setHasType
(ts typeInfoSet, t typeinfo.TypeInfo)
:
bool
findCommonType
(ts typeInfoSet)
:
typeinfo.TypeInfo
findCommonNumericType
(nums typeInfoSet)
:
typeinfo.TypeInfo
findCommonChronoType
(chronos typeInfoSet)
:
typeinfo.TypeInfo
*inferrer
inferColumnTypes
()
:
(*schema.ColCollection, error)
processRow
(r row.Row)
:
error
All occurrences
Please wait...
Page is in error, reload to recover