class TestTable(self.base): date = Column(types.Date, primary_key=True) x = Column(types.Int32) __table_args__ = (engines.GraphiteMergeTree('config_section', partition_by=date, order_by=(date, x)), )
class TestTable(self.base): date = Column(types.Date, primary_key=True) x = Column(types.Int32) __table_args__ = ( engines.GraphiteMergeTree(date, (date, x), 'config_section'), )