|
44 | 44 | StringReader, |
45 | 45 | StructReader, |
46 | 46 | TimeReader, |
| 47 | + TimestampNanoReader, |
47 | 48 | TimestampReader, |
| 49 | + TimestamptzNanoReader, |
48 | 50 | TimestamptzReader, |
49 | 51 | UnknownReader, |
50 | 52 | UUIDReader, |
|
64 | 66 | OptionWriter, |
65 | 67 | StringWriter, |
66 | 68 | StructWriter, |
| 69 | + TimestampNanoWriter, |
| 70 | + TimestamptzNanoWriter, |
67 | 71 | TimestamptzWriter, |
68 | 72 | TimestampWriter, |
69 | 73 | TimeWriter, |
|
99 | 103 | PrimitiveType, |
100 | 104 | StringType, |
101 | 105 | StructType, |
| 106 | + TimestampNanoType, |
102 | 107 | TimestampType, |
| 108 | + TimestamptzNanoType, |
103 | 109 | TimestamptzType, |
104 | 110 | TimeType, |
105 | 111 | UnknownType, |
@@ -184,9 +190,15 @@ def visit_time(self, time_type: TimeType) -> Writer: |
184 | 190 | def visit_timestamp(self, timestamp_type: TimestampType) -> Writer: |
185 | 191 | return TimestampWriter() |
186 | 192 |
|
| 193 | + def visit_timestamp_ns(self, timestamp_ns_type: TimestampNanoType) -> Writer: |
| 194 | + return TimestampNanoWriter() |
| 195 | + |
187 | 196 | def visit_timestamptz(self, timestamptz_type: TimestamptzType) -> Writer: |
188 | 197 | return TimestamptzWriter() |
189 | 198 |
|
| 199 | + def visit_timestamptz_ns(self, timestamptz_ns_type: TimestamptzNanoType) -> Writer: |
| 200 | + return TimestamptzNanoWriter() |
| 201 | + |
190 | 202 | def visit_string(self, string_type: StringType) -> Writer: |
191 | 203 | return StringWriter() |
192 | 204 |
|
@@ -332,9 +344,15 @@ def visit_time(self, time_type: TimeType, partner: Optional[IcebergType]) -> Wri |
332 | 344 | def visit_timestamp(self, timestamp_type: TimestampType, partner: Optional[IcebergType]) -> Writer: |
333 | 345 | return TimestampWriter() |
334 | 346 |
|
| 347 | + def visit_timestamp_ns(self, timestamp_ns_type: TimestampNanoType, partner: Optional[IcebergType]) -> Writer: |
| 348 | + return TimestampNanoWriter() |
| 349 | + |
335 | 350 | def visit_timestamptz(self, timestamptz_type: TimestamptzType, partner: Optional[IcebergType]) -> Writer: |
336 | 351 | return TimestamptzWriter() |
337 | 352 |
|
| 353 | + def visit_timestamptz_ns(self, timestamptz_ns_type: TimestamptzNanoType, partner: Optional[IcebergType]) -> Writer: |
| 354 | + return TimestamptzNanoWriter() |
| 355 | + |
338 | 356 | def visit_string(self, string_type: StringType, partner: Optional[IcebergType]) -> Writer: |
339 | 357 | return StringWriter() |
340 | 358 |
|
@@ -465,9 +483,15 @@ def visit_time(self, time_type: TimeType, partner: Optional[IcebergType]) -> Rea |
465 | 483 | def visit_timestamp(self, timestamp_type: TimestampType, partner: Optional[IcebergType]) -> Reader: |
466 | 484 | return TimestampReader() |
467 | 485 |
|
| 486 | + def visit_timestamp_ns(self, timestamp_ns_type: TimestampNanoType, partner: Optional[IcebergType]) -> Reader: |
| 487 | + return TimestampNanoReader() |
| 488 | + |
468 | 489 | def visit_timestamptz(self, timestamptz_type: TimestamptzType, partner: Optional[IcebergType]) -> Reader: |
469 | 490 | return TimestamptzReader() |
470 | 491 |
|
| 492 | + def visit_timestamptz_ns(self, timestamptz_ns_type: TimestamptzNanoType, partner: Optional[IcebergType]) -> Reader: |
| 493 | + return TimestamptzNanoReader() |
| 494 | + |
471 | 495 | def visit_string(self, string_type: StringType, partner: Optional[IcebergType]) -> Reader: |
472 | 496 | return StringReader() |
473 | 497 |
|
|
0 commit comments