Пример #1
0
 def test_column_name_multiple_partition(self):
     tm = TableMetadata('ks', 'table')
     cm = ColumnMetadata(tm, self.name, u'int')
     tm.columns[cm.name] = cm
     tm.partition_key.append(cm)
     cm = ColumnMetadata(tm, self.name + 'x', u'int')
     tm.columns[cm.name] = cm
     tm.partition_key.append(cm)
     tm.export_as_string()
Пример #2
0
 def test_table_name(self):
     tm = TableMetadata(self.name, self.name)
     tm.export_as_string()