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()
Beispiel #2
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()
 def test_table_name(self):
     tm = TableMetadata(self.name, self.name)
     tm.export_as_string()
Beispiel #4
0
 def test_table_name(self):
     tm = TableMetadata(self.name, self.name)
     tm.export_as_string()