コード例 #1
0
 def test_query_description_via_table(self):
     query = 'describe {table}'
     table = Table(self.client, 'GeoCheckin')
     ts_obj = table.query(query)
     self.assertIsNotNone(ts_obj)
     self.assertEqual(len(ts_obj.columns), 5)
     self.assertEqual(len(ts_obj.rows), 5)
コード例 #2
0
 def test_query_description_via_table(self):
     query = 'describe {table}'
     table = Table(self.client, table_name)
     ts_obj = table.query(query)
     self.assertIsNotNone(ts_obj)
     self.validate_len(ts_obj, (5, 7, 8))
コード例 #3
0
 def test_query_description_via_table(self):
     query = 'describe {table}'
     table = Table(self.client, table_name)
     ts_obj = table.query(query)
     self.assertIsNotNone(ts_obj)
     self.validate_len(ts_obj, (5, 7, 8))