columnTypeReader
columnTypeReader():
ColumnTypeReader
Defined in: packages/schema/src/user-tables/column-type.ts:62
Reads a column’s cells one at a time and keeps only what its type needs, so a file of any length is read in the
memory of one row: add each cell, then type() is one type every non-empty cell is written as, else text, and
nothing else.
- Whole numbers are
integer, or a decimal of scale 0 once one is past the integer range. - Whole numbers with decimals are a
decimalwhose scale is the most digits after the point, with room for at leastminWholeDigitsbefore it. - True or false is
boolean, ISO datesdate, ISO dates and timestimestamp: a time without a zone is read in the browser’s time zone, as Import reads one. - A column with a nested JSON value is
json, which holds its other values as they are. - A column of mixed forms, or of no values, is text:
long_textonce a value is overmaxShortTextcharacters.