Пример #1
0
 def test_from_arrow(self):
     self.assertEqual(
         ColumnType.from_arrow(atypes.ColumnType.Datetime()), ColumnType.DATETIME()
     )
Пример #2
0
 def test_from_arrow(self):
     self.assertEqual(
         ColumnType.from_arrow(atypes.ColumnType.Text()), ColumnType.TEXT()
     )
Пример #3
0
 def test_from_arrow(self):
     self.assertEqual(
         ColumnType.from_arrow(atypes.ColumnType.Number("{:,d}")),
         ColumnType.NUMBER("{:,d}"),
     )