MCPcopy Create free account
hub / github.com/apache/arrow / to_string

Method to_string

cpp/gdb_arrow.py:1308–1313  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1306 """
1307
1308 def to_string(self):
1309 unit = short_time_unit(self.type['unit_'])
1310 if not self.is_valid:
1311 return f"{self._format_type()} of null value [{unit}]"
1312 value = self.val['value']
1313 return f"{self._format_type()} of value {value}{unit}"
1314
1315
1316class Date32ScalarPrinter(TimeScalarPrinter):

Callers

nothing calls this directly

Calls 2

short_time_unitFunction · 0.85
_format_typeMethod · 0.45

Tested by

no test coverage detected