yjhjstz commented on issue #54:
URL: https://github.com/apache/incubator-age/issues/54#issuecomment-835235714


   @emotionbug https://github.com/yjhjstz/citus-age/tree/age  , here is branch 
which I removed inherited table limitation. We can work together.
   
   ```shell
   postgres=# SELECT create_distributed_table('g.person', 'id');
   NOTICE:  Copying data from local table...
    create_distributed_table 
   --------------------------
    
   (1 row)
   
   postgres=# table pg_dist_node;
    nodeid | groupid | nodename  | nodeport | noderack | hasmetadata | isactive 
| noderole | nodecluster 
   
--------+---------+-----------+----------+----------+-------------+----------+----------+-------------
         1 |       1 | 127.0.0.1 |     5433 | default  | f           | t        
| primary  | default
   (1 row)
   
   postgres=# table pg_dist_shard
   pg_dist_shard                      pg_dist_shard_logical_relid_index  
pg_dist_shard_placement            pg_dist_shard_shardid_index        
pg_dist_shardid_seq
   postgres=# table pg_dist_shard;
    logicalrelid | shardid | shardstorage | shardminvalue | shardmaxvalue 
   --------------+---------+--------------+---------------+---------------
    g.person     |  102136 | t            | -2147483648   | -2013265921
    g.person     |  102137 | t            | -2013265920   | -1879048193
    g.person     |  102138 | t            | -1879048192   | -1744830465
    g.person     |  102139 | t            | -1744830464   | -1610612737
    g.person     |  102140 | t            | -1610612736   | -1476395009
    g.person     |  102141 | t            | -1476395008   | -1342177281
    g.person     |  102142 | t            | -1342177280   | -1207959553
    g.person     |  102143 | t            | -1207959552   | -1073741825
    g.person     |  102144 | t            | -1073741824   | -939524097
    g.person     |  102145 | t            | -939524096    | -805306369
    g.person     |  102146 | t            | -805306368    | -671088641
    g.person     |  102147 | t            | -671088640    | -536870913
    g.person     |  102148 | t            | -536870912    | -402653185
    g.person     |  102149 | t            | -402653184    | -268435457
    g.person     |  102150 | t            | -268435456    | -134217729
    g.person     |  102151 | t            | -134217728    | -1
    g.person     |  102152 | t            | 0             | 134217727
    g.person     |  102153 | t            | 134217728     | 268435455
    g.person     |  102154 | t            | 268435456     | 402653183
    g.person     |  102155 | t            | 402653184     | 536870911
    g.person     |  102156 | t            | 536870912     | 671088639
    g.person     |  102157 | t            | 671088640     | 805306367
    g.person     |  102158 | t            | 805306368     | 939524095
    g.person     |  102159 | t            | 939524096     | 1073741823
    g.person     |  102160 | t            | 1073741824    | 1207959551
    g.person     |  102161 | t            | 1207959552    | 1342177279
    g.person     |  102162 | t            | 1342177280    | 1476395007
    g.person     |  102163 | t            | 1476395008    | 1610612735
    g.person     |  102164 | t            | 1610612736    | 1744830463
    g.person     |  102165 | t            | 1744830464    | 1879048191
    g.person     |  102166 | t            | 1879048192    | 2013265919
    g.person     |  102167 | t            | 2013265920    | 2147483647
   (32 rows)
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to