Commit 65820e85 authored by 段英荣's avatar 段英荣

modify topic transfer

parent e42d8857
...@@ -174,7 +174,7 @@ class TableSlicer(object): ...@@ -174,7 +174,7 @@ class TableSlicer(object):
def chunks(self): def chunks(self):
reversed_sep_list = list(reversed(self._sep_list)) reversed_sep_list = list(reversed(self._sep_list))
logging.info("duan add,reversed_sep_list:%d" % reversed_sep_list) logging.info("duan add,reversed_sep_list:%d" % (len(self._sep_list) - 1))
for i in range(len(self._sep_list) - 1): for i in range(len(self._sep_list) - 1):
pk_start = reversed_sep_list[i+1] pk_start = reversed_sep_list[i+1]
pk_stop = reversed_sep_list[i] pk_stop = reversed_sep_list[i]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment