python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4742 -v ' -s datou_current_4742 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4742', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 4140901 load datou : 4742 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13169 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13170 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13167 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 13167 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13174 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13168 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 13171 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13172 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13173 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 13175 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13169 have datatype=11 whereas input 0 of step 13167 have datatype=2 WARNING : type of output 1 of step 13170 doesn't seem to be define in the database( WARNING : type of input 3 of step 13168 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13170 doesn't seem to be define in the database( WARNING : type of input 1 of step 13167 doesn't seem to be define in the database( WARNING : output 0 of step 13174 have datatype=10 whereas input 3 of step 13173 have datatype=6 WARNING : type of input 1 of step 13174 doesn't seem to be define in the database( WARNING : output 1 of step 13167 have datatype=7 whereas input 1 of step 13174 have datatype=None WARNING : type of output 1 of step 13174 doesn't seem to be define in the database( WARNING : type of input 4 of step 13168 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13169 doesn't seem to be define in the database( WARNING : type of input 1 of step 13170 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type seems boolean for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4742 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4742 order by created_at desc LIMIT 1 no input labels no input values UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2552104) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2552104) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18668048 AND hide_status = 0 list_input_json: {} Current got : datou_id : 4742, datou_cur_ids : ['2552104'] with mtr_portfolio_ids : ['18668048'] and first list_photo_ids : [] new path : /proc/4140901/ Name: python3 Umask: 0002 State: R (running) Tgid: 4140901 Ngid: 0 Pid: 4140901 PPid: 4140899 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4140901 NSpid: 4140901 NSpgid: 4139681 NSsid: 4139681 VmPeak: 1106824 kB VmSize: 1106824 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99164 kB VmRSS: 99164 kB RssAnon: 59796 kB RssFile: 39368 kB RssShmem: 0 kB VmData: 865576 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 536 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 43 nonvoluntary_ctxt_switches: 123 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4140901', 'Ngid': '0', 'Pid': '4140901', 'PPid': '4140899', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4140901', 'NSpid': '4140901', 'NSpgid': '4139681', 'NSsid': '4139681', 'VmPeak': '1106824 kB', 'VmSize': '1106824 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99164 kB', 'VmRSS': '99164 kB', 'RssAnon': '59796 kB', 'RssFile': '39368 kB', 'RssShmem': '0 kB', 'VmData': '865576 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '536 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '43', 'nonvoluntary_ctxt_switches': '123'} ('datou_batch_current', '4140901', '1106824', '0', '1106824', '865576', '99164', b'', 'marlene', '2552104') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4742 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4742 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4742 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4742 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13169 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13170 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13167 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 13167 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13174 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13168 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 13171 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13172 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13173 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 13175 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13169 have datatype=11 whereas input 0 of step 13167 have datatype=2 WARNING : type of output 1 of step 13170 doesn't seem to be define in the database( WARNING : type of input 3 of step 13168 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13170 doesn't seem to be define in the database( WARNING : type of input 1 of step 13167 doesn't seem to be define in the database( WARNING : output 0 of step 13174 have datatype=10 whereas input 3 of step 13173 have datatype=6 WARNING : type of input 1 of step 13174 doesn't seem to be define in the database( WARNING : output 1 of step 13167 have datatype=7 whereas input 1 of step 13174 have datatype=None WARNING : type of output 1 of step 13174 doesn't seem to be define in the database( WARNING : type of input 4 of step 13168 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13169 doesn't seem to be define in the database( WARNING : type of input 1 of step 13170 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (18668048) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (2552104 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 100 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (18668048) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 100 list_result: [{'photo_id': 1318953900, 'portfolio_id': 18668048}, {'photo_id': 1318953899, 'portfolio_id': 18668048}, {'photo_id': 1318953897, 'portfolio_id': 18668048}, {'photo_id': 1318953895, 'portfolio_id': 18668048}, {'photo_id': 1318953892, 'portfolio_id': 18668048}, {'photo_id': 1318953876, 'portfolio_id': 18668048}, {'photo_id': 1318953874, 'portfolio_id': 18668048}, {'photo_id': 1318953871, 'portfolio_id': 18668048}, {'photo_id': 1318953870, 'portfolio_id': 18668048}, {'photo_id': 1318953867, 'portfolio_id': 18668048}, {'photo_id': 1318953865, 'portfolio_id': 18668048}] map_portfolio_id_photo_id: {18668048: [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865]} ##### Call download_photos : nb_thread : 1 begin to download photo : 1318953900 download finish for photo 1318953900 begin to download photo : 1318953899 download finish for photo 1318953899 begin to download photo : 1318953897 download finish for photo 1318953897 begin to download photo : 1318953895 download finish for photo 1318953895 begin to download photo : 1318953892 download finish for photo 1318953892 begin to download photo : 1318953876 download finish for photo 1318953876 begin to download photo : 1318953874 download finish for photo 1318953874 begin to download photo : 1318953871 download finish for photo 1318953871 begin to download photo : 1318953870 download finish for photo 1318953870 begin to download photo : 1318953867 download finish for photo 1318953867 begin to download photo : 1318953865 download finish for photo 1318953865 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 ##### After load_data_input time to download the photos : 4.0088841915130615 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : True number of steps : 9 step1:copy_chis Wed Feb 5 15:26:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} Begin step datou_step_copy_crop processing picture : temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg processing picture : temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg processing picture : temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg processing picture : temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg processing picture : temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg processing picture : temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg processing picture : temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg processing picture : temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg processing picture : temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg processing picture : temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg processing picture : temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953900,1318953899,1318953897,1318953895,1318953892,1318953876,1318953874,1318953871,1318953870,1318953867,1318953865) and `type` in (4855) and score>0.01and hashtag_id in (493061979,493012381) Loaded 145 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827) insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 510 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 196 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! map_nb_chis : {1318953865: 8, 1318953867: 14, 1318953870: 8, 1318953871: 8, 1318953874: 16, 1318953876: 16, 1318953892: 11, 1318953895: 20, 1318953897: 12, 1318953899: 18, 1318953900: 14} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] map_info['map_portfolio_photo'] : {18668048: [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865]} final : False mtd_id 4742 list_pids : [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] Looping around the photos to save general results len do output : 11 /1318953865Didn't retrieve data . /1318953867Didn't retrieve data . /1318953870Didn't retrieve data . /1318953871Didn't retrieve data . /1318953874Didn't retrieve data . /1318953876Didn't retrieve data . /1318953892Didn't retrieve data . /1318953895Didn't retrieve data . /1318953897Didn't retrieve data . /1318953899Didn't retrieve data . /1318953900Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953900', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4742', '18668048', '1318953865', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953867', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953870', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953871', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953874', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953876', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953892', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953895', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953897', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953899', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953900', 'None', None, None, None, None, '2552104')] time used for this insertion : 0.014214515686035156 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3714747428894043 time spend to save output : 0.014691352844238281 total time spend for step 1 : 0.3861660957336426 step2:consolidate_hashtags_from_manual_portfolio Wed Feb 5 15:26:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 18668048 on est dans le IF portfolio mere 26T SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=18668048 AND mptpi.`type`=4856 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','flux_dev','film_dev_souple','ela','sac_om_plein','textiles','verre','organique','dasri','masque','encombrant','autre_non_emballage','environnement','mal_croppe','flou')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=18668048 AND mptpi.`type`=4857 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','flux_dev','film_dev_souple','ela','sac_om_plein','textiles','verre','organique','dasri','masque','encombrant','autre_non_emballage','environnement','mal_croppe','flou')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=9745827 AND mptpi.`type`=4856 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','flux_dev','film_dev_souple','ela','sac_om_plein','textiles','verre','organique','dasri','masque','encombrant','autre_non_emballage','environnement','mal_croppe','flou')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689335 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004716,1319004567,1319004569,1319004573,1319004579,1319004590,1319004594,1319004595,1319004604,1319004613,1319004565,1319004769,1319004809,1319004830,1319004833,1319004835,1319005154,1319005180,1319005231,1319004538,1319004521,1319004522,1319004525,1319004531,1319004532,1319004534,1319004535,1319004537,1319004518,1319004544,1319004546,1319004550,1319004552,1319004556,1319004559,1319004561,1319004562) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953900,1318953899,1318953897,1318953895,1318953892,1318953874,1318953871,1318953867,1318953870) and `type` in (4855) Loaded 732 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694039, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689335; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694039 and b.mtr_portfolio_id = 18689335; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609166, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689335; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609166 and b.mtr_portfolio_id = 18689335; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689336 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004517,1319004520,1319004523,1319004524,1319004527,1319004528,1319004529,1319004530,1319004533,1319004536,1319004539,1319004541,1319004542,1319004543,1319004545,1319004547,1319004549,1319004553,1319004554,1319004560,1319004564,1319004566,1319004568,1319004581,1319004583,1319004586,1319004587,1319004593,1319004596,1319004605,1319004606,1319004609,1319004614,1319004616,1319004617,1319004709,1319004710,1319004713,1319004714,1319004715,1319004718,1319004719,1319004720,1319004722,1319004723,1319004724,1319004725,1319004726,1319004727,1319004728,1319004729,1319004731,1319004732,1319004733,1319004734,1319004735,1319004736,1319004737,1319004738,1319004739,1319004740,1319004741,1319004742,1319004743,1319004744,1319004745,1319004747,1319004748,1319004749,1319004750,1319004754,1319004758,1319004764,1319004765,1319004766,1319004767,1319004768,1319004770,1319004771,1319004772,1319004773,1319004774,1319004775,1319004776,1319004778,1319004779,1319004780,1319004781,1319004782,1319004783,1319004784,1319004785,1319004786,1319004787,1319004788,1319004789,1319004791,1319004793,1319004794,1319004795,1319004796,1319004797,1319004798,1319004799,1319004800,1319004801,1319004804,1319004805,1319004806,1319004807,1319004808,1319004810,1319004812,1319004813,1319004814,1319004816,1319004817,1319004818,1319004819,1319004820,1319004823,1319004824,1319004825,1319004826,1319004827,1319004832,1319004837,1319004838,1319004842,1319004844,1319004846,1319004847,1319004848,1319004850,1319004853,1319004854,1319004855,1319004856,1319004857,1319004859,1319004861,1319004862,1319004864,1319004865,1319004866,1319004867,1319004868,1319004870,1319004871,1319004873,1319004874,1319004876,1319004879,1319004880,1319004881,1319004882,1319004883,1319004884,1319004895,1319004912,1319004916,1319004923,1319004924,1319004925,1319004928,1319004933,1319004970,1319004992,1319005033,1319005043,1319005059,1319005069,1319005138,1319005215,1319005216,1319005219,1319005221,1319005223,1319005224,1319005226,1319005227,1319005229,1319005233,1319005234,1319005236,1319005238,1319005239,1319005295,1319005372,1319005379,1319005386) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953900,1318953899,1318953897,1318953895,1318953892,1318953876,1318953874,1318953871,1318953870,1318953867) and `type` in (4855) Loaded 816 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694040, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689336; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694040 and b.mtr_portfolio_id = 18689336; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609167, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689336; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609167 and b.mtr_portfolio_id = 18689336; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689337 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004896,1319004917,1319005220) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953900,1318953892) and `type` in (4855) Loaded 173 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694041, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689337; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694041 and b.mtr_portfolio_id = 18689337; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609168, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689337; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609168 and b.mtr_portfolio_id = 18689337; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689338 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004988,1319004979,1319004980,1319004982,1319004983,1319004984,1319004985,1319004986,1319004987,1319004978,1319004996,1319005131,1319005132,1319005160,1319005166,1319005170,1319005178,1319005183,1319004963,1319004901,1319004908,1319004922,1319004932,1319004958,1319004959,1319004960,1319004962,1319004878,1319004966,1319004968,1319004969,1319004971,1319004974,1319004975,1319004976,1319004977) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953867,1318953899,1318953892,1318953874,1318953870,1318953900,1318953897,1318953895,1318953876,1318953871) and `type` in (4855) Loaded 816 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694042, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689338; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694042 and b.mtr_portfolio_id = 18689338; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609169, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689338; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609169 and b.mtr_portfolio_id = 18689338; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689339 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004994,1319004995,1319005218) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953892,1318953876) and `type` in (4855) Loaded 176 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613) begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694043, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689339; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694043 and b.mtr_portfolio_id = 18689339; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609170, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689339; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609170 and b.mtr_portfolio_id = 18689339; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689344 AND mpp.hide_status=0 ORDER BY ph.size desc insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694046, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689344; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694046 and b.mtr_portfolio_id = 18689344; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609173, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689344; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609173 and b.mtr_portfolio_id = 18689344; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689346 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004843,1319004875) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953870,1318953867) and `type` in (4855) Loaded 174 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565) begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694048, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689346; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694048 and b.mtr_portfolio_id = 18689346; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609175, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689346; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609175 and b.mtr_portfolio_id = 18689346; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689347 AND mpp.hide_status=0 ORDER BY ph.size desc insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694049, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689347; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694049 and b.mtr_portfolio_id = 18689347; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609176, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689347; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609176 and b.mtr_portfolio_id = 18689347; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689348 AND mpp.hide_status=0 ORDER BY ph.size desc insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694050, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689348; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694050 and b.mtr_portfolio_id = 18689348; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609177, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689348; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609177 and b.mtr_portfolio_id = 18689348; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689349 AND mpp.hide_status=0 ORDER BY ph.size desc insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694051, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689349; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694051 and b.mtr_portfolio_id = 18689349; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609178, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689349; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609178 and b.mtr_portfolio_id = 18689349; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689350 AND mpp.hide_status=0 ORDER BY ph.size desc insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694052, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689350; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694052 and b.mtr_portfolio_id = 18689350; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609179, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689350; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609179 and b.mtr_portfolio_id = 18689350; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689351 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004577) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953892) and `type` in (4855) Loaded 92 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613) begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694053, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689351; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694053 and b.mtr_portfolio_id = 18689351; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609180, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689351; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609180 and b.mtr_portfolio_id = 18689351; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689353 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004519,1319004526,1319004540,1319004600,1319004790,1319005034,1319005036,1319005083,1319005088) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953900,1318953899,1318953871,1318953876,1318953892) and `type` in (4855) Loaded 405 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694054, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689353; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694054 and b.mtr_portfolio_id = 18689353; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609181, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689353; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609181 and b.mtr_portfolio_id = 18689353; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689354 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319005373,1319005357,1319005358,1319005359,1319005360,1319005361,1319005362,1319005363,1319005364,1319005365,1319005356,1319005380,1319005381,1319005382,1319005383,1319005390,1319005400,1319005401,1319005402,1319005331,1319005297,1319005298,1319005306,1319005307,1319005308,1319005309,1319005310,1319005311,1319005314,1319005296,1319005342,1319005344,1319005350,1319005351,1319005352,1319005353,1319005354,1319005355) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953900,1318953899,1318953897,1318953895,1318953892,1318953876,1318953874,1318953871,1318953870,1318953867,1318953865) and `type` in (4855) Loaded 828 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640736,3555640741,3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640733,3555640734,3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640736,3555640741,3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640733,3555640734,3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640736,3555640741,3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640733,3555640734,3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694055, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689354; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694055 and b.mtr_portfolio_id = 18689354; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609182, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689354; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609182 and b.mtr_portfolio_id = 18689354; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689356 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004792,1319004831,1319004902,1319004914,1319004931,1319005000,1319005001,1319005002,1319005004,1319005045,1319005064,1319005187) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953876,1318953871,1318953899,1318953892,1318953870,1318953867) and `type` in (4855) Loaded 498 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694044, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689356; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694044 and b.mtr_portfolio_id = 18689356; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609171, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689356; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609171 and b.mtr_portfolio_id = 18689356; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689357 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319005144,1319005168,1319005167,1319005164,1319005163,1319005158,1319005157,1319005156,1319005155,1319005153,1319005152,1319005150,1319005171,1319005143,1319005137,1319005135,1319005133,1319005089,1319005070,1319005057,1319005041,1319004920,1319004919,1319005303,1319005394,1319005377,1319005374,1319005367,1319005348,1319005346,1319005326,1319005320,1319005318,1319005304,1319004918,1319005302,1319005301,1319005300,1319005299,1319005196,1319005179,1319005177,1319005175,1319005174,1319005172,1319004591,1319004721,1319004717,1319004615,1319004612,1319004610,1319004607,1319004603,1319004601,1319004597,1319004592,1319004746,1319004588,1319004585,1319004584,1319004582,1319004580,1319004578,1319004574,1319004570,1319004563,1319004551,1319004849,1319004915,1319004911,1319004907,1319004904,1319004903,1319004898,1319004897,1319004877,1319004869,1319004863,1319004548,1319004845,1319004841,1319004840,1319004839,1319004836,1319004834,1319004803,1319004761,1319004752,1319004751) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953897,1318953895,1318953892,1318953876,1318953874,1318953871,1318953870,1318953867,1318953900,1318953899) and `type` in (4855) Loaded 816 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694056, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689357; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694056 and b.mtr_portfolio_id = 18689357; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 13431365, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689357; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =13431365 and b.mtr_portfolio_id = 18689357; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689358 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004558,1319004572,1319004589,1319004598,1319004599,1319004611,1319004618,1319004619,1319004620,1319004711,1319004712,1319004730,1319004753,1319004815,1319004822,1319004851,1319004852,1319004858,1319004860,1319004872,1319004894,1319004900,1319004905,1319004935,1319004957,1319004965,1319004967,1319004973,1319004981,1319005003,1319005030,1319005031,1319005037,1319005038,1319005039,1319005042,1319005044,1319005046,1319005050,1319005052,1319005053,1319005054,1319005055,1319005056,1319005065,1319005066,1319005071,1319005076,1319005077,1319005078,1319005079,1319005084,1319005085,1319005086,1319005087,1319005090,1319005091,1319005092,1319005093,1319005094,1319005134,1319005136,1319005140,1319005142,1319005147,1319005148,1319005149,1319005151,1319005165,1319005173,1319005181,1319005182,1319005184,1319005188,1319005189,1319005213,1319005214,1319005217,1319005222,1319005228,1319005230,1319005232,1319005235,1319005305,1319005312,1319005313,1319005316,1319005319,1319005321,1319005322,1319005324,1319005327,1319005328,1319005329,1319005330,1319005332,1319005333,1319005334,1319005335,1319005336,1319005337,1319005338,1319005339,1319005340,1319005341,1319005343,1319005345,1319005349,1319005366,1319005368,1319005369,1319005370,1319005371,1319005375,1319005376,1319005378,1319005384,1319005385,1319005387,1319005388,1319005389,1319005391,1319005392,1319005393,1319005395,1319005396,1319005397,1319005399) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953895,1318953876,1318953874,1318953870,1318953867,1318953865,1318953900,1318953899,1318953871,1318953897,1318953892) and `type` in (4855) Loaded 828 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640736,3555640741,3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640733,3555640734,3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640736,3555640741,3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640733,3555640734,3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640736,3555640741,3555640732,3555640742,3555640740,3555640743,3555640737,3555640738,3555640735,3555640739,3555640733,3555640734,3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694057, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689358; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694057 and b.mtr_portfolio_id = 18689358; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 13431366, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689358; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =13431366 and b.mtr_portfolio_id = 18689358; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689359 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319004934,1319005186,1319005169,1319005161,1319005159,1319005145,1319005062,1319005061,1319005060,1319005048,1319005035,1319005032,1319004972,1319004964,1319004961,1319004557,1319004930,1319004929,1319004927,1319004926,1319004921,1319004913,1319004906,1319004829,1319004828,1319004821,1319004811,1319004802,1319004777) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953897,1318953892,1318953876,1318953874,1318953871,1318953895,1318953870,1318953867,1318953899,1318953900) and `type` in (4855) Loaded 816 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555639092,3555639143,3555639131,3555639085,3555639100,3555639094,3555639099,3555639091,3555639141,3555639121,3555639157,3555639151,3555639147,3555639086,3555639118,3555639104,3555639153,3555639139,3555639146,3555639140,3555639119,3555639090,3555639126,3555639150,3555639109,3555639117,3555639134,3555639158,3555639145,3555639083,3555639114,3555639137,3555639129,3555639081,3555639138,3555639115,3555639082,3555639144,3555639110,3555639080,3555639133,3555639078,3555639149,3555639132,3555639148,3555639111,3555639112,3555639108,3555639125,3555639107,3555639127,3555639128,3555639106,3555639089,3555639120,3555639123,3555639093,3555639155,3555639079,3555639116,3555639095,3555639142,3555639122,3555639130,3555639088,3555639135,3555639124,3555639105,3555639152,3555639101,3555639136,3555639103,3555639087,3555639156,3555639097,3555639154,3555639096,3555639113,3555639102,3555639098,3555639084,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694045, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689359; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694045 and b.mtr_portfolio_id = 18689359; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609172, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689359; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609172 and b.mtr_portfolio_id = 18689359; TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18689360 AND mpp.hide_status=0 ORDER BY ph.size desc SELECT distinct chi.photo_id FROM MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids csp WHERE chi.id=csp.crop_hashtag_id AND chi.type=4855 AND csp.sub_photo_id IN (1319005073,1319005347,1319005237,1319005225,1319005185,1319005176,1319005162,1319005146,1319005139,1319005075,1319005074,1319004608,1319005072,1319005068,1319005067,1319005063,1319005058,1319005051,1319005049,1319005040,1319005029) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953870,1318953900,1318953897,1318953892,1318953876,1318953874,1318953871,1318953895,1318953867) and `type` in (4855) Loaded 735 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555640580,3555640577,3555640644,3555640631,3555640597,3555640606,3555640636,3555640601,3555640621,3555640652,3555640640,3555640612,3555640649,3555640648,3555640633,3555640585,3555640641,3555640593,3555640639,3555640587,3555640599,3555640586,3555640595,3555640596,3555640630,3555640575,3555640607,3555640603,3555640605,3555640625,3555640592,3555640584,3555640591,3555640620,3555640604,3555640574,3555640600,3555640590,3555640576,3555640614,3555640583,3555640572,3555640654,3555640655,3555640653,3555640616,3555640638,3555640581,3555640579,3555640626,3555640651,3555640578,3555640594,3555640647,3555640635,3555640615,3555640634,3555640627,3555640646,3555640619,3555640642,3555640588,3555640650,3555640629,3555640610,3555640602,3555640611,3555640617,3555640582,3555640573,3555640598,3555640618,3555640589,3555640623,3555640637,3555640643,3555640609,3555640632,3555640624,3555640608,3555640622,3555640613,3555640628,3555640645,3555640519,3555640562,3555640489,3555640567,3555640517,3555640503,3555640508,3555640526,3555640559,3555640534,3555640560,3555640563,3555640510,3555640531,3555640518,3555640547,3555640512,3555640501,3555640557,3555640514,3555640561,3555640490,3555640504,3555640521,3555640511,3555640495,3555640542,3555640507,3555640502,3555640498,3555640564,3555640524,3555640552,3555640548,3555640505,3555640509,3555640485,3555640494,3555640497,3555640528,3555640500,3555640486,3555640539,3555640483,3555640496,3555640493,3555640506,3555640499,3555640488,3555640546,3555640482,3555640487,3555640541,3555640515,3555640523,3555640538,3555640491,3555640522,3555640492,3555640532,3555640551,3555640520,3555640535,3555640513,3555640566,3555640544,3555640516,3555640554,3555640558,3555640555,3555640484,3555640540,3555640570,3555640553,3555640529,3555640537,3555640571,3555640525,3555640545,3555640543,3555640568,3555640569,3555640527,3555640533,3555640536,3555640556,3555640550,3555640549,3555640530,3555640565,3555640476,3555640419,3555640421,3555640451,3555640439,3555640432,3555640429,3555640465,3555640475,3555640457,3555640469,3555640472,3555640449,3555640454,3555640479,3555640464,3555640480,3555640462,3555640474,3555640425,3555640430,3555640443,3555640456,3555640424,3555640440,3555640434,3555640452,3555640422,3555640441,3555640426,3555640431,3555640418,3555640463,3555640470,3555640442,3555640478,3555640420,3555640453,3555640455,3555640448,3555640445,3555640416,3555640433,3555640415,3555640428,3555640423,3555640473,3555640471,3555640481,3555640446,3555640459,3555640477,3555640458,3555640461,3555640436,3555640417,3555640467,3555640460,3555640427,3555640438,3555640444,3555640437,3555640468,3555640447,3555640450,3555640466,3555640435,3555640267,3555640257,3555640285,3555640280,3555640278,3555640309,3555640325,3555640329,3555640322,3555640293,3555640306,3555640270,3555640297,3555640299,3555640260,3555640320,3555640314,3555640296,3555640316,3555640259,3555640315,3555640304,3555640308,3555640271,3555640286,3555640324,3555640264,3555640261,3555640294,3555640301,3555640275,3555640268,3555640262,3555640265,3555640254,3555640310,3555640276,3555640272,3555640255,3555640258,3555640252,3555640266,3555640328,3555640326,3555640284,3555640253,3555640279,3555640287,3555640290,3555640256,3555640263,3555640311,3555640274,3555640318,3555640303,3555640281,3555640302,3555640289,3555640300,3555640291,3555640277,3555640283,3555640327,3555640295,3555640317,3555640282,3555640273,3555640307,3555640305,3555640292,3555640319,3555640323,3555640321,3555640330,3555640298,3555640288,3555640269,3555640313,3555640312,3555639888,3555639871,3555639852,3555639906,3555639915,3555639912,3555639910,3555639905,3555639874,3555639893,3555639854,3555639897,3555639872,3555639924,3555639883,3555639908,3555639891,3555639919,3555639922,3555639861,3555639869,3555639866,3555639913,3555639917,3555639873,3555639930,3555639902,3555639894,3555639879,3555639918,3555639926,3555639864,3555639858,3555639881,3555639892,3555639928,3555639921,3555639884,3555639899,3555639856,3555639860,3555639900,3555639889,3555639911,3555639849,3555639865,3555639932,3555639885,3555639862,3555639903,3555639925,3555639901,3555639927,3555639857,3555639909,3555639850,3555639907,3555639863,3555639929,3555639896,3555639887,3555639870,3555639851,3555639923,3555639890,3555639931,3555639853,3555639859,3555639904,3555639914,3555639877,3555639880,3555639867,3555639876,3555639886,3555639855,3555639878,3555639916,3555639895,3555639868,3555639920,3555639875,3555639882,3555639898,3555639581,3555639560,3555639600,3555639594,3555639526,3555639549,3555639545,3555639535,3555639561,3555639554,3555639563,3555639529,3555639542,3555639524,3555639567,3555639530,3555639612,3555639575,3555639571,3555639534,3555639584,3555639574,3555639558,3555639587,3555639572,3555639568,3555639556,3555639555,3555639598,3555639536,3555639533,3555639605,3555639611,3555639610,3555639582,3555639566,3555639590,3555639562,3555639588,3555639577,3555639523,3555639525,3555639589,3555639606,3555639531,3555639596,3555639602,3555639573,3555639557,3555639601,3555639609,3555639540,3555639591,3555639552,3555639522,3555639528,3555639603,3555639578,3555639553,3555639564,3555639543,3555639541,3555639597,3555639592,3555639580,3555639599,3555639576,3555639538,3555639585,3555639595,3555639539,3555639548,3555639593,3555639583,3555639565,3555639551,3555639550,3555639532,3555639608,3555639527,3555639579,3555639586,3555639570,3555639607,3555639604,3555639537,3555639547,3555639559,3555639569,3555639544,3555639546,3555639613,3555639428,3555639375,3555639455,3555639386,3555639458,3555639419,3555639393,3555639414,3555639445,3555639440,3555639436,3555639457,3555639418,3555639431,3555639426,3555639443,3555639442,3555639381,3555639421,3555639463,3555639376,3555639424,3555639454,3555639391,3555639409,3555639416,3555639410,3555639382,3555639387,3555639407,3555639411,3555639372,3555639399,3555639389,3555639378,3555639390,3555639430,3555639394,3555639400,3555639396,3555639425,3555639373,3555639406,3555639379,3555639405,3555639433,3555639429,3555639401,3555639402,3555639370,3555639371,3555639377,3555639404,3555639380,3555639408,3555639385,3555639456,3555639417,3555639403,3555639432,3555639398,3555639461,3555639446,3555639427,3555639462,3555639444,3555639464,3555639392,3555639465,3555639422,3555639434,3555639437,3555639441,3555639435,3555639388,3555639448,3555639384,3555639397,3555639459,3555639438,3555639447,3555639374,3555639412,3555639395,3555639450,3555639415,3555639449,3555639420,3555639451,3555639460,3555639439,3555639453,3555639423,3555639383,3555639413,3555639452,3555639265,3555639251,3555639267,3555639232,3555639219,3555639262,3555639242,3555639263,3555639250,3555639226,3555639269,3555639243,3555639228,3555639270,3555639260,3555639222,3555639271,3555639236,3555639252,3555639258,3555639220,3555639259,3555639238,3555639254,3555639264,3555639257,3555639273,3555639235,3555639241,3555639225,3555639216,3555639249,3555639229,3555639277,3555639230,3555639224,3555639239,3555639253,3555639268,3555639217,3555639276,3555639221,3555639231,3555639218,3555639234,3555639266,3555639246,3555639233,3555639223,3555639237,3555639247,3555639274,3555639244,3555639240,3555639261,3555639256,3555639227,3555639275,3555639272,3555639245,3555639255,3555639248,3555638824,3555638818,3555638829,3555638871,3555638833,3555638847,3555638880,3555638817,3555638858,3555638819,3555638881,3555638860,3555638885,3555638882,3555638822,3555638839,3555638878,3555638863,3555638886,3555638884,3555638826,3555638872,3555638852,3555638864,3555638867,3555638816,3555638846,3555638835,3555638859,3555638875,3555638812,3555638810,3555638832,3555638877,3555638813,3555638808,3555638862,3555638809,3555638849,3555638854,3555638811,3555638853,3555638879,3555638815,3555638814,3555638807,3555638850,3555638806,3555638848,3555638845,3555638873,3555638842,3555638861,3555638836,3555638870,3555638838,3555638868,3555638865,3555638825,3555638844,3555638827,3555638823,3555638821,3555638820,3555638883,3555638855,3555638851,3555638830,3555638874,3555638841,3555638834,3555638869,3555638856,3555638857,3555638876,3555638831,3555638840,3555638828,3555638837,3555638843,3555638866) begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 18694047, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689360; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =18694047 and b.mtr_portfolio_id = 18689360; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 11609174, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18689360; update MTRUser.mtr_portfolio_photos as a inner join MTRUser.mtr_portfolio_photos as b on a.mtr_photo_id = b.mtr_photo_id set a.hide_status = b.hide_status where a.mtr_portfolio_id =11609174 and b.mtr_portfolio_id = 18689360; UPDATE MTRPhoto.mtr_port_to_port_ids set last_updated_at_asc=NOW(), updated_at=NOW() WHERE id in (11676546,11676547,11676548,11676549,11676550,11676555,11676557,11676558,11676559,11676560,11676561,11676562,11676564,11676565,11676567,11676568,11676569,11676570,11676571); UPDATE MTRPhoto.mtr_port_to_port_ids set last_updated_at_asc=NOW(), updated_at=NOW() WHERE id in (11680853,11680854,11680855,11680856,11680857,11680860,11680862,11680863,11680864,11680865,11680866,11680867,11680868,11680869,11680858,11680870,11680871,11680859,11680861); UPDATE MTRPhoto.mtr_port_to_port_ids set last_updated_at_asc=NOW(), updated_at=NOW() WHERE id in (5732902,5732903,5732904,5732905,5732906,5732909,5732911,5732912,5732913,5732914,5732915,5732916,5732917,5732918,5732907,7242867,7242868,5732908,5732910); To test ! Use context local managing function ! After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : consolidate_hashtags_from_manual_portfolio we use saveGeneral [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] map_info['map_portfolio_photo'] : {18668048: [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865]} final : False mtd_id 4742 list_pids : [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] Looping around the photos to save general results len do output : 6 /Tassign value string error string indices must be integers invalid literal for int() with base 10: 'T' begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4742', '18668048', '1318953900', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953899', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953897', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953895', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953892', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953876', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953874', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953871', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953870', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953867', '0', '0', '-1.0', '501120777', '1.0', '2552104'), ('4742', '18668048', '1318953865', '0', '0', '-1.0', '501120777', '1.0', '2552104')] time used for this insertion : 0.01302194595336914 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.856643915176392 time spend to save output : 0.013231992721557617 total time spend for step 2 : 11.86987590789795 step3:rle_unique_nms_with_priority Wed Feb 5 15:26:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg'] We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :11, first value : ['temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg'] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} Begin step rle-unique-nms on traite la photo : temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg on traite la photo : temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg on traite la photo : temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg on traite la photo : temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg on traite la photo : temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg on traite la photo : temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg on traite la photo : temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg on traite la photo : temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg on traite la photo : temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg on traite la photo : temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg on traite la photo : temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1318953900,1318953899,1318953897,1318953895,1318953892,1318953876,1318953874,1318953871,1318953870,1318953867,1318953865) and `type` in (4857) and hashtag_id in (493012381,2107760329,605975549,492626781,1608424396,530726390,492631919,494789423,2107761555,492741797,2107761554,2107760238,628944319,2107755846,492628673,492774966,492668766) Loaded 489 chid ids of type : 4857 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3555672490,3555672491,3555672492,3555672493,3555672494,3555672495,3555672496,3555672497,3555672737,3555672831,3555672832,3555672833,3555672828,3555672834,3555672835,3555672836,3555672846,3555672837,3555672838,3555672839,3555672847,3555672829,3555672840,3555672830,3555672841,3555672842,3555672843,3555672844,3555672845,3555672498,3555672499,3555672500,3555672501,3555672502,3555672503,3555672504,3555672505,3555672506,3555672507,3555672508,3555672509,3555672510,3555672511,3555673145,3555673108,3555673107,3555673109,3555673106,3555673110,3555673111,3555673193,3555673192,3555673488,3555673489,3555673515,3555673514,3555672747,3555672849,3555672850,3555672867,3555672868,3555672851,3555672852,3555672853,3555672854,3555672855,3555672856,3555672857,3555672858,3555672869,3555672859,3555672860,3555672861,3555672743,3555672862,3555672848,3555672866,3555672863,3555672864,3555672865,3555672512,3555672513,3555672514,3555672515,3555672516,3555672517,3555672518,3555672519,3555673146,3555673114,3555673112,3555673115,3555673113,3555673195,3555673196,3555673194,3555673490,3555673491,3555673516,3555673517,3555672742,3555672756,3555672759,3555672751,3555672757,3555672758,3555672871,3555672872,3555672873,3555672874,3555672875,3555672876,3555672877,3555672882,3555672878,3555672879,3555672870,3555672880,3555672752,3555672753,3555672881,3555672520,3555672521,3555672522,3555672523,3555672524,3555672525,3555672526,3555672527,3555673116,3555673117,3555673118,3555673197,3555672748,3555672754,3555673492,3555673493,3555672755,3555673494,3555673518,3555673519,3555673520,3555672760,3555672770,3555672764,3555672765,3555672888,3555672889,3555672890,3555672896,3555672769,3555672897,3555672891,3555672898,3555672892,3555672895,3555672763,3555672887,3555672884,3555672885,3555672886,3555672893,3555672894,3555672883,3555672528,3555672529,3555672530,3555672531,3555672532,3555672533,3555672534,3555672535,3555672536,3555672537,3555672538,3555672539,3555672540,3555672541,3555672542,3555672543,3555673120,3555673119,3555673121,3555673496,3555673495,3555673497,3555673521,3555673522,3555672901,3555672902,3555672903,3555672904,3555672905,3555672906,3555672772,3555672907,3555672908,3555672912,3555672909,3555672778,3555672913,3555672899,3555672910,3555672775,3555672911,3555672900,3555672544,3555672545,3555672546,3555672547,3555672548,3555672549,3555672550,3555672551,3555672552,3555672553,3555672554,3555672555,3555672556,3555672557,3555672558,3555672559,3555673142,3555673122,3555673123,3555673124,3555673199,3555673198,3555673148,3555672779,3555673502,3555673498,3555673499,3555673501,3555673500,3555673523,3555673525,3555673526,3555673524,3555673104,3555673103,3555672787,3555672784,3555672915,3555672916,3555672917,3555672918,3555672919,3555672914,3555672920,3555672921,3555672930,3555672922,3555672923,3555672924,3555672925,3555672926,3555672927,3555672931,3555672780,3555672928,3555672786,3555672929,3555672560,3555672561,3555672562,3555672563,3555672564,3555672565,3555672566,3555672567,3555672568,3555672569,3555672570,3555672782,3555673144,3555673143,3555673125,3555673126,3555673127,3555673128,3555673200,3555673201,3555673147,3555673503,3555673505,3555673504,3555673527,3555673528,3555673529,3555672789,3555672790,3555672791,3555672793,3555672794,3555672796,3555672801,3555672799,3555672936,3555672937,3555672938,3555672933,3555672939,3555672940,3555672941,3555672942,3555672934,3555672943,3555672944,3555672935,3555672932,3555672945,3555672946,3555672947,3555672954,3555672795,3555672948,3555672953,3555672949,3555672950,3555672951,3555672952,3555672571,3555672572,3555672573,3555672574,3555672575,3555672576,3555672577,3555672578,3555672579,3555672580,3555672581,3555672582,3555672583,3555672584,3555672585,3555672586,3555672587,3555672588,3555672589,3555672590,3555673129,3555673130,3555673131,3555673507,3555673508,3555673506,3555673530,3555672802,3555672804,3555672806,3555672808,3555672958,3555672959,3555672955,3555672956,3555672960,3555672967,3555672961,3555672962,3555672963,3555672807,3555672957,3555672964,3555672809,3555672965,3555672966,3555672691,3555672692,3555672693,3555672694,3555672695,3555672696,3555672697,3555672698,3555672699,3555672700,3555672701,3555672702,3555673132,3555673133,3555673509,3555673531,3555673532,3555672812,3555672813,3555672814,3555672815,3555672816,3555672818,3555672968,3555672975,3555672976,3555672977,3555672969,3555672970,3555672978,3555672971,3555672983,3555672979,3555672972,3555672973,3555672980,3555672984,3555672981,3555672982,3555672974,3555672819,3555672703,3555672704,3555672705,3555672706,3555672707,3555672708,3555672709,3555672710,3555672711,3555672712,3555672713,3555672714,3555672715,3555672716,3555672717,3555672718,3555672719,3555672720,3555673135,3555673134,3555673136,3555673137,3555673202,3555673203,3555673149,3555672817,3555673150,3555673510,3555673511,3555673512,3555673105,3555672820,3555672821,3555672822,3555672826,3555672823,3555672825,3555672986,3555673002,3555672993,3555672994,3555672987,3555672995,3555672985,3555672996,3555672997,3555672988,3555672989,3555672998,3555672999,3555673000,3555672990,3555672991,3555673001,3555672827,3555672824,3555672992,3555672721,3555672722,3555672723,3555672724,3555672725,3555672726,3555672727,3555672728,3555672729,3555672730,3555672731,3555672732,3555672733,3555672734,3555673138,3555673139,3555673140,3555673141,3555673151,3555673152,3555673153,3555673513,3555673533) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3555672490,3555672491,3555672492,3555672493,3555672494,3555672495,3555672496,3555672497,3555672737,3555672831,3555672832,3555672833,3555672828,3555672834,3555672835,3555672836,3555672846,3555672837,3555672838,3555672839,3555672847,3555672829,3555672840,3555672830,3555672841,3555672842,3555672843,3555672844,3555672845,3555672498,3555672499,3555672500,3555672501,3555672502,3555672503,3555672504,3555672505,3555672506,3555672507,3555672508,3555672509,3555672510,3555672511,3555673145,3555673108,3555673107,3555673109,3555673106,3555673110,3555673111,3555673193,3555673192,3555673488,3555673489,3555673515,3555673514,3555672747,3555672849,3555672850,3555672867,3555672868,3555672851,3555672852,3555672853,3555672854,3555672855,3555672856,3555672857,3555672858,3555672869,3555672859,3555672860,3555672861,3555672743,3555672862,3555672848,3555672866,3555672863,3555672864,3555672865,3555672512,3555672513,3555672514,3555672515,3555672516,3555672517,3555672518,3555672519,3555673146,3555673114,3555673112,3555673115,3555673113,3555673195,3555673196,3555673194,3555673490,3555673491,3555673516,3555673517,3555672742,3555672756,3555672759,3555672751,3555672757,3555672758,3555672871,3555672872,3555672873,3555672874,3555672875,3555672876,3555672877,3555672882,3555672878,3555672879,3555672870,3555672880,3555672752,3555672753,3555672881,3555672520,3555672521,3555672522,3555672523,3555672524,3555672525,3555672526,3555672527,3555673116,3555673117,3555673118,3555673197,3555672748,3555672754,3555673492,3555673493,3555672755,3555673494,3555673518,3555673519,3555673520,3555672760,3555672770,3555672764,3555672765,3555672888,3555672889,3555672890,3555672896,3555672769,3555672897,3555672891,3555672898,3555672892,3555672895,3555672763,3555672887,3555672884,3555672885,3555672886,3555672893,3555672894,3555672883,3555672528,3555672529,3555672530,3555672531,3555672532,3555672533,3555672534,3555672535,3555672536,3555672537,3555672538,3555672539,3555672540,3555672541,3555672542,3555672543,3555673120,3555673119,3555673121,3555673496,3555673495,3555673497,3555673521,3555673522,3555672901,3555672902,3555672903,3555672904,3555672905,3555672906,3555672772,3555672907,3555672908,3555672912,3555672909,3555672778,3555672913,3555672899,3555672910,3555672775,3555672911,3555672900,3555672544,3555672545,3555672546,3555672547,3555672548,3555672549,3555672550,3555672551,3555672552,3555672553,3555672554,3555672555,3555672556,3555672557,3555672558,3555672559,3555673142,3555673122,3555673123,3555673124,3555673199,3555673198,3555673148,3555672779,3555673502,3555673498,3555673499,3555673501,3555673500,3555673523,3555673525,3555673526,3555673524,3555673104,3555673103,3555672787,3555672784,3555672915,3555672916,3555672917,3555672918,3555672919,3555672914,3555672920,3555672921,3555672930,3555672922,3555672923,3555672924,3555672925,3555672926,3555672927,3555672931,3555672780,3555672928,3555672786,3555672929,3555672560,3555672561,3555672562,3555672563,3555672564,3555672565,3555672566,3555672567,3555672568,3555672569,3555672570,3555672782,3555673144,3555673143,3555673125,3555673126,3555673127,3555673128,3555673200,3555673201,3555673147,3555673503,3555673505,3555673504,3555673527,3555673528,3555673529,3555672789,3555672790,3555672791,3555672793,3555672794,3555672796,3555672801,3555672799,3555672936,3555672937,3555672938,3555672933,3555672939,3555672940,3555672941,3555672942,3555672934,3555672943,3555672944,3555672935,3555672932,3555672945,3555672946,3555672947,3555672954,3555672795,3555672948,3555672953,3555672949,3555672950,3555672951,3555672952,3555672571,3555672572,3555672573,3555672574,3555672575,3555672576,3555672577,3555672578,3555672579,3555672580,3555672581,3555672582,3555672583,3555672584,3555672585,3555672586,3555672587,3555672588,3555672589,3555672590,3555673129,3555673130,3555673131,3555673507,3555673508,3555673506,3555673530,3555672802,3555672804,3555672806,3555672808,3555672958,3555672959,3555672955,3555672956,3555672960,3555672967,3555672961,3555672962,3555672963,3555672807,3555672957,3555672964,3555672809,3555672965,3555672966,3555672691,3555672692,3555672693,3555672694,3555672695,3555672696,3555672697,3555672698,3555672699,3555672700,3555672701,3555672702,3555673132,3555673133,3555673509,3555673531,3555673532,3555672812,3555672813,3555672814,3555672815,3555672816,3555672818,3555672968,3555672975,3555672976,3555672977,3555672969,3555672970,3555672978,3555672971,3555672983,3555672979,3555672972,3555672973,3555672980,3555672984,3555672981,3555672982,3555672974,3555672819,3555672703,3555672704,3555672705,3555672706,3555672707,3555672708,3555672709,3555672710,3555672711,3555672712,3555672713,3555672714,3555672715,3555672716,3555672717,3555672718,3555672719,3555672720,3555673135,3555673134,3555673136,3555673137,3555673202,3555673203,3555673149,3555672817,3555673150,3555673510,3555673511,3555673512,3555673105,3555672820,3555672821,3555672822,3555672826,3555672823,3555672825,3555672986,3555673002,3555672993,3555672994,3555672987,3555672995,3555672985,3555672996,3555672997,3555672988,3555672989,3555672998,3555672999,3555673000,3555672990,3555672991,3555673001,3555672827,3555672824,3555672992,3555672721,3555672722,3555672723,3555672724,3555672725,3555672726,3555672727,3555672728,3555672729,3555672730,3555672731,3555672732,3555672733,3555672734,3555673138,3555673139,3555673140,3555673141,3555673151,3555673152,3555673153,3555673513,3555673533) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3555672490,3555672491,3555672492,3555672493,3555672494,3555672495,3555672496,3555672497,3555672737,3555672831,3555672832,3555672833,3555672828,3555672834,3555672835,3555672836,3555672846,3555672837,3555672838,3555672839,3555672847,3555672829,3555672840,3555672830,3555672841,3555672842,3555672843,3555672844,3555672845,3555672498,3555672499,3555672500,3555672501,3555672502,3555672503,3555672504,3555672505,3555672506,3555672507,3555672508,3555672509,3555672510,3555672511,3555673145,3555673108,3555673107,3555673109,3555673106,3555673110,3555673111,3555673193,3555673192,3555673488,3555673489,3555673515,3555673514,3555672747,3555672849,3555672850,3555672867,3555672868,3555672851,3555672852,3555672853,3555672854,3555672855,3555672856,3555672857,3555672858,3555672869,3555672859,3555672860,3555672861,3555672743,3555672862,3555672848,3555672866,3555672863,3555672864,3555672865,3555672512,3555672513,3555672514,3555672515,3555672516,3555672517,3555672518,3555672519,3555673146,3555673114,3555673112,3555673115,3555673113,3555673195,3555673196,3555673194,3555673490,3555673491,3555673516,3555673517,3555672742,3555672756,3555672759,3555672751,3555672757,3555672758,3555672871,3555672872,3555672873,3555672874,3555672875,3555672876,3555672877,3555672882,3555672878,3555672879,3555672870,3555672880,3555672752,3555672753,3555672881,3555672520,3555672521,3555672522,3555672523,3555672524,3555672525,3555672526,3555672527,3555673116,3555673117,3555673118,3555673197,3555672748,3555672754,3555673492,3555673493,3555672755,3555673494,3555673518,3555673519,3555673520,3555672760,3555672770,3555672764,3555672765,3555672888,3555672889,3555672890,3555672896,3555672769,3555672897,3555672891,3555672898,3555672892,3555672895,3555672763,3555672887,3555672884,3555672885,3555672886,3555672893,3555672894,3555672883,3555672528,3555672529,3555672530,3555672531,3555672532,3555672533,3555672534,3555672535,3555672536,3555672537,3555672538,3555672539,3555672540,3555672541,3555672542,3555672543,3555673120,3555673119,3555673121,3555673496,3555673495,3555673497,3555673521,3555673522,3555672901,3555672902,3555672903,3555672904,3555672905,3555672906,3555672772,3555672907,3555672908,3555672912,3555672909,3555672778,3555672913,3555672899,3555672910,3555672775,3555672911,3555672900,3555672544,3555672545,3555672546,3555672547,3555672548,3555672549,3555672550,3555672551,3555672552,3555672553,3555672554,3555672555,3555672556,3555672557,3555672558,3555672559,3555673142,3555673122,3555673123,3555673124,3555673199,3555673198,3555673148,3555672779,3555673502,3555673498,3555673499,3555673501,3555673500,3555673523,3555673525,3555673526,3555673524,3555673104,3555673103,3555672787,3555672784,3555672915,3555672916,3555672917,3555672918,3555672919,3555672914,3555672920,3555672921,3555672930,3555672922,3555672923,3555672924,3555672925,3555672926,3555672927,3555672931,3555672780,3555672928,3555672786,3555672929,3555672560,3555672561,3555672562,3555672563,3555672564,3555672565,3555672566,3555672567,3555672568,3555672569,3555672570,3555672782,3555673144,3555673143,3555673125,3555673126,3555673127,3555673128,3555673200,3555673201,3555673147,3555673503,3555673505,3555673504,3555673527,3555673528,3555673529,3555672789,3555672790,3555672791,3555672793,3555672794,3555672796,3555672801,3555672799,3555672936,3555672937,3555672938,3555672933,3555672939,3555672940,3555672941,3555672942,3555672934,3555672943,3555672944,3555672935,3555672932,3555672945,3555672946,3555672947,3555672954,3555672795,3555672948,3555672953,3555672949,3555672950,3555672951,3555672952,3555672571,3555672572,3555672573,3555672574,3555672575,3555672576,3555672577,3555672578,3555672579,3555672580,3555672581,3555672582,3555672583,3555672584,3555672585,3555672586,3555672587,3555672588,3555672589,3555672590,3555673129,3555673130,3555673131,3555673507,3555673508,3555673506,3555673530,3555672802,3555672804,3555672806,3555672808,3555672958,3555672959,3555672955,3555672956,3555672960,3555672967,3555672961,3555672962,3555672963,3555672807,3555672957,3555672964,3555672809,3555672965,3555672966,3555672691,3555672692,3555672693,3555672694,3555672695,3555672696,3555672697,3555672698,3555672699,3555672700,3555672701,3555672702,3555673132,3555673133,3555673509,3555673531,3555673532,3555672812,3555672813,3555672814,3555672815,3555672816,3555672818,3555672968,3555672975,3555672976,3555672977,3555672969,3555672970,3555672978,3555672971,3555672983,3555672979,3555672972,3555672973,3555672980,3555672984,3555672981,3555672982,3555672974,3555672819,3555672703,3555672704,3555672705,3555672706,3555672707,3555672708,3555672709,3555672710,3555672711,3555672712,3555672713,3555672714,3555672715,3555672716,3555672717,3555672718,3555672719,3555672720,3555673135,3555673134,3555673136,3555673137,3555673202,3555673203,3555673149,3555672817,3555673150,3555673510,3555673511,3555673512,3555673105,3555672820,3555672821,3555672822,3555672826,3555672823,3555672825,3555672986,3555673002,3555672993,3555672994,3555672987,3555672995,3555672985,3555672996,3555672997,3555672988,3555672989,3555672998,3555672999,3555673000,3555672990,3555672991,3555673001,3555672827,3555672824,3555672992,3555672721,3555672722,3555672723,3555672724,3555672725,3555672726,3555672727,3555672728,3555672729,3555672730,3555672731,3555672732,3555672733,3555672734,3555673138,3555673139,3555673140,3555673141,3555673151,3555673152,3555673153,3555673513,3555673533) seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 69 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031744956970214844 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 70 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03152179718017578 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 57 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03013134002685547 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 90 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03310656547546387 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 77 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03214836120605469 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 63 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031740665435791016 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 70 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033121585845947266 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 54 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03110218048095703 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 73 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03313493728637695 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 73 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03190279006958008 seulement à utiliser dans la step consolidation insert ignore into MTRPhoto.crop_hashtag_ids (photo_id, hashtag_id, `type`,x0,x1,y0,y1,score) VALUES (%s,%s,%s,%s,%s,%s,%s,%s) batch 1 Loaded 10 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02658534049987793 INSERT IGNORE INTO MTRPhoto.photo_carac_ratio (`photo_id`, `hashtag_type`, `hashtag_id`, `ratio`) VALUES (%s, %s, %s, %s) on duplicate key update `ratio` = VALUES(`ratio`) map_output_result : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} End step rle-unique-nms After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] map_info['map_portfolio_photo'] : {18668048: [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865]} final : False mtd_id 4742 list_pids : [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] Looping around the photos to save general results len do output : 11 /1318953900.Didn't retrieve data . /1318953899.Didn't retrieve data . /1318953897.Didn't retrieve data . /1318953895.Didn't retrieve data . /1318953892.Didn't retrieve data . /1318953876.Didn't retrieve data . /1318953874.Didn't retrieve data . /1318953871.Didn't retrieve data . /1318953870.Didn't retrieve data . /1318953867.Didn't retrieve data . /1318953865.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953900', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4742', '18668048', '1318953900', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953899', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953897', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953895', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953892', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953876', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953874', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953871', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953870', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953867', '0.13353415136089464', None, None, None, None, '2552104'), ('4742', '18668048', '1318953865', '0.13353415136089464', None, None, None, None, '2552104')] time used for this insertion : 0.01482081413269043 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.3196773529052734 time spend to save output : 0.01534271240234375 total time spend for step 3 : 2.335020065307617 step4:ventilate_hashtags_in_portfolio Wed Feb 5 15:26:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 18668048 get user id for portfolio 18668048 get sub ptf for main ptf 18668048, type 4857 and hashtags ['papier', 'carton', 'metal', 'pet_clair', 'pehd', 'flux_dev', 'film_dev_souple', 'ela', 'sac_om_plein', 'textiles', 'verre', 'organique', 'dasri', 'masque', 'encombrant', 'autre_non_emballage', 'environnement', 'mal_croppe', 'flou', 'pet_fonce', 'pet_opaque', 'barquette_opaque', 'film_plastique', 'autre_emballage', 'sac'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=18668048 AND mptpi.`type`=4857 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','flux_dev','film_dev_souple','ela','sac_om_plein','textiles','verre','organique','dasri','masque','encombrant','autre_non_emballage','environnement','mal_croppe','flou','pet_fonce','pet_opaque','barquette_opaque','film_plastique','autre_emballage','sac')) AND mptpi.`min_score`=0.1 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=18668048 AND mptpi.`type`=4857 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','flux_dev','film_dev_souple','ela','sac_om_plein','textiles','verre','organique','dasri','masque','encombrant','autre_non_emballage','environnement','mal_croppe','flou','pet_fonce','pet_opaque','barquette_opaque','film_plastique','autre_emballage','sac')) AND mptpi.`min_score`=0.1 To do returned map {'papier': {'main_port_id': 18668048, 'sub_port_id': 18694039, 'hashtag': 'papier', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680853, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'carton': {'main_port_id': 18668048, 'sub_port_id': 18694040, 'hashtag': 'carton', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680854, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'metal': {'main_port_id': 18668048, 'sub_port_id': 18694041, 'hashtag': 'metal', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680855, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'pet_clair': {'main_port_id': 18668048, 'sub_port_id': 18694042, 'hashtag': 'pet_clair', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680856, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'pehd': {'main_port_id': 18668048, 'sub_port_id': 18694043, 'hashtag': 'pehd', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680857, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'flux_dev': {'main_port_id': 18668048, 'sub_port_id': 18694044, 'hashtag': 'flux_dev', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680858, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'film_dev_souple': {'main_port_id': 18668048, 'sub_port_id': 18694045, 'hashtag': 'film_dev_souple', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680859, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'ela': {'main_port_id': 18668048, 'sub_port_id': 18694046, 'hashtag': 'ela', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680860, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'sac_om_plein': {'main_port_id': 18668048, 'sub_port_id': 18694047, 'hashtag': 'sac_om_plein', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680861, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'textiles': {'main_port_id': 18668048, 'sub_port_id': 18694048, 'hashtag': 'textiles', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680862, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'verre': {'main_port_id': 18668048, 'sub_port_id': 18694049, 'hashtag': 'verre', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680863, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'organique': {'main_port_id': 18668048, 'sub_port_id': 18694050, 'hashtag': 'organique', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680864, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'dasri': {'main_port_id': 18668048, 'sub_port_id': 18694051, 'hashtag': 'dasri', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680865, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'masque': {'main_port_id': 18668048, 'sub_port_id': 18694052, 'hashtag': 'masque', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680866, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'encombrant': {'main_port_id': 18668048, 'sub_port_id': 18694053, 'hashtag': 'encombrant', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680867, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'autre_non_emballage': {'main_port_id': 18668048, 'sub_port_id': 18694054, 'hashtag': 'autre_non_emballage', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680868, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'environnement': {'main_port_id': 18668048, 'sub_port_id': 18694055, 'hashtag': 'environnement', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680869, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'mal_croppe': {'main_port_id': 18668048, 'sub_port_id': 18694056, 'hashtag': 'mal_croppe', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680870, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'flou': {'main_port_id': 18668048, 'sub_port_id': 18694057, 'hashtag': 'flou', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680871, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'pet_fonce': {'main_port_id': 18668048, 'sub_port_id': 18694058, 'hashtag': 'pet_fonce', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680872, 'last_updated_at': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 12, 41, 12)}, 'pet_opaque': {'main_port_id': 18668048, 'sub_port_id': 18694059, 'hashtag': 'pet_opaque', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680873, 'last_updated_at': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 12, 41, 12)}, 'barquette_opaque': {'main_port_id': 18668048, 'sub_port_id': 18694060, 'hashtag': 'barquette_opaque', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680874, 'last_updated_at': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 12, 41, 12)}, 'film_plastique': {'main_port_id': 18668048, 'sub_port_id': 18694061, 'hashtag': 'film_plastique', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680875, 'last_updated_at': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 12, 41, 12)}, 'autre_emballage': {'main_port_id': 18668048, 'sub_port_id': 18694062, 'hashtag': 'autre_emballage', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680876, 'last_updated_at': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 12, 41, 12)}, 'sac': {'main_port_id': 18668048, 'sub_port_id': 18694063, 'hashtag': 'sac', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11680877, 'last_updated_at': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 12, 41, 12)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694039 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694040 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='carton' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694041 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694042 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='pet_clair' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694043 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='pehd' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694044 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flux_dev' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694045 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='film_dev_souple' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694046 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='ela' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694047 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='sac_om_plein' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694048 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='textiles' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694049 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='verre' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694050 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='organique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694051 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='dasri' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694052 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='masque' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694053 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='encombrant' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694054 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_non_emballage' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694055 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694056 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694057 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694058 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='pet_fonce' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694059 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='pet_opaque' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694060 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='barquette_opaque' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694061 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='film_plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694062 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_emballage' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 18694063 , sub_photo_id, 775,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=18668048 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.1 AND chi.type=4857 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='sac' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=18668048 AND mptpi.`type`=4856 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','flux_dev','film_dev_souple','ela','sac_om_plein','textiles','verre','organique','dasri','masque','encombrant','autre_non_emballage','environnement','mal_croppe','flou','pet_fonce','pet_opaque','barquette_opaque','film_plastique','autre_emballage','sac')) AND mptpi.`min_score`=0.1 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=18668048 AND mptpi.`type`=4856 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','metal','pet_clair','pehd','flux_dev','film_dev_souple','ela','sac_om_plein','textiles','verre','organique','dasri','masque','encombrant','autre_non_emballage','environnement','mal_croppe','flou','pet_fonce','pet_opaque','barquette_opaque','film_plastique','autre_emballage','sac')) AND mptpi.`min_score`=0.1 To do returned map {'papier': {'main_port_id': 18668048, 'sub_port_id': 18689335, 'hashtag': 'papier', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676546, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'carton': {'main_port_id': 18668048, 'sub_port_id': 18689336, 'hashtag': 'carton', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676547, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'metal': {'main_port_id': 18668048, 'sub_port_id': 18689337, 'hashtag': 'metal', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676548, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'pet_clair': {'main_port_id': 18668048, 'sub_port_id': 18689338, 'hashtag': 'pet_clair', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676549, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'pehd': {'main_port_id': 18668048, 'sub_port_id': 18689339, 'hashtag': 'pehd', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676550, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'pet_fonce': {'main_port_id': 18668048, 'sub_port_id': 18689340, 'hashtag': 'pet_fonce', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676551, 'last_updated_at': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 10, 34, 49)}, 'pet_opaque': {'main_port_id': 18668048, 'sub_port_id': 18689341, 'hashtag': 'pet_opaque', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676552, 'last_updated_at': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 10, 34, 49)}, 'barquette_opaque': {'main_port_id': 18668048, 'sub_port_id': 18689342, 'hashtag': 'barquette_opaque', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676553, 'last_updated_at': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 10, 34, 49)}, 'film_plastique': {'main_port_id': 18668048, 'sub_port_id': 18689343, 'hashtag': 'film_plastique', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676554, 'last_updated_at': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 10, 34, 49)}, 'ela': {'main_port_id': 18668048, 'sub_port_id': 18689344, 'hashtag': 'ela', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676555, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'sac': {'main_port_id': 18668048, 'sub_port_id': 18689345, 'hashtag': 'sac', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676556, 'last_updated_at': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 10, 34, 49)}, 'textiles': {'main_port_id': 18668048, 'sub_port_id': 18689346, 'hashtag': 'textiles', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676557, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'verre': {'main_port_id': 18668048, 'sub_port_id': 18689347, 'hashtag': 'verre', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676558, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'organique': {'main_port_id': 18668048, 'sub_port_id': 18689348, 'hashtag': 'organique', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676559, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'dasri': {'main_port_id': 18668048, 'sub_port_id': 18689349, 'hashtag': 'dasri', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676560, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'masque': {'main_port_id': 18668048, 'sub_port_id': 18689350, 'hashtag': 'masque', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676561, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'encombrant': {'main_port_id': 18668048, 'sub_port_id': 18689351, 'hashtag': 'encombrant', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676562, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'autre_emballage': {'main_port_id': 18668048, 'sub_port_id': 18689352, 'hashtag': 'autre_emballage', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676563, 'last_updated_at': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2024, 11, 26, 10, 34, 49)}, 'autre_non_emballage': {'main_port_id': 18668048, 'sub_port_id': 18689353, 'hashtag': 'autre_non_emballage', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676564, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'environnement': {'main_port_id': 18668048, 'sub_port_id': 18689354, 'hashtag': 'environnement', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676565, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'flux_dev': {'main_port_id': 18668048, 'sub_port_id': 18689356, 'hashtag': 'flux_dev', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676567, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'mal_croppe': {'main_port_id': 18668048, 'sub_port_id': 18689357, 'hashtag': 'mal_croppe', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676568, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'flou': {'main_port_id': 18668048, 'sub_port_id': 18689358, 'hashtag': 'flou', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676569, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'film_dev_souple': {'main_port_id': 18668048, 'sub_port_id': 18689359, 'hashtag': 'film_dev_souple', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676570, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2024, 11, 26, 10, 34, 49), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}, 'sac_om_plein': {'main_port_id': 18668048, 'sub_port_id': 18689360, 'hashtag': 'sac_om_plein', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 11676571, 'last_updated_at': datetime.datetime(2025, 2, 5, 15, 26, 43), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 0, 18, 44), 'last_updated_at_asc': datetime.datetime(2025, 2, 5, 15, 26, 43)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689335,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694039 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689336,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694040 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689337,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694041 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689338,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694042 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689339,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694043 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689340,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694058 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689341,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694059 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689342,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694060 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689343,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694061 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689344,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694046 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689345,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694063 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689346,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694048 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689347,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694049 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689348,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694050 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689349,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694051 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689350,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694052 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689351,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694053 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689352,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694062 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689353,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694054 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689354,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694055 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689356,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694044 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689357,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694056 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689358,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694057 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689359,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694045 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 18689360,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 18694047 insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 18689356,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (18689340); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 18689356,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (18689341); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 18689356,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (18689342); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 18689359,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (18689343); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 18689360,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (18689345); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 18689356,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (18689352); lien utilise dans velours : https://www.fotonower.com/velours/18689335,18689336,18689337,18689338,18689339,18689344,18689346,18689347,18689348,18689349,18689350,18689351,18689353,18689354,18689356,18689357,18689358,18689359,18689360?tags=papier,carton,metal,pet_clair,pehd,ela,textiles,verre,organique,dasri,masque,encombrant,autre_non_emballage,environnement,flux_dev,mal_croppe,flou,film_dev_souple,sac_om_plein&datou_id_consolidate=4742&port_consolidate=18668048 After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] map_info['map_portfolio_photo'] : {18668048: [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865]} final : False mtd_id 4742 list_pids : [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] Looping around the photos to save general results len do output : 1 /18668048. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953900', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4742', None, '18668048', "{'papier': 18694039, 'carton': 18694040, 'metal': 18694041, 'pet_clair': 18694042, 'pehd': 18694043, 'flux_dev': 18694044, 'film_dev_souple': 18694045, 'ela': 18694046, 'sac_om_plein': 18694047, 'textiles': 18694048, 'verre': 18694049, 'organique': 18694050, 'dasri': 18694051, 'masque': 18694052, 'encombrant': 18694053, 'autre_non_emballage': 18694054, 'environnement': 18694055, 'mal_croppe': 18694056, 'flou': 18694057, 'pet_fonce': 18694058, 'pet_opaque': 18694059, 'barquette_opaque': 18694060, 'film_plastique': 18694061, 'autre_emballage': 18694062, 'sac': 18694063}", None, None, None, None, '2552104'), ('4742', '18668048', '1318953900', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104')] time used for this insertion : 0.013951301574707031 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5938208103179932 time spend to save output : 0.014216184616088867 total time spend for step 4 : 0.608036994934082 step5:final Wed Feb 5 15:26:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} input_args_next_step : {1318953900: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953900 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953899 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953897 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: (0.13353415136089464,), 1318953895: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953895 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: (0.13353415136089464,), 1318953895: (0.13353415136089464,), 1318953892: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953892 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: (0.13353415136089464,), 1318953895: (0.13353415136089464,), 1318953892: (0.13353415136089464,), 1318953876: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953876 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: (0.13353415136089464,), 1318953895: (0.13353415136089464,), 1318953892: (0.13353415136089464,), 1318953876: (0.13353415136089464,), 1318953874: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953874 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: (0.13353415136089464,), 1318953895: (0.13353415136089464,), 1318953892: (0.13353415136089464,), 1318953876: (0.13353415136089464,), 1318953874: (0.13353415136089464,), 1318953871: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953871 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: (0.13353415136089464,), 1318953895: (0.13353415136089464,), 1318953892: (0.13353415136089464,), 1318953876: (0.13353415136089464,), 1318953874: (0.13353415136089464,), 1318953871: (0.13353415136089464,), 1318953870: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953870 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: (0.13353415136089464,), 1318953895: (0.13353415136089464,), 1318953892: (0.13353415136089464,), 1318953876: (0.13353415136089464,), 1318953874: (0.13353415136089464,), 1318953871: (0.13353415136089464,), 1318953870: (0.13353415136089464,), 1318953867: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953867 depend.output_id : 0 input_args_next_step : {1318953900: (0.13353415136089464,), 1318953899: (0.13353415136089464,), 1318953897: (0.13353415136089464,), 1318953895: (0.13353415136089464,), 1318953892: (0.13353415136089464,), 1318953876: (0.13353415136089464,), 1318953874: (0.13353415136089464,), 1318953871: (0.13353415136089464,), 1318953870: (0.13353415136089464,), 1318953867: (0.13353415136089464,), 1318953865: ()} output_args : {1318953900: (0.13353415136089464, 'Should be the crop_list due to order', 0.1624773755369674), 1318953899: (0.13353415136089464, 'Should be the crop_list due to order', 0.11021508938709036), 1318953897: (0.13353415136089464, 'Should be the crop_list due to order', 0.17273527838481123), 1318953895: (0.13353415136089464, 'Should be the crop_list due to order', 0.017347978084111537), 1318953892: (0.13353415136089464, 'Should be the crop_list due to order', 0.3308962081468993), 1318953876: (0.13353415136089464, 'Should be the crop_list due to order', 0.12264261504578092), 1318953874: (0.13353415136089464, 'Should be the crop_list due to order', 0.059679010352396644), 1318953871: (0.13353415136089464, 'Should be the crop_list due to order', 0.0655491465548282), 1318953870: (0.13353415136089464, 'Should be the crop_list due to order', 0.2862789202686818), 1318953867: (0.13353415136089464, 'Should be the crop_list due to order', 0.14105404320827392), 1318953865: (0.13353415136089464, 'Should be the crop_list due to order', 0)} args : 1318953865 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :11, first value : (0.13353415136089464,) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} Beginning of datou step final ! SELECT completion_json FROM MTRPhoto.dashboard_results WHERE mtr_portfolio_id = 18668048 AND dashboard_run_id IN (SELECT last_run_id FROM MTRPhoto.dashboard_entry_day); query to retrieve results for portfolio 18668048 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 4857 and photo_id in (1318953867,1318953874,1318953892,1318953871,1318953870,1318953876,1318953900,1318953895,1318953897,1318953899); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : False verbose : True original output for save of step final : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} new output for save of step final : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] map_info['map_portfolio_photo'] : {18668048: [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865]} final : False mtd_id 4742 list_pids : [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] Looping around the photos to save general results len do output : 11 /1318953900.Didn't retrieve data . /1318953899.Didn't retrieve data . /1318953897.Didn't retrieve data . /1318953895.Didn't retrieve data . /1318953892.Didn't retrieve data . /1318953876.Didn't retrieve data . /1318953874.Didn't retrieve data . /1318953871.Didn't retrieve data . /1318953870.Didn't retrieve data . /1318953867.Didn't retrieve data . /1318953865.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953900', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4742', '18668048', '1318953900', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953899', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953897', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953895', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953892', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953876', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953874', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953871', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953870', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953867', '0.28420461612218884', None, None, None, None, '2552104'), ('4742', '18668048', '1318953865', '0.28420461612218884', None, None, None, None, '2552104')] time used for this insertion : 0.0135345458984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05380058288574219 time spend to save output : 0.014051437377929688 total time spend for step 5 : 0.06785202026367188 step6:blur_detection Wed Feb 5 15:26:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs score_blur_detection : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : False verbose : True select photo_hashtag_type from MTRDatou.classification_theme where id = 3523 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 11 insert into MTRPhoto.class_photo_score (thcl, photo_id, hashtag_id, score) values (%s,%s,%s,%s) on duplicate key update score = values(score) time used for this insertion : 0.008736371994018555 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 11 insert ignore into MTRBack.photo_hashtag_ids (photo_id, hashtag_id, type) values (%s,%s,%s) insert ignore into MTRBack.photo_hashtag_ids (photo_id, hashtag_id, type) values (%s,%s,%s) first line : ('1318953892', '492609224', '4570') ... last line : ('1318953865', '492688767', '4570') time used for this insertion : 0.014146804809570312 save missing photos in datou_result : time spend for datou_step_exec : 0.024707317352294922 time spend to save output : 0.027412891387939453 total time spend for step 6 : 0.052120208740234375 step7:brightness Wed Feb 5 15:26:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs brightness_score : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : False verbose : True select photo_hashtag_type from MTRDatou.classification_theme where id = 1154 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 11 insert into MTRPhoto.class_photo_score (thcl, photo_id, hashtag_id, score) values (%s,%s,%s,%s) on duplicate key update score = values(score) time used for this insertion : 0.009032249450683594 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 11 insert ignore into MTRBack.photo_hashtag_ids (photo_id, hashtag_id, type) values (%s,%s,%s) insert ignore into MTRBack.photo_hashtag_ids (photo_id, hashtag_id, type) values (%s,%s,%s) first line : ('1318953874', '2107752395', '1426') ... last line : ('1318953865', '501862349', '1426') time used for this insertion : 0.00873565673828125 save missing photos in datou_result : time spend for datou_step_exec : 0.02564382553100586 time spend to save output : 0.022171735763549805 total time spend for step 7 : 0.047815561294555664 step8:send_mail_cod Wed Feb 5 15:26:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} input_args_next_step : {1318953892: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953892 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953876 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953899 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953900 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953874 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224),), 1318953871: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953871 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224),), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953895 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224),), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953897 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224),), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953870 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224),), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953867 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224),), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945),), 1318953865: ()} output_args : {1318953892: [(1318953892, 3652.1410769254135, 492609224)], 1318953876: [(1318953876, 2982.7386137816634, 492609224)], 1318953899: [(1318953899, 2808.1912148606775, 492609224)], 1318953900: [(1318953900, 2693.283496779179, 492609224)], 1318953874: [(1318953874, 2419.2785576755514, 492609224)], 1318953871: [(1318953871, 2112.41585992763, 492609224)], 1318953895: [(1318953895, 1674.0207988332015, 2107751945)], 1318953897: [(1318953897, 981.9296061289838, 2107751945)], 1318953870: [(1318953870, 979.3129987827836, 2107751945)], 1318953867: [(1318953867, 978.9872230067788, 2107751945)], 1318953865: [(1318953865, 702.308533260916, 492688767)]} args : 1318953865 depend.output_id : 0 complete output_args for input 1 : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224),), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945),), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953874 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945),), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953867 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224),), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953892 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224),), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953899 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224),), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953871 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224),), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953900 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224),), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774)), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953876 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774)), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945),), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953895 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774)), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774)), 1318953897: ((1318953897, 981.9296061289838, 2107751945),), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953897 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774)), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774)), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774)), 1318953870: ((1318953870, 979.3129987827836, 2107751945),), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953870 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774)), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774)), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774)), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767),)} output_args : {1318953874: [(1318953874, -0.032469892939305224, 2107752395)], 1318953867: [(1318953867, -0.12849073123090707, 496442774)], 1318953892: [(1318953892, -0.15375548334569422, 496442774)], 1318953899: [(1318953899, -0.1888911147779689, 496442774)], 1318953871: [(1318953871, -0.251769474495807, 496442774)], 1318953900: [(1318953900, -0.2590808823275204, 496442774)], 1318953876: [(1318953876, -0.2664179309568651, 496442774)], 1318953895: [(1318953895, -0.29871228803281846, 496442774)], 1318953897: [(1318953897, -0.3514563381175297, 496442774)], 1318953870: [(1318953870, -0.41030551941622706, 496442774)], 1318953865: [(1318953865, -0.5458509917446254, 501862349)]} args : 1318953865 depend.output_id : 0 complete output_args for input 2 : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774)), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774)), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774)), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953900 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774)), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774)), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774)), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953899 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774)), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774)), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953897 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774)), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953895 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774)), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884'), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953892 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884'), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774)), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884'), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953876 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884'), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774), '0.28420461612218884'), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395)), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884'), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953874 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884'), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774), '0.28420461612218884'), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395), '0.28420461612218884'), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774)), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884'), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953871 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884'), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774), '0.28420461612218884'), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395), '0.28420461612218884'), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774), '0.28420461612218884'), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884'), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774)), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953870 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884'), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774), '0.28420461612218884'), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395), '0.28420461612218884'), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774), '0.28420461612218884'), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884'), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774), '0.28420461612218884'), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774)), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953867 depend.output_id : 0 input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884'), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774), '0.28420461612218884'), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395), '0.28420461612218884'), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774), '0.28420461612218884'), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884'), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774), '0.28420461612218884'), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774), '0.28420461612218884'), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349))} output_args : {1318953900: ('0.28420461612218884',), 1318953899: ('0.28420461612218884',), 1318953897: ('0.28420461612218884',), 1318953895: ('0.28420461612218884',), 1318953892: ('0.28420461612218884',), 1318953876: ('0.28420461612218884',), 1318953874: ('0.28420461612218884',), 1318953871: ('0.28420461612218884',), 1318953870: ('0.28420461612218884',), 1318953867: ('0.28420461612218884',), 1318953865: ('0.28420461612218884',)} args : 1318953865 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {18668048: [{'papier': 18694039, 'carton': 18694040, 'metal': 18694041, 'pet_clair': 18694042, 'pehd': 18694043, 'flux_dev': 18694044, 'film_dev_souple': 18694045, 'ela': 18694046, 'sac_om_plein': 18694047, 'textiles': 18694048, 'verre': 18694049, 'organique': 18694050, 'dasri': 18694051, 'masque': 18694052, 'encombrant': 18694053, 'autre_non_emballage': 18694054, 'environnement': 18694055, 'mal_croppe': 18694056, 'flou': 18694057, 'pet_fonce': 18694058, 'pet_opaque': 18694059, 'barquette_opaque': 18694060, 'film_plastique': 18694061, 'autre_emballage': 18694062, 'sac': 18694063}]} input_args_next_step : {1318953892: ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884'), 1318953876: ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774), '0.28420461612218884'), 1318953899: ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884'), 1318953900: ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884'), 1318953874: ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395), '0.28420461612218884'), 1318953871: ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774), '0.28420461612218884'), 1318953895: ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884'), 1318953897: ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884'), 1318953870: ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774), '0.28420461612218884'), 1318953867: ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774), '0.28420461612218884'), 1318953865: ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349), '0.28420461612218884'), 18668048: ()} output_args : {18668048: [{'papier': 18694039, 'carton': 18694040, 'metal': 18694041, 'pet_clair': 18694042, 'pehd': 18694043, 'flux_dev': 18694044, 'film_dev_souple': 18694045, 'ela': 18694046, 'sac_om_plein': 18694047, 'textiles': 18694048, 'verre': 18694049, 'organique': 18694050, 'dasri': 18694051, 'masque': 18694052, 'encombrant': 18694053, 'autre_non_emballage': 18694054, 'environnement': 18694055, 'mal_croppe': 18694056, 'flou': 18694057, 'pet_fonce': 18694058, 'pet_opaque': 18694059, 'barquette_opaque': 18694060, 'film_plastique': 18694061, 'autre_emballage': 18694062, 'sac': 18694063}]} args : 18668048 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :12, first value : ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884') After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P18668048_05-02-2025_15_26_46.pdf 18694047 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694047 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1319005073: '1732611687_3473955_1318953871_b1a35bf02092d4d874f103cd3b184059_rle_crop_3555640451_0.png', 1319005347: '1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639603_0.png', 1319005237: '1732611687_3473955_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0_rle_crop_3555640608_0.png', 1319005225: '1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639882_0.png', 1319005185: '1732611687_3473955_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0_rle_crop_3555640629_0.png', 1319005176: '1732611687_3473955_1318953870_43d59bfdc5cf3d5771450b165281824d_rle_crop_3555640558_0.png', 1319005162: '1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639859_0.png', 1319005146: '1732611687_3473955_1318953895_96aedeaa41551583de4238427b6327a7_rle_crop_3555639384_0.png', 1319005139: '1732611687_3473955_1318953897_588f5c85c71d9e14e6eb605d093c16c8_rle_crop_3555639247_0.png', 1319005075: '1732611687_3473955_1318953870_43d59bfdc5cf3d5771450b165281824d_rle_crop_3555640519_0.png', 1319005074: '1732611687_3473955_1318953871_b1a35bf02092d4d874f103cd3b184059_rle_crop_3555640439_0.png', 1319004608: '1732611687_3473955_1318953870_43d59bfdc5cf3d5771450b165281824d_rle_crop_3555640518_0.png', 1319005072: '1732611687_3473955_1318953871_b1a35bf02092d4d874f103cd3b184059_rle_crop_3555640421_0.png', 1319005068: '1732611687_3473955_1318953874_3de2d6269eadb509ad063ec556158fa6_rle_crop_3555640280_0.png', 1319005067: '1732611687_3473955_1318953874_3de2d6269eadb509ad063ec556158fa6_rle_crop_3555640285_0.png', 1319005063: '1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639874_0.png', 1319005058: '1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639852_0.png', 1319005051: '1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639549_0.png', 1319005049: '1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639594_0.png', 1319005040: '1732611687_3473955_1318953897_588f5c85c71d9e14e6eb605d093c16c8_rle_crop_3555639232_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/b49b2ff5c48cba55ceb981500c449916_58666913.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/b0f1471d832e29426e65edfb9b683a1b_70685168.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/eac9b8b2550265a2f1da502742aef794_65613852.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/76d14b1226f39384b544613d97bba111_46771230.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/d05ae4398b6606e627c439125db23260_93836595.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/9b9cfbca3ce0df3294f8a33dd229b930_99518590.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/1fe43ba2e9be9ece9c89dc71d83d4bc4_93487006.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/f49770270b2049f81e039d2314b2fb24_1981784.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/4e496ddef484ce78abb67cf04c506373_6020365.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/cf7154a113a936e7901e601332b93a00_39243583.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/0090708319a962943735ca75ac0d7646_77278941.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/4eeaf7e8759043688735f23198f1deea_30226065.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/5a65b3b3ca4809185b703c9e3407e640_44491613.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/c8644938553cb8e10f02d03c41efadf2_69939136.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/0046af8f70723f094e8b7e59d0927390_47272333.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/f8d9aeb5f593224f935a0e427bb989d8_42878525.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/9369db4099956a5381309f0f87178f0f_96698087.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/eabf76849e8a3edf8522c3571055b944_2476777.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/352df467f608c57b300f79319b2dcfcc_30274093.png change filename to text .imagette186940471738765606/ imagette186940471738765606/1732611687_3473955_1318953895_96aedeaa41551583de4238427b6327a7_rle_crop_3555639384_0.png.png imagette186940471738765606/1732611687_3473955_1318953870_43d59bfdc5cf3d5771450b165281824d_rle_crop_3555640558_0.png.png imagette186940471738765606/1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639859_0.png.png imagette186940471738765606/1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639549_0.png.png imagette186940471738765606/1732611687_3473955_1318953874_3de2d6269eadb509ad063ec556158fa6_rle_crop_3555640280_0.png.png imagette186940471738765606/1732611687_3473955_1318953897_588f5c85c71d9e14e6eb605d093c16c8_rle_crop_3555639247_0.png.png imagette186940471738765606/1732611687_3473955_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0_rle_crop_3555640608_0.png.png imagette186940471738765606/1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639852_0.png.png imagette186940471738765606/1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639594_0.png.png imagette186940471738765606/1732611687_3473955_1318953871_b1a35bf02092d4d874f103cd3b184059_rle_crop_3555640421_0.png.png imagette186940471738765606/1732611687_3473955_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0_rle_crop_3555640629_0.png.png imagette186940471738765606/1732611687_3473955_1318953871_b1a35bf02092d4d874f103cd3b184059_rle_crop_3555640439_0.png.png imagette186940471738765606/1732611687_3473955_1318953874_3de2d6269eadb509ad063ec556158fa6_rle_crop_3555640285_0.png.png imagette186940471738765606/1732611687_3473955_1318953870_43d59bfdc5cf3d5771450b165281824d_rle_crop_3555640519_0.png.png imagette186940471738765606/1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639603_0.png.png imagette186940471738765606/1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639874_0.png.png imagette186940471738765606/1732611687_3473955_1318953870_43d59bfdc5cf3d5771450b165281824d_rle_crop_3555640518_0.png.png imagette186940471738765606/1732611687_3473955_1318953871_b1a35bf02092d4d874f103cd3b184059_rle_crop_3555640451_0.png.png imagette186940471738765606/1732611687_3473955_1318953897_588f5c85c71d9e14e6eb605d093c16c8_rle_crop_3555639232_0.png.png imagette186940471738765606/1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639882_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/82df34a5abea9a261ddf0daec7c2d50a_68389302.png imagette186940471738765606 18694048 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694048 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1319004843: '1732611687_3473955_1318953870_43d59bfdc5cf3d5771450b165281824d_rle_crop_3555640542_0.png', 1319004875: '1732611687_3473955_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0_rle_crop_3555640592_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/f74a8547c253e70d1a467a28c23eba09_10970051.png change filename to text .imagette186940481738765609/ imagette186940481738765609/1732611687_3473955_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0_rle_crop_3555640592_0.png.png imagette186940481738765609/1732611687_3473955_1318953870_43d59bfdc5cf3d5771450b165281824d_rle_crop_3555640542_0.png.png imagette186940491738765609/ imagette186940501738765609/ imagette186940511738765609/ imagette186940521738765609/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/8c4c7b38148de12c9b9ad5672f6ee17c_40969260.png imagette186940481738765609 18694049 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694049 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette186940491738765609 18694050 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694050 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette186940501738765609 18694051 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694051 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette186940511738765609 18694052 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694052 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette186940521738765609 18694053 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694053 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1319004577: '1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639605_0.png'} change filename to text .imagette186940531738765609/ imagette186940531738765609/1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639605_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/b85028bf40f6a7b87abbbc47f9e9170d_29346062.png imagette186940531738765609 18694054 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694054 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1319004519: '1732611687_3473955_1318953900_878bddcdc70424826eff133cf7ec34a4_rle_crop_3555638882_0.png', 1319004526: '1732611687_3473955_1318953900_878bddcdc70424826eff133cf7ec34a4_rle_crop_3555638852_0.png', 1319004540: '1732611687_3473955_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca_rle_crop_3555639119_0.png', 1319004600: '1732611687_3473955_1318953871_b1a35bf02092d4d874f103cd3b184059_rle_crop_3555640449_0.png', 1319004790: '1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639879_0.png', 1319005034: '1732611687_3473955_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca_rle_crop_3555639143_0.png', 1319005036: '1732611687_3473955_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca_rle_crop_3555639085_0.png', 1319005083: '1732611687_3473955_1318953900_878bddcdc70424826eff133cf7ec34a4_rle_crop_3555638823_0.png', 1319005088: '1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639599_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/acba1e3d968bc7711c86f341641d2736_78688828.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/5fcf5fd431210a1241a37782c6f65714_54834827.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/1de54a3739ea76502fe6a3d7111fdaf0_46523820.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/5ea12981ff32460b17c7b9ecf584a612_14696763.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/1a75b6e87950cef921240c7bddf22c19_29840462.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/cd3f30797f2a11ddde67a0533d03b60e_2221191.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/8b40e90cb6d6a9d696b8e29b20c295ef_21221892.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/97ab67abda28bb786f650c0fade593f0_76285100.png change filename to text .imagette186940541738765609/ imagette186940541738765609/1732611687_3473955_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca_rle_crop_3555639143_0.png.png imagette186940541738765609/1732611687_3473955_1318953892_7558a5d27cc41750616c8b69eed0c160_rle_crop_3555639599_0.png.png imagette186940541738765609/1732611687_3473955_1318953876_88fa30029bda6437f18ab4d8868f8ddd_rle_crop_3555639879_0.png.png imagette186940541738765609/1732611687_3473955_1318953900_878bddcdc70424826eff133cf7ec34a4_rle_crop_3555638882_0.png.png imagette186940541738765609/1732611687_3473955_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca_rle_crop_3555639085_0.png.png imagette186940541738765609/1732611687_3473955_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca_rle_crop_3555639119_0.png.png imagette186940541738765609/1732611687_3473955_1318953900_878bddcdc70424826eff133cf7ec34a4_rle_crop_3555638852_0.png.png imagette186940541738765609/1732611687_3473955_1318953900_878bddcdc70424826eff133cf7ec34a4_rle_crop_3555638823_0.png.png imagette186940541738765609/1732611687_3473955_1318953871_b1a35bf02092d4d874f103cd3b184059_rle_crop_3555640449_0.png.png imagette186940631738765611/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/26/19d7772040b1485fb048ac859cfcb0a0_53698127.png imagette186940541738765609 18694063 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18694063 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette186940631738765611 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=18668048 and hashtag_type = 4857 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/18689335,18689336,18689337,18689338,18689339,18689344,18689346,18689347,18689348,18689349,18689350,18689351,18689353,18689354,18689356,18689357,18689358,18689359,18689360?tags=papier,carton,metal,pet_clair,pehd,ela,textiles,verre,organique,dasri,masque,encombrant,autre_non_emballage,environnement,flux_dev,mal_croppe,flou,film_dev_souple,sac_om_plein&datou_id_consolidate=4742&port_consolidate=18668048 your option no_mail is active, we will not send the real mail to your client args[1318953900] : ((1318953900, 2693.283496779179, 492609224), (1318953900, -0.2590808823275204, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953899] : ((1318953899, 2808.1912148606775, 492609224), (1318953899, -0.1888911147779689, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953897] : ((1318953897, 981.9296061289838, 2107751945), (1318953897, -0.3514563381175297, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953895] : ((1318953895, 1674.0207988332015, 2107751945), (1318953895, -0.29871228803281846, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953892] : ((1318953892, 3652.1410769254135, 492609224), (1318953892, -0.15375548334569422, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953876] : ((1318953876, 2982.7386137816634, 492609224), (1318953876, -0.2664179309568651, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953874] : ((1318953874, 2419.2785576755514, 492609224), (1318953874, -0.032469892939305224, 2107752395), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953871] : ((1318953871, 2112.41585992763, 492609224), (1318953871, -0.251769474495807, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953870] : ((1318953870, 979.3129987827836, 2107751945), (1318953870, -0.41030551941622706, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953867] : ((1318953867, 978.9872230067788, 2107751945), (1318953867, -0.12849073123090707, 496442774), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com args[1318953865] : ((1318953865, 702.308533260916, 492688767), (1318953865, -0.5458509917446254, 501862349), '0.28420461612218884') We are sending mail with results at kexin@fotonower.com refus_total : 0.28420461612218884 2022-04-13 10:29:59 0 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P18668048_05-02-2025_15_26_46.pdf results_COD_P18668048_05-02-2025_15_26_46.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P18668048_05-02-2025_15_26_46.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4742','18668048','results_COD_P18668048_05-02-2025_15_26_46.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P18668048_05-02-2025_15_26_46.pdf','pdf','','1.74','0.28420461612218884') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] map_info['map_portfolio_photo'] : {18668048: [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865]} final : False mtd_id 4742 list_pids : [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953900', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4742', '18668048', '1318953900', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104')] time used for this insertion : 0.013035297393798828 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.059878587722778 time spend to save output : 0.01325082778930664 total time spend for step 8 : 9.073129415512085 step9:split_time_score Wed Feb 5 15:26:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 : VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (18668048) Here we display some param of map_info ! map_filenames : {'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg': 1318953900, 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg': 1318953899, 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg': 1318953897, 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg': 1318953895, 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg': 1318953892, 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg': 1318953876, 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg': 1318953874, 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg': 1318953871, 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg': 1318953870, 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg': 1318953867, 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg': 1318953865} map_photo_id_path_extension : {1318953900: {'path': 'temp/1738765586_4140901_1318953900_878bddcdc70424826eff133cf7ec34a4.jpg', 'extension': 'jpg'}, 1318953899: {'path': 'temp/1738765586_4140901_1318953899_f66a6f6fd0f2b6f3d9bbcbf2802dcdca.jpg', 'extension': 'jpg'}, 1318953897: {'path': 'temp/1738765586_4140901_1318953897_588f5c85c71d9e14e6eb605d093c16c8.jpg', 'extension': 'jpg'}, 1318953895: {'path': 'temp/1738765586_4140901_1318953895_96aedeaa41551583de4238427b6327a7.jpg', 'extension': 'jpg'}, 1318953892: {'path': 'temp/1738765586_4140901_1318953892_7558a5d27cc41750616c8b69eed0c160.jpg', 'extension': 'jpg'}, 1318953876: {'path': 'temp/1738765586_4140901_1318953876_88fa30029bda6437f18ab4d8868f8ddd.jpg', 'extension': 'jpg'}, 1318953874: {'path': 'temp/1738765586_4140901_1318953874_3de2d6269eadb509ad063ec556158fa6.jpg', 'extension': 'jpg'}, 1318953871: {'path': 'temp/1738765586_4140901_1318953871_b1a35bf02092d4d874f103cd3b184059.jpg', 'extension': 'jpg'}, 1318953870: {'path': 'temp/1738765586_4140901_1318953870_43d59bfdc5cf3d5771450b165281824d.jpg', 'extension': 'jpg'}, 1318953867: {'path': 'temp/1738765586_4140901_1318953867_8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'extension': 'jpg'}, 1318953865: {'path': 'temp/1738765586_4140901_1318953865_3658425230eb4f0552e733a6d4308025.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=1107 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 18668048; (('SyctomXV_Mask_23Q4',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 18668048 group by h (('52', 1), ('53', 1), ('54', 5), ('55', 4)) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=18668048 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (18668048) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (18668048) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25112024 18668048 Nombre de photos uploadées : 11 / 23040 (0%) 25112024 18668048 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 25112024 18668048 Nombre de photos taguées (volume) : 0 / 11 (0%) [{'photo_id': 1318953865, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/25/3658425230eb4f0552e733a6d4308025.jpg', 'username': None, 'uploaded_at': 1732573352, 'text': 'IMG_20241125_215249.jpg'}, {'photo_id': 1318953867, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/25/8a7307d3ac4dc4cb861c69b3d6ca2ba0.jpg', 'username': None, 'uploaded_at': 1732573352, 'text': 'IMG_20241125_215353.jpg'}, {'photo_id': 1318953874, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/25/3de2d6269eadb509ad063ec556158fa6.jpg', 'username': None, 'uploaded_at': 1732573352, 'text': 'IMG_20241125_215420.jpg'}, {'photo_id': 1318953892, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2024/11/25/7558a5d27cc41750616c8b69eed0c160.jpg', 'username': None, 'uploaded_at': 1732573411, 'text': 'IMG_20241125_215440.jpg'}] 0 [] elapsed_time : load_data_split_time_score 4.291534423828125e-06 elapsed_time : order_list_meta_photo_and_scores 1.0728836059570312e-05 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005602836608886719 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 188, 18668048, '2024-11-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1429004,1107,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023323535919189453 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1429004 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1429004, 'dashboard_run_id': 1436445, 'mtr_portfolio_id': 18668048, 'dashboard_result_id': 7969499, 'hashtag': '_______entrant', 'completion_json': "{'max_time_prod_two_photos': 0, 'car_plate': 'FG938PL', 'plate_origin_photo': 1318953865, 'plate_crop_photo': 0, 'plate_crops': {'hashtag': 'plate_crops', 'sub_port_id': 0, 'pht': 4403}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P18668048_31-01-2025_00_18_45.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 18694039, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 18694040, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 18694041, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 18694042, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 18694043, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 18694058, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 18694059, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 18694060, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 18694061, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 18694046, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 18694063, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 18694048, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 18694049, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 18694050, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 18694051, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 18694052, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 18694053, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 18694062, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 18694054, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 18694055, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 18689281, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 18694044, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 18694056, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 18694057, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 18694045, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 18694047, 'pht': 4857}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 18668048 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4742 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4742, 'mtr_datou_current_id': 2552104, 'mtr_portfolio_id': 18668048, 'created_at': datetime.datetime(2025, 2, 5, 15, 26, 46), 'result': '0.28420461612218884', 'result_long': None, 'result_double': None}] Qualite : 0.28420461612218884 select url from MTRUser.mtr_files where mtd_id = 4742 and mtr_portfolio_id = 18668048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P18668048_05-02-2025_15_26_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 18668048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'car_plate': 'FG938PL', 'plate_origin_photo': 1318953865, 'plate_crop_photo': 0, 'plate_crops': {'hashtag': 'plate_crops', 'sub_port_id': 0, 'pht': 4403}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P18668048_05-02-2025_15_26_46.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 18694039, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 18694040, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 18694041, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 18694042, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 18694043, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 18694058, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 18694059, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 18694060, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 18694061, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 18694046, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 18694063, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 18694048, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 18694049, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 18694050, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 18694051, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 18694052, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 18694053, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 18694062, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 18694054, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 18694055, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 18689281, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 18694044, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 18694056, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 18694057, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 18694045, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 18694047, 'pht': 4857}}" where mtr_portfolio_id = 18668048 and dashboard_run_id = 1436445 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4742 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4742 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4742 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4742 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13169 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13170 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 13167 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 13167 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13174 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13168 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 13171 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13172 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 13173 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 13175 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13169 have datatype=11 whereas input 0 of step 13167 have datatype=2 WARNING : type of output 1 of step 13170 doesn't seem to be define in the database( WARNING : type of input 3 of step 13168 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13170 doesn't seem to be define in the database( WARNING : type of input 1 of step 13167 doesn't seem to be define in the database( WARNING : output 0 of step 13174 have datatype=10 whereas input 3 of step 13173 have datatype=6 WARNING : type of input 1 of step 13174 doesn't seem to be define in the database( WARNING : output 1 of step 13167 have datatype=7 whereas input 1 of step 13174 have datatype=None WARNING : type of output 1 of step 13174 doesn't seem to be define in the database( WARNING : type of input 4 of step 13168 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 13169 doesn't seem to be define in the database( WARNING : type of input 1 of step 13170 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=18668048 AND mptpi.`type`=4857 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (7969499, 0.28420461612218884, "{'max_time_prod_two_photos': 0, 'car_plate': 'FG938PL', 'plate_origin_photo': 1318953865, 'plate_crop_photo': 0, 'plate_crops': {'hashtag': 'plate_crops', 'sub_port_id': 0, 'pht': 4403}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P18668048_05-02-2025_15_26_46.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 18694039, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 18694040, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 18694041, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 18694042, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 18694043, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 18694058, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 18694059, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 18694060, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 18694061, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 18694046, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 18694063, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 18694048, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 18694049, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 18694050, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 18694051, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 18694052, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 18694053, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 18694062, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 18694054, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 18694055, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 18689281, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 18694044, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 18694056, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 18694057, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 18694045, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 18694047, 'pht': 4857}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (18668048) result : ((1318953865,), (1318953867,), (1318953870,), (1318953871,), (1318953874,), (1318953876,), (1318953892,), (1318953895,), (1318953897,), (1318953899,), (1318953900,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25112024': {'nb_upload': 11, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([18668048]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] map_info['map_portfolio_photo'] : {18668048: [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865]} final : True mtd_id 4742 list_pids : [1318953900, 1318953899, 1318953897, 1318953895, 1318953892, 1318953876, 1318953874, 1318953871, 1318953870, 1318953867, 1318953865] Looping around the photos to save general results len do output : 1 /18668048Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953900', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104') ('4742', None, None, None, None, None, None, None, '2552104') ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4742', None, '18668048', 'None', None, None, None, None, '2552104'), ('4742', '18668048', '1318953900', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953899', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953897', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953895', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953892', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953876', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953874', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953871', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953870', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953867', None, None, None, None, None, '2552104'), ('4742', '18668048', '1318953865', None, None, None, None, None, '2552104')] time used for this insertion : 0.013503551483154297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.19500374794006348 time spend to save output : 0.013774633407592773 total time spend for step 9 : 0.20877838134765625 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2552104) 5.98user 1.56system 0:30.46elapsed 24%CPU (0avgtext+0avgdata 224576maxresident)k 432inputs+148280outputs (3major+327379minor)pagefaults 0swaps