| 126 | } |
| 127 | |
| 128 | void SerializationTime::deserializeTextCSV(IColumn & column, ReadBuffer & istr, const FormatSettings & settings) const |
| 129 | { |
| 130 | Decimal64 x = 0; |
| 131 | |
| 132 | if (istr.eof()) |
| 133 | throwReadAfterEOF(); |
| 134 | |
| 135 | char maybe_quote = *istr.position(); |
| 136 | |
| 137 | if (isQuoted(maybe_quote)) |
| 138 | ++istr.position(); |
| 139 | |
| 140 | readText(x, scale, istr, settings); |
| 141 | checkNumberOverflow(settings); |
| 142 | |
| 143 | if (isQuoted(maybe_quote)) |
| 144 | assertChar(maybe_quote, istr); |
| 145 | |
| 146 | assert_cast<ColumnType &>(column).getData().push_back(x); |
| 147 | } |
| 148 | |
| 149 | } |
nothing calls this directly
no test coverage detected