#NEWLINE# def test_statistics( self ) : #NEWLINE# #INDENT# 'Map a table with column statistics' #NEWLINE# stmts = [ CREATE_STMT1 , 'ALTER TABLE t1 ALTER c1 SET STATISTICS 100' ] #NEWLINE# dbmap = self . to_map ( self ) #NEWLINE# expmap = { #NEWLINE# #INDENT# 'columns' : [ { #NEWLINE# #INDENT# 'c1' : { #NEWLINE# #INDENT# 'type' : 'integer' , #NEWLINE# 'statistics' : 100 , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'c2' : { #NEWLINE# #INDENT# 'type' : 'text' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } #NEWLINE# assert ( dbmap [ 'schema public' ] [ 'table t1' ] == expmap )