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 : 3539221 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 (2544299) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2544299) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20072575 AND hide_status = 0 list_input_json: {} Current got : datou_id : 4742, datou_cur_ids : ['2544299'] with mtr_portfolio_ids : ['20072575'] and first list_photo_ids : [] new path : /proc/3539221/ Name: python3 Umask: 0002 State: R (running) Tgid: 3539221 Ngid: 0 Pid: 3539221 PPid: 3539219 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3539221 NSpid: 3539221 NSpgid: 3538293 NSsid: 3538293 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100544 kB VmRSS: 100544 kB RssAnon: 59756 kB RssFile: 40788 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 556 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: 42 nonvoluntary_ctxt_switches: 147 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3539221', 'Ngid': '0', 'Pid': '3539221', 'PPid': '3539219', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3539221', 'NSpid': '3539221', 'NSpgid': '3538293', 'NSsid': '3538293', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100544 kB', 'VmRSS': '100544 kB', 'RssAnon': '59756 kB', 'RssFile': '40788 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '556 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': '42', 'nonvoluntary_ctxt_switches': '147'} ('datou_batch_current', '3539221', '1106840', '0', '1106840', '865592', '100544', b'', 'marlene', '2544299') 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 (20072575) 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 (2544299 ) ) 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 (20072575) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 100 list_result: [{'photo_id': 1332974901, 'portfolio_id': 20072575}, {'photo_id': 1332974895, 'portfolio_id': 20072575}, {'photo_id': 1332974893, 'portfolio_id': 20072575}, {'photo_id': 1332974865, 'portfolio_id': 20072575}, {'photo_id': 1332974860, 'portfolio_id': 20072575}, {'photo_id': 1332974855, 'portfolio_id': 20072575}, {'photo_id': 1332974852, 'portfolio_id': 20072575}, {'photo_id': 1332974847, 'portfolio_id': 20072575}, {'photo_id': 1332974844, 'portfolio_id': 20072575}] map_portfolio_id_photo_id: {20072575: [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844]} ##### Call download_photos : nb_thread : 1 begin to download photo : 1332974901 download finish for photo 1332974901 begin to download photo : 1332974895 download finish for photo 1332974895 begin to download photo : 1332974893 download finish for photo 1332974893 begin to download photo : 1332974865 download finish for photo 1332974865 begin to download photo : 1332974860 download finish for photo 1332974860 begin to download photo : 1332974855 download finish for photo 1332974855 begin to download photo : 1332974852 download finish for photo 1332974852 begin to download photo : 1332974847 download finish for photo 1332974847 begin to download photo : 1332974844 download finish for photo 1332974844 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 : 9 ; length of list_pids : 9 ; length of list_args : 9 ##### After load_data_input time to download the photos : 3.9164416790008545 #### 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 Tue Feb 4 10:46: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} Begin step datou_step_copy_crop processing picture : temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg processing picture : temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg processing picture : temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg processing picture : temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg processing picture : temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg processing picture : temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg processing picture : temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg processing picture : temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg processing picture : temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974895,1332974893,1332974865,1332974860,1332974855,1332974852,1332974847,1332974844) and `type` in (4855) and score>0.01and hashtag_id in (493061979,493012381) Loaded 89 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978462,3644978471,3644978470,3644978465,3644978472,3644978468,3644978469,3644978322,3644978333,3644978381,3644978366,3644978371,3644978355,3644978332,3644978344,3644978323,3644976802,3644976808,3644976809,3644976842,3644976807,3644976821,3644976831,3644976839,3644976841,3644976864,3644976822,3644976806,3644970450,3644970451,3644970476,3644970456,3644970481,3644970465,3644970494,3644970452,3644970488,3644970458,3644970482,3644970529,3644970521,3644967754,3644967808,3644967829,3644967772,3644967826,3644967768,3644967802,3644967813,3644967806,3644967766,3644967789,3644967793,3644967842,3644967840,3644967841,3644967805,3644958903,3644958904,3644958942,3644958979,3644958925,3644958914,3644958957,3644958981,3644957031,3644957043,3644957033,3644957035,3644957085,3644957069,3644957077,3644957082,3644957048,3644955858,3644955922,3644955918,3644955935,3644955872,3644955860,3644955936,3644953735,3644953739,3644953749,3644953750,3644953743,3644953738,3644953756,3644953744) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978462,3644978471,3644978470,3644978465,3644978472,3644978468,3644978469,3644978322,3644978333,3644978381,3644978366,3644978371,3644978355,3644978332,3644978344,3644978323,3644976802,3644976808,3644976809,3644976842,3644976807,3644976821,3644976831,3644976839,3644976841,3644976864,3644976822,3644976806,3644970450,3644970451,3644970476,3644970456,3644970481,3644970465,3644970494,3644970452,3644970488,3644970458,3644970482,3644970529,3644970521,3644967754,3644967808,3644967829,3644967772,3644967826,3644967768,3644967802,3644967813,3644967806,3644967766,3644967789,3644967793,3644967842,3644967840,3644967841,3644967805,3644958903,3644958904,3644958942,3644958979,3644958925,3644958914,3644958957,3644958981,3644957031,3644957043,3644957033,3644957035,3644957085,3644957069,3644957077,3644957082,3644957048,3644955858,3644955922,3644955918,3644955935,3644955872,3644955860,3644955936,3644953735,3644953739,3644953749,3644953750,3644953743,3644953738,3644953756,3644953744) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978462,3644978471,3644978470,3644978465,3644978472,3644978468,3644978469,3644978322,3644978333,3644978381,3644978366,3644978371,3644978355,3644978332,3644978344,3644978323,3644976802,3644976808,3644976809,3644976842,3644976807,3644976821,3644976831,3644976839,3644976841,3644976864,3644976822,3644976806,3644970450,3644970451,3644970476,3644970456,3644970481,3644970465,3644970494,3644970452,3644970488,3644970458,3644970482,3644970529,3644970521,3644967754,3644967808,3644967829,3644967772,3644967826,3644967768,3644967802,3644967813,3644967806,3644967766,3644967789,3644967793,3644967842,3644967840,3644967841,3644967805,3644958903,3644958904,3644958942,3644958979,3644958925,3644958914,3644958957,3644958981,3644957031,3644957043,3644957033,3644957035,3644957085,3644957069,3644957077,3644957082,3644957048,3644955858,3644955922,3644955918,3644955935,3644955872,3644955860,3644955936,3644953735,3644953739,3644953749,3644953750,3644953743,3644953738,3644953756,3644953744) 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 408 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! map_nb_chis : {1332974844: 7, 1332974847: 9, 1332974852: 12, 1332974855: 13, 1332974860: 16, 1332974865: 8, 1332974893: 9, 1332974895: 7, 1332974901: 8} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20072575]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] map_info['map_portfolio_photo'] : {20072575: [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844]} final : False mtd_id 4742 list_pids : [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] Looping around the photos to save general results len do output : 9 /1332974844Didn't retrieve data . /1332974847Didn't retrieve data . /1332974852Didn't retrieve data . /1332974855Didn't retrieve data . /1332974860Didn't retrieve data . /1332974865Didn't retrieve data . /1332974893Didn't retrieve data . /1332974895Didn't retrieve data . /1332974901Didn'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, '2544299') ('4742', '20072575', '1332974901', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 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', '20072575', '1332974844', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974847', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974852', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974855', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974860', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974865', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974893', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974895', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974901', 'None', None, None, None, None, '2544299')] time used for this insertion : 0.013848066329956055 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12461662292480469 time spend to save output : 0.014188766479492188 total time spend for step 1 : 0.13880538940429688 step2:consolidate_hashtags_from_manual_portfolio Tue Feb 4 10:46: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 (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 20072575 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`=20072575 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`=20072575 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=20073546 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 (1332987553,1332987607,1332987613,1332987625,1332987631,1332987637,1332987645,1332988062,1332988068,1332988091,1332988161) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974855,1332974852,1332974847,1332974895,1332974860) and `type` in (4855) Loaded 509 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978353,3644978351,3644978330,3644978370,3644978347,3644978400,3644978343,3644978385,3644978349,3644978399,3644978352,3644978386,3644978364,3644978368,3644978398,3644978334,3644978337,3644978380,3644978401,3644978335,3644978361,3644978387,3644978402,3644978338,3644978356,3644978336,3644978340,3644978390,3644978383,3644978354,3644978379,3644978324,3644978357,3644978377,3644978325,3644978375,3644978360,3644978392,3644978397,3644978326,3644978348,3644978391,3644978345,3644978341,3644978322,3644978333,3644978381,3644978366,3644978371,3644978355,3644978332,3644978344,3644978323,3644978382,3644978384,3644978372,3644978327,3644978346,3644978328,3644978389,3644978350,3644978374,3644978358,3644978362,3644978339,3644978359,3644978396,3644978329,3644978388,3644978393,3644978376,3644978363,3644978403,3644978404,3644978378,3644978342,3644978394,3644978365,3644978367,3644978331,3644978373,3644978369,3644978395,3644976887,3644976832,3644976850,3644976824,3644976816,3644976825,3644976838,3644976823,3644976833,3644976862,3644976819,3644976865,3644976804,3644976849,3644976885,3644976812,3644976868,3644976828,3644976815,3644976884,3644976827,3644976895,3644976840,3644976820,3644976852,3644976844,3644976861,3644976860,3644976805,3644976869,3644976870,3644976846,3644976875,3644976858,3644976855,3644976830,3644976866,3644976803,3644976898,3644976848,3644976883,3644976814,3644976888,3644976892,3644976872,3644976896,3644976835,3644976882,3644976845,3644976871,3644976802,3644976808,3644976809,3644976842,3644976807,3644976821,3644976831,3644976839,3644976841,3644976864,3644976822,3644976806,3644976843,3644976813,3644976886,3644976867,3644976829,3644976847,3644976891,3644976857,3644976878,3644976881,3644976851,3644976873,3644976863,3644976834,3644976836,3644976810,3644976817,3644976859,3644976894,3644976853,3644976880,3644976818,3644976874,3644976811,3644976826,3644976854,3644976899,3644976890,3644976837,3644976893,3644976877,3644976876,3644976879,3644976856,3644976889,3644976897,3644970507,3644970466,3644970484,3644970462,3644970471,3644970515,3644970504,3644970486,3644970526,3644970459,3644970467,3644970487,3644970520,3644970478,3644970510,3644970499,3644970495,3644970490,3644970519,3644970493,3644970505,3644970477,3644970518,3644970532,3644970512,3644970455,3644970485,3644970469,3644970457,3644970480,3644970472,3644970516,3644970531,3644970508,3644970475,3644970454,3644970464,3644970509,3644970528,3644970492,3644970450,3644970451,3644970476,3644970456,3644970481,3644970465,3644970494,3644970452,3644970488,3644970458,3644970482,3644970529,3644970521,3644970463,3644970506,3644970460,3644970483,3644970523,3644970491,3644970498,3644970517,3644970479,3644970525,3644970461,3644970527,3644970501,3644970453,3644970473,3644970513,3644970468,3644970497,3644970470,3644970533,3644970489,3644970522,3644970503,3644970530,3644970511,3644970524,3644970502,3644970514,3644970496,3644970500,3644970534,3644970474,3644967834,3644967828,3644967771,3644967792,3644967783,3644967788,3644967795,3644967820,3644967785,3644967770,3644967819,3644967759,3644967804,3644967798,3644967816,3644967782,3644967777,3644967823,3644967831,3644967764,3644967780,3644967779,3644967800,3644967797,3644967791,3644967814,3644967796,3644967824,3644967818,3644967778,3644967817,3644967827,3644967761,3644967822,3644967775,3644967776,3644967839,3644967786,3644967756,3644967781,3644967812,3644967774,3644967769,3644967794,3644967790,3644967754,3644967808,3644967829,3644967772,3644967826,3644967768,3644967802,3644967813,3644967806,3644967766,3644967789,3644967793,3644967842,3644967840,3644967841,3644967805,3644967757,3644967784,3644967835,3644967833,3644967803,3644967760,3644967836,3644967821,3644967765,3644967755,3644967799,3644967767,3644967763,3644967815,3644967825,3644967787,3644967832,3644967811,3644967762,3644967773,3644967810,3644967758,3644967830,3644967807,3644967837,3644967838,3644967801,3644967809,3644955869,3644955934,3644955876,3644955873,3644955892,3644955904,3644955882,3644955867,3644955908,3644955900,3644955932,3644955913,3644955914,3644955886,3644955897,3644955877,3644955928,3644955901,3644955859,3644955866,3644955865,3644955871,3644955925,3644955889,3644955899,3644955898,3644955903,3644955868,3644955864,3644955909,3644955878,3644955911,3644955902,3644955858,3644955922,3644955918,3644955935,3644955872,3644955860,3644955936,3644955879,3644955896,3644955861,3644955887,3644955875,3644955920,3644955912,3644955929,3644955890,3644955881,3644955907,3644955862,3644955931,3644955916,3644955891,3644955884,3644955870,3644955863,3644955895,3644955905,3644955915,3644955930,3644955921,3644955893,3644955927,3644955917,3644955883,3644955923,3644955894,3644955926,3644955910,3644955885,3644955924,3644955906,3644955880,3644955888,3644955919,3644955874,3644955933,3644953768,3644953777,3644953754,3644953753,3644953761,3644953766,3644953776,3644953747,3644953783,3644953788,3644953797,3644953778,3644953752,3644953780,3644953785,3644953764,3644953800,3644953782,3644953809,3644953795,3644953737,3644953806,3644953804,3644953803,3644953741,3644953763,3644953765,3644953801,3644953772,3644953793,3644953740,3644953751,3644953794,3644953786,3644953735,3644953739,3644953749,3644953750,3644953743,3644953738,3644953756,3644953744,3644953798,3644953748,3644953787,3644953792,3644953742,3644953779,3644953802,3644953774,3644953762,3644953755,3644953736,3644953745,3644953760,3644953767,3644953784,3644953796,3644953770,3644953758,3644953789,3644953807,3644953757,3644953775,3644953805,3644953746,3644953799,3644953771,3644953790,3644953759,3644953769,3644953808,3644953781,3644953773,3644953791) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978353,3644978351,3644978330,3644978370,3644978347,3644978400,3644978343,3644978385,3644978349,3644978399,3644978352,3644978386,3644978364,3644978368,3644978398,3644978334,3644978337,3644978380,3644978401,3644978335,3644978361,3644978387,3644978402,3644978338,3644978356,3644978336,3644978340,3644978390,3644978383,3644978354,3644978379,3644978324,3644978357,3644978377,3644978325,3644978375,3644978360,3644978392,3644978397,3644978326,3644978348,3644978391,3644978345,3644978341,3644978322,3644978333,3644978381,3644978366,3644978371,3644978355,3644978332,3644978344,3644978323,3644978382,3644978384,3644978372,3644978327,3644978346,3644978328,3644978389,3644978350,3644978374,3644978358,3644978362,3644978339,3644978359,3644978396,3644978329,3644978388,3644978393,3644978376,3644978363,3644978403,3644978404,3644978378,3644978342,3644978394,3644978365,3644978367,3644978331,3644978373,3644978369,3644978395,3644976887,3644976832,3644976850,3644976824,3644976816,3644976825,3644976838,3644976823,3644976833,3644976862,3644976819,3644976865,3644976804,3644976849,3644976885,3644976812,3644976868,3644976828,3644976815,3644976884,3644976827,3644976895,3644976840,3644976820,3644976852,3644976844,3644976861,3644976860,3644976805,3644976869,3644976870,3644976846,3644976875,3644976858,3644976855,3644976830,3644976866,3644976803,3644976898,3644976848,3644976883,3644976814,3644976888,3644976892,3644976872,3644976896,3644976835,3644976882,3644976845,3644976871,3644976802,3644976808,3644976809,3644976842,3644976807,3644976821,3644976831,3644976839,3644976841,3644976864,3644976822,3644976806,3644976843,3644976813,3644976886,3644976867,3644976829,3644976847,3644976891,3644976857,3644976878,3644976881,3644976851,3644976873,3644976863,3644976834,3644976836,3644976810,3644976817,3644976859,3644976894,3644976853,3644976880,3644976818,3644976874,3644976811,3644976826,3644976854,3644976899,3644976890,3644976837,3644976893,3644976877,3644976876,3644976879,3644976856,3644976889,3644976897,3644970507,3644970466,3644970484,3644970462,3644970471,3644970515,3644970504,3644970486,3644970526,3644970459,3644970467,3644970487,3644970520,3644970478,3644970510,3644970499,3644970495,3644970490,3644970519,3644970493,3644970505,3644970477,3644970518,3644970532,3644970512,3644970455,3644970485,3644970469,3644970457,3644970480,3644970472,3644970516,3644970531,3644970508,3644970475,3644970454,3644970464,3644970509,3644970528,3644970492,3644970450,3644970451,3644970476,3644970456,3644970481,3644970465,3644970494,3644970452,3644970488,3644970458,3644970482,3644970529,3644970521,3644970463,3644970506,3644970460,3644970483,3644970523,3644970491,3644970498,3644970517,3644970479,3644970525,3644970461,3644970527,3644970501,3644970453,3644970473,3644970513,3644970468,3644970497,3644970470,3644970533,3644970489,3644970522,3644970503,3644970530,3644970511,3644970524,3644970502,3644970514,3644970496,3644970500,3644970534,3644970474,3644967834,3644967828,3644967771,3644967792,3644967783,3644967788,3644967795,3644967820,3644967785,3644967770,3644967819,3644967759,3644967804,3644967798,3644967816,3644967782,3644967777,3644967823,3644967831,3644967764,3644967780,3644967779,3644967800,3644967797,3644967791,3644967814,3644967796,3644967824,3644967818,3644967778,3644967817,3644967827,3644967761,3644967822,3644967775,3644967776,3644967839,3644967786,3644967756,3644967781,3644967812,3644967774,3644967769,3644967794,3644967790,3644967754,3644967808,3644967829,3644967772,3644967826,3644967768,3644967802,3644967813,3644967806,3644967766,3644967789,3644967793,3644967842,3644967840,3644967841,3644967805,3644967757,3644967784,3644967835,3644967833,3644967803,3644967760,3644967836,3644967821,3644967765,3644967755,3644967799,3644967767,3644967763,3644967815,3644967825,3644967787,3644967832,3644967811,3644967762,3644967773,3644967810,3644967758,3644967830,3644967807,3644967837,3644967838,3644967801,3644967809,3644955869,3644955934,3644955876,3644955873,3644955892,3644955904,3644955882,3644955867,3644955908,3644955900,3644955932,3644955913,3644955914,3644955886,3644955897,3644955877,3644955928,3644955901,3644955859,3644955866,3644955865,3644955871,3644955925,3644955889,3644955899,3644955898,3644955903,3644955868,3644955864,3644955909,3644955878,3644955911,3644955902,3644955858,3644955922,3644955918,3644955935,3644955872,3644955860,3644955936,3644955879,3644955896,3644955861,3644955887,3644955875,3644955920,3644955912,3644955929,3644955890,3644955881,3644955907,3644955862,3644955931,3644955916,3644955891,3644955884,3644955870,3644955863,3644955895,3644955905,3644955915,3644955930,3644955921,3644955893,3644955927,3644955917,3644955883,3644955923,3644955894,3644955926,3644955910,3644955885,3644955924,3644955906,3644955880,3644955888,3644955919,3644955874,3644955933,3644953768,3644953777,3644953754,3644953753,3644953761,3644953766,3644953776,3644953747,3644953783,3644953788,3644953797,3644953778,3644953752,3644953780,3644953785,3644953764,3644953800,3644953782,3644953809,3644953795,3644953737,3644953806,3644953804,3644953803,3644953741,3644953763,3644953765,3644953801,3644953772,3644953793,3644953740,3644953751,3644953794,3644953786,3644953735,3644953739,3644953749,3644953750,3644953743,3644953738,3644953756,3644953744,3644953798,3644953748,3644953787,3644953792,3644953742,3644953779,3644953802,3644953774,3644953762,3644953755,3644953736,3644953745,3644953760,3644953767,3644953784,3644953796,3644953770,3644953758,3644953789,3644953807,3644953757,3644953775,3644953805,3644953746,3644953799,3644953771,3644953790,3644953759,3644953769,3644953808,3644953781,3644953773,3644953791) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978353,3644978351,3644978330,3644978370,3644978347,3644978400,3644978343,3644978385,3644978349,3644978399,3644978352,3644978386,3644978364,3644978368,3644978398,3644978334,3644978337,3644978380,3644978401,3644978335,3644978361,3644978387,3644978402,3644978338,3644978356,3644978336,3644978340,3644978390,3644978383,3644978354,3644978379,3644978324,3644978357,3644978377,3644978325,3644978375,3644978360,3644978392,3644978397,3644978326,3644978348,3644978391,3644978345,3644978341,3644978322,3644978333,3644978381,3644978366,3644978371,3644978355,3644978332,3644978344,3644978323,3644978382,3644978384,3644978372,3644978327,3644978346,3644978328,3644978389,3644978350,3644978374,3644978358,3644978362,3644978339,3644978359,3644978396,3644978329,3644978388,3644978393,3644978376,3644978363,3644978403,3644978404,3644978378,3644978342,3644978394,3644978365,3644978367,3644978331,3644978373,3644978369,3644978395,3644976887,3644976832,3644976850,3644976824,3644976816,3644976825,3644976838,3644976823,3644976833,3644976862,3644976819,3644976865,3644976804,3644976849,3644976885,3644976812,3644976868,3644976828,3644976815,3644976884,3644976827,3644976895,3644976840,3644976820,3644976852,3644976844,3644976861,3644976860,3644976805,3644976869,3644976870,3644976846,3644976875,3644976858,3644976855,3644976830,3644976866,3644976803,3644976898,3644976848,3644976883,3644976814,3644976888,3644976892,3644976872,3644976896,3644976835,3644976882,3644976845,3644976871,3644976802,3644976808,3644976809,3644976842,3644976807,3644976821,3644976831,3644976839,3644976841,3644976864,3644976822,3644976806,3644976843,3644976813,3644976886,3644976867,3644976829,3644976847,3644976891,3644976857,3644976878,3644976881,3644976851,3644976873,3644976863,3644976834,3644976836,3644976810,3644976817,3644976859,3644976894,3644976853,3644976880,3644976818,3644976874,3644976811,3644976826,3644976854,3644976899,3644976890,3644976837,3644976893,3644976877,3644976876,3644976879,3644976856,3644976889,3644976897,3644970507,3644970466,3644970484,3644970462,3644970471,3644970515,3644970504,3644970486,3644970526,3644970459,3644970467,3644970487,3644970520,3644970478,3644970510,3644970499,3644970495,3644970490,3644970519,3644970493,3644970505,3644970477,3644970518,3644970532,3644970512,3644970455,3644970485,3644970469,3644970457,3644970480,3644970472,3644970516,3644970531,3644970508,3644970475,3644970454,3644970464,3644970509,3644970528,3644970492,3644970450,3644970451,3644970476,3644970456,3644970481,3644970465,3644970494,3644970452,3644970488,3644970458,3644970482,3644970529,3644970521,3644970463,3644970506,3644970460,3644970483,3644970523,3644970491,3644970498,3644970517,3644970479,3644970525,3644970461,3644970527,3644970501,3644970453,3644970473,3644970513,3644970468,3644970497,3644970470,3644970533,3644970489,3644970522,3644970503,3644970530,3644970511,3644970524,3644970502,3644970514,3644970496,3644970500,3644970534,3644970474,3644967834,3644967828,3644967771,3644967792,3644967783,3644967788,3644967795,3644967820,3644967785,3644967770,3644967819,3644967759,3644967804,3644967798,3644967816,3644967782,3644967777,3644967823,3644967831,3644967764,3644967780,3644967779,3644967800,3644967797,3644967791,3644967814,3644967796,3644967824,3644967818,3644967778,3644967817,3644967827,3644967761,3644967822,3644967775,3644967776,3644967839,3644967786,3644967756,3644967781,3644967812,3644967774,3644967769,3644967794,3644967790,3644967754,3644967808,3644967829,3644967772,3644967826,3644967768,3644967802,3644967813,3644967806,3644967766,3644967789,3644967793,3644967842,3644967840,3644967841,3644967805,3644967757,3644967784,3644967835,3644967833,3644967803,3644967760,3644967836,3644967821,3644967765,3644967755,3644967799,3644967767,3644967763,3644967815,3644967825,3644967787,3644967832,3644967811,3644967762,3644967773,3644967810,3644967758,3644967830,3644967807,3644967837,3644967838,3644967801,3644967809,3644955869,3644955934,3644955876,3644955873,3644955892,3644955904,3644955882,3644955867,3644955908,3644955900,3644955932,3644955913,3644955914,3644955886,3644955897,3644955877,3644955928,3644955901,3644955859,3644955866,3644955865,3644955871,3644955925,3644955889,3644955899,3644955898,3644955903,3644955868,3644955864,3644955909,3644955878,3644955911,3644955902,3644955858,3644955922,3644955918,3644955935,3644955872,3644955860,3644955936,3644955879,3644955896,3644955861,3644955887,3644955875,3644955920,3644955912,3644955929,3644955890,3644955881,3644955907,3644955862,3644955931,3644955916,3644955891,3644955884,3644955870,3644955863,3644955895,3644955905,3644955915,3644955930,3644955921,3644955893,3644955927,3644955917,3644955883,3644955923,3644955894,3644955926,3644955910,3644955885,3644955924,3644955906,3644955880,3644955888,3644955919,3644955874,3644955933,3644953768,3644953777,3644953754,3644953753,3644953761,3644953766,3644953776,3644953747,3644953783,3644953788,3644953797,3644953778,3644953752,3644953780,3644953785,3644953764,3644953800,3644953782,3644953809,3644953795,3644953737,3644953806,3644953804,3644953803,3644953741,3644953763,3644953765,3644953801,3644953772,3644953793,3644953740,3644953751,3644953794,3644953786,3644953735,3644953739,3644953749,3644953750,3644953743,3644953738,3644953756,3644953744,3644953798,3644953748,3644953787,3644953792,3644953742,3644953779,3644953802,3644953774,3644953762,3644953755,3644953736,3644953745,3644953760,3644953767,3644953784,3644953796,3644953770,3644953758,3644953789,3644953807,3644953757,3644953775,3644953805,3644953746,3644953799,3644953771,3644953790,3644953759,3644953769,3644953808,3644953781,3644953773,3644953791) 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 20095872, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073546; 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 =20095872 and b.mtr_portfolio_id = 20073546; 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 = 20073546; 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 = 20073546; 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=20073547 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 (1332987551,1332987555,1332987557,1332987591,1332987593,1332987599,1332987603,1332987617,1332987619,1332987629,1332987635,1332987639,1332987794,1332987795,1332987796,1332987797,1332987798,1332987799,1332987800,1332987801,1332987802,1332987803,1332987804,1332987805,1332987806,1332987807,1332987809,1332987810,1332987811,1332987812,1332987813,1332987814,1332987815,1332987816,1332987817,1332987818,1332987819,1332987820,1332987821,1332987822,1332987823,1332987824,1332987825,1332987826,1332987827,1332987828,1332987829,1332987830,1332987831,1332987832,1332987833,1332987834,1332987835,1332987836,1332987837,1332987838,1332987839,1332987840,1332987841,1332987842,1332987844,1332987845,1332987846,1332987847,1332987848,1332987849,1332987850,1332987851,1332987852,1332987853,1332987854,1332987855,1332987856,1332987857,1332987858,1332987859,1332987861,1332987862,1332987863,1332987864,1332987865,1332987866,1332987867,1332987868,1332987869,1332987870,1332987871,1332987872,1332987873,1332987874,1332987876,1332987877,1332987878,1332987879,1332987880,1332987881,1332987882,1332987883,1332987884,1332987885,1332987886,1332987887,1332987888,1332987889,1332987890,1332987891,1332987892,1332987893,1332987894,1332987895,1332987896,1332987897,1332987898,1332987899,1332987900,1332987901,1332987902,1332987903,1332987904,1332987905,1332987906,1332987907,1332987908,1332987909,1332987910,1332987911,1332987912,1332987913,1332987914,1332987915,1332987916,1332987917,1332987919,1332987920,1332987921,1332987922,1332987923,1332987924,1332987925,1332988074,1332988078,1332988083,1332988084,1332988085,1332988088,1332988111,1332988113,1332988145,1332988201,1332988203,1332988208,1332988209,1332988210,1332988219,1332988733,1332988735,1332988741) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974895,1332974860,1332974855,1332974852,1332974847,1332974893,1332974865) and `type` in (4855) Loaded 658 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095873, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073547; 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 =20095873 and b.mtr_portfolio_id = 20073547; 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 = 20073547; 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 = 20073547; 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=20073548 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 (1332988060,1332988082,1332988106) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974865,1332974852) and `type` in (4855) Loaded 252 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095874, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073548; 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 =20095874 and b.mtr_portfolio_id = 20073548; 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 = 20073548; 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 = 20073548; 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=20073549 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 (1332988155,1332988236,1332988173,1332988172,1332988170,1332988169,1332988166,1332988165,1332988164,1332988163,1332988160,1332988159,1332988158,1332988157,1332988156,1332987875,1332988154,1332988152,1332988151,1332988150,1332988149,1332988144,1332988141,1332988116,1332988095,1332988094,1332988090,1332988087,1332988067,1332988058) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974855,1332974901,1332974895,1332974860,1332974847,1332974893,1332974865,1332974852) and `type` in (4855) Loaded 658 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095875, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073549; 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 =20095875 and b.mtr_portfolio_id = 20073549; 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 = 20073549; 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 = 20073549; 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=20073550 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 (1332988061,1332988177,1332988178,1332988179,1332988180,1332988220) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974855,1332974847) and `type` in (4855) Loaded 243 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095876, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073550; 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 =20095876 and b.mtr_portfolio_id = 20073550; 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 = 20073550; 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 = 20073550; 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=20073555 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 (1332987567,1332987623,1332988076,1332988114) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974893,1332974852,1332974847) and `type` in (4855) Loaded 251 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) 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 20095879, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073555; 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 =20095879 and b.mtr_portfolio_id = 20073555; 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 = 20073555; 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 = 20073555; 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=20073557 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 (1332988070) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974893) and `type` in (4855) Loaded 70 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) begin to find the sub_photo_id : insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id) select 20095881, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073557; 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 =20095881 and b.mtr_portfolio_id = 20073557; 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 = 20073557; 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 = 20073557; 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=20073558 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 20095882, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073558; 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 =20095882 and b.mtr_portfolio_id = 20073558; 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 = 20073558; 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 = 20073558; 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=20073559 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 20095883, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073559; 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 =20095883 and b.mtr_portfolio_id = 20073559; 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 = 20073559; 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 = 20073559; 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=20073560 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 20095884, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073560; 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 =20095884 and b.mtr_portfolio_id = 20073560; 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 = 20073560; 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 = 20073560; 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=20073561 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 20095885, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073561; 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 =20095885 and b.mtr_portfolio_id = 20073561; 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 = 20073561; 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 = 20073561; 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=20073562 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 20095886, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073562; 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 =20095886 and b.mtr_portfolio_id = 20073562; 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 = 20073562; 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 = 20073562; 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=20073564 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 (1332988174,1332988215,1332988216) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974860,1332974855) and `type` in (4855) Loaded 249 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095887, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073564; 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 =20095887 and b.mtr_portfolio_id = 20073564; 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 = 20073564; 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 = 20073564; 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=20073565 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 (1332989189,1332989173,1332989174,1332989175,1332989176,1332989177,1332989178,1332989179,1332989180,1332989181,1332989182,1332989184,1332989185,1332989186,1332989187,1332989188,1332989170,1332989190,1332989191,1332989192,1332989194,1332989198,1332989202,1332989206,1332989210,1332989214,1332989217,1332989221,1332989226,1332989238,1332989242,1332989155,1332989116,1332989120,1332989124,1332989127,1332989131,1332989138,1332989139,1332989140,1332989141,1332989142,1332989144,1332989146,1332989148,1332989149,1332989152,1332989113,1332989156,1332989157,1332989158,1332989159,1332989160,1332989161,1332989162,1332989163,1332989164,1332989165,1332989166,1332989167,1332989168,1332989169) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974895,1332974893,1332974865,1332974860,1332974855,1332974852,1332974847,1332974844) and `type` in (4855) Loaded 669 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095888, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073565; 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 =20095888 and b.mtr_portfolio_id = 20073565; 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 = 20073565; 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 = 20073565; 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=20073567 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 (1332987563,1332987621,1332988153,1332988181,1332988729,1332988732,1332988734) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974895,1332974852,1332974865) and `type` in (4855) Loaded 256 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936) 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 20095877, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073567; 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 =20095877 and b.mtr_portfolio_id = 20073567; 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 = 20073567; 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 = 20073567; 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=20073568 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 (1332988232,1332988107,1332988108,1332988109,1332988110,1332988115,1332988117,1332988146,1332988162,1332988167,1332988168,1332988175,1332988176,1332988231,1332988105,1332988731,1332988739,1332989135,1332989145,1332989147,1332989150,1332989151,1332989153,1332989154,1332989171,1332989183,1332989229,1332989234,1332987601,1332987559,1332987561,1332987569,1332987571,1332987573,1332987575,1332987577,1332987579,1332987581,1332987583,1332987587,1332987595,1332987597,1332987549,1332987605,1332987609,1332987611,1332987627,1332987633,1332987647,1332988059,1332988071,1332988073,1332988092,1332988101,1332988102,1332988103) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974895,1332974893,1332974865,1332974860,1332974855,1332974852,1332974847,1332974844) and `type` in (4855) Loaded 669 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095889, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073568; 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 =20095889 and b.mtr_portfolio_id = 20073568; 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 = 20073568; 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 = 20073568; 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=20073569 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 (1332988214,1332988139,1332988140,1332988142,1332988143,1332988147,1332988148,1332988200,1332988206,1332988213,1332988118,1332988217,1332988218,1332988541,1332988542,1332988736,1332988737,1332988738,1332988740,1332988081,1332987641,1332987649,1332988064,1332988066,1332988069,1332988072,1332988075,1332988079,1332988080,1332987589,1332988093,1332988096,1332988097,1332988098,1332988099,1332988100,1332988104,1332988112) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974865,1332974847,1332974844,1332974895,1332974893,1332974860,1332974855,1332974852,1332974901) and `type` in (4855) Loaded 669 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978462,3644978463,3644978464,3644978465,3644978466,3644978467,3644978468,3644978469,3644978470,3644978471,3644978472,3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644970450,3644970451,3644970452,3644970453,3644970454,3644970455,3644970456,3644970457,3644970458,3644970459,3644970460,3644970461,3644970462,3644970463,3644970464,3644970465,3644970466,3644970467,3644970468,3644970469,3644970470,3644970471,3644970472,3644970473,3644970474,3644970475,3644970476,3644970477,3644970478,3644970479,3644970480,3644970481,3644970482,3644970483,3644970484,3644970485,3644970486,3644970487,3644970488,3644970489,3644970490,3644970491,3644970492,3644970493,3644970494,3644970495,3644970496,3644970497,3644970498,3644970499,3644970500,3644970501,3644970502,3644970503,3644970504,3644970505,3644970506,3644970507,3644970508,3644970509,3644970510,3644970511,3644970512,3644970513,3644970514,3644970515,3644970516,3644970517,3644970518,3644970519,3644970520,3644970521,3644970522,3644970523,3644970524,3644970525,3644970526,3644970527,3644970528,3644970529,3644970530,3644970531,3644970532,3644970533,3644970534,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095891, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073569; 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 =20095891 and b.mtr_portfolio_id = 20073569; 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 = 20073569; 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 = 20073569; 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=20073570 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 (1332987565,1332987585,1332987643,1332988063,1332988065,1332988077,1332988086,1332988202,1332988204,1332988212,1332988742) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974893,1332974865,1332974847,1332974901,1332974895,1332974860,1332974852) and `type` in (4855) Loaded 573 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644978322,3644978323,3644978324,3644978325,3644978326,3644978327,3644978328,3644978329,3644978330,3644978331,3644978332,3644978333,3644978334,3644978335,3644978336,3644978337,3644978338,3644978339,3644978340,3644978341,3644978342,3644978343,3644978344,3644978345,3644978346,3644978347,3644978348,3644978349,3644978350,3644978351,3644978352,3644978353,3644978354,3644978355,3644978356,3644978357,3644978358,3644978359,3644978360,3644978361,3644978362,3644978363,3644978364,3644978365,3644978366,3644978367,3644978368,3644978369,3644978370,3644978371,3644978372,3644978373,3644978374,3644978375,3644978376,3644978377,3644978378,3644978379,3644978380,3644978381,3644978382,3644978383,3644978384,3644978385,3644978386,3644978387,3644978388,3644978389,3644978390,3644978391,3644978392,3644978393,3644978394,3644978395,3644978396,3644978397,3644978398,3644978399,3644978400,3644978401,3644978402,3644978403,3644978404,3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644958903,3644958904,3644958905,3644958906,3644958907,3644958908,3644958909,3644958910,3644958911,3644958912,3644958913,3644958914,3644958915,3644958916,3644958917,3644958918,3644958919,3644958920,3644958921,3644958922,3644958923,3644958924,3644958925,3644958926,3644958927,3644958928,3644958929,3644958930,3644958931,3644958932,3644958933,3644958934,3644958935,3644958936,3644958937,3644958938,3644958939,3644958940,3644958941,3644958942,3644958943,3644958944,3644958945,3644958946,3644958947,3644958948,3644958949,3644958950,3644958951,3644958952,3644958953,3644958954,3644958955,3644958956,3644958957,3644958958,3644958959,3644958960,3644958961,3644958962,3644958963,3644958964,3644958965,3644958966,3644958967,3644958968,3644958969,3644958970,3644958971,3644958972,3644958973,3644958974,3644958975,3644958976,3644958977,3644958978,3644958979,3644958980,3644958981,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100,3644955858,3644955859,3644955860,3644955861,3644955862,3644955863,3644955864,3644955865,3644955866,3644955867,3644955868,3644955869,3644955870,3644955871,3644955872,3644955873,3644955874,3644955875,3644955876,3644955877,3644955878,3644955879,3644955880,3644955881,3644955882,3644955883,3644955884,3644955885,3644955886,3644955887,3644955888,3644955889,3644955890,3644955891,3644955892,3644955893,3644955894,3644955895,3644955896,3644955897,3644955898,3644955899,3644955900,3644955901,3644955902,3644955903,3644955904,3644955905,3644955906,3644955907,3644955908,3644955909,3644955910,3644955911,3644955912,3644955913,3644955914,3644955915,3644955916,3644955917,3644955918,3644955919,3644955920,3644955921,3644955922,3644955923,3644955924,3644955925,3644955926,3644955927,3644955928,3644955929,3644955930,3644955931,3644955932,3644955933,3644955934,3644955935,3644955936,3644953735,3644953736,3644953737,3644953738,3644953739,3644953740,3644953741,3644953742,3644953743,3644953744,3644953745,3644953746,3644953747,3644953748,3644953749,3644953750,3644953751,3644953752,3644953753,3644953754,3644953755,3644953756,3644953757,3644953758,3644953759,3644953760,3644953761,3644953762,3644953763,3644953764,3644953765,3644953766,3644953767,3644953768,3644953769,3644953770,3644953771,3644953772,3644953773,3644953774,3644953775,3644953776,3644953777,3644953778,3644953779,3644953780,3644953781,3644953782,3644953783,3644953784,3644953785,3644953786,3644953787,3644953788,3644953789,3644953790,3644953791,3644953792,3644953793,3644953794,3644953795,3644953796,3644953797,3644953798,3644953799,3644953800,3644953801,3644953802,3644953803,3644953804,3644953805,3644953806,3644953807,3644953808,3644953809) 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 20095878, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073570; 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 =20095878 and b.mtr_portfolio_id = 20073570; 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 = 20073570; 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 = 20073570; 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=20073571 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 (1332987615,1332988205,1332988211) batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974852,1332974893,1332974860) and `type` in (4855) Loaded 257 chid ids of type : 4855 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3644976802,3644976803,3644976804,3644976805,3644976806,3644976807,3644976808,3644976809,3644976810,3644976811,3644976812,3644976813,3644976814,3644976815,3644976816,3644976817,3644976818,3644976819,3644976820,3644976821,3644976822,3644976823,3644976824,3644976825,3644976826,3644976827,3644976828,3644976829,3644976830,3644976831,3644976832,3644976833,3644976834,3644976835,3644976836,3644976837,3644976838,3644976839,3644976840,3644976841,3644976842,3644976843,3644976844,3644976845,3644976846,3644976847,3644976848,3644976849,3644976850,3644976851,3644976852,3644976853,3644976854,3644976855,3644976856,3644976857,3644976858,3644976859,3644976860,3644976861,3644976862,3644976863,3644976864,3644976865,3644976866,3644976867,3644976868,3644976869,3644976870,3644976871,3644976872,3644976873,3644976874,3644976875,3644976876,3644976877,3644976878,3644976879,3644976880,3644976881,3644976882,3644976883,3644976884,3644976885,3644976886,3644976887,3644976888,3644976889,3644976890,3644976891,3644976892,3644976893,3644976894,3644976895,3644976896,3644976897,3644976898,3644976899,3644967754,3644967755,3644967756,3644967757,3644967758,3644967759,3644967760,3644967761,3644967762,3644967763,3644967764,3644967765,3644967766,3644967767,3644967768,3644967769,3644967770,3644967771,3644967772,3644967773,3644967774,3644967775,3644967776,3644967777,3644967778,3644967779,3644967780,3644967781,3644967782,3644967783,3644967784,3644967785,3644967786,3644967787,3644967788,3644967789,3644967790,3644967791,3644967792,3644967793,3644967794,3644967795,3644967796,3644967797,3644967798,3644967799,3644967800,3644967801,3644967802,3644967803,3644967804,3644967805,3644967806,3644967807,3644967808,3644967809,3644967810,3644967811,3644967812,3644967813,3644967814,3644967815,3644967816,3644967817,3644967818,3644967819,3644967820,3644967821,3644967822,3644967823,3644967824,3644967825,3644967826,3644967827,3644967828,3644967829,3644967830,3644967831,3644967832,3644967833,3644967834,3644967835,3644967836,3644967837,3644967838,3644967839,3644967840,3644967841,3644967842,3644957031,3644957032,3644957033,3644957034,3644957035,3644957036,3644957037,3644957038,3644957039,3644957040,3644957041,3644957042,3644957043,3644957044,3644957045,3644957046,3644957047,3644957048,3644957049,3644957050,3644957051,3644957052,3644957053,3644957054,3644957055,3644957056,3644957057,3644957058,3644957059,3644957060,3644957061,3644957062,3644957063,3644957064,3644957065,3644957066,3644957067,3644957068,3644957069,3644957070,3644957071,3644957072,3644957073,3644957074,3644957075,3644957076,3644957077,3644957078,3644957079,3644957080,3644957081,3644957082,3644957083,3644957084,3644957085,3644957086,3644957087,3644957088,3644957089,3644957090,3644957091,3644957092,3644957093,3644957094,3644957095,3644957096,3644957097,3644957098,3644957099,3644957100) 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 20095880, mtr_photo_id, 0 from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20073571; 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 =20095880 and b.mtr_portfolio_id = 20073571; 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 = 20073571; 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 = 20073571; UPDATE MTRPhoto.mtr_port_to_port_ids set last_updated_at_asc=NOW(), updated_at=NOW() WHERE id in (12795905,12795906,12795907,12795908,12795909,12795914,12795916,12795917,12795918,12795919,12795920,12795921,12795923,12795924,12795926,12795927,12795928,12795929,12795930); UPDATE MTRPhoto.mtr_port_to_port_ids set last_updated_at_asc=NOW(), updated_at=NOW() WHERE id in (12814884,12814885,12814886,12814887,12814888,12814891,12814893,12814894,12814895,12814896,12814897,12814898,12814899,12814900,12814889,12814901,12814902,12814890,12814892); 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([20072575]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : consolidate_hashtags_from_manual_portfolio we use saveGeneral [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] map_info['map_portfolio_photo'] : {20072575: [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844]} final : False mtd_id 4742 list_pids : [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] 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 : 9 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', '20072575', '1332974901', '0', '0', '-1.0', '501120777', '1.0', '2544299'), ('4742', '20072575', '1332974895', '0', '0', '-1.0', '501120777', '1.0', '2544299'), ('4742', '20072575', '1332974893', '0', '0', '-1.0', '501120777', '1.0', '2544299'), ('4742', '20072575', '1332974865', '0', '0', '-1.0', '501120777', '1.0', '2544299'), ('4742', '20072575', '1332974860', '0', '0', '-1.0', '501120777', '1.0', '2544299'), ('4742', '20072575', '1332974855', '0', '0', '-1.0', '501120777', '1.0', '2544299'), ('4742', '20072575', '1332974852', '0', '0', '-1.0', '501120777', '1.0', '2544299'), ('4742', '20072575', '1332974847', '0', '0', '-1.0', '501120777', '1.0', '2544299'), ('4742', '20072575', '1332974844', '0', '0', '-1.0', '501120777', '1.0', '2544299')] time used for this insertion : 0.01290583610534668 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.464899063110352 time spend to save output : 0.01318359375 total time spend for step 2 : 15.478082656860352 step3:rle_unique_nms_with_priority Tue Feb 4 10:46:47 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/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.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 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :9, first value : ['temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg'] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} Begin step rle-unique-nms on traite la photo : temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg on traite la photo : temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg on traite la photo : temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg on traite la photo : temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg on traite la photo : temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg on traite la photo : temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg on traite la photo : temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg on traite la photo : temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg on traite la photo : temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg batch 1 select photo_id, hashtag_id, `type`, x0, x1, y0, y1, score, id from MTRPhoto.crop_hashtag_ids where photo_id in ( 1332974901,1332974895,1332974893,1332974865,1332974860,1332974855,1332974852,1332974847,1332974844) 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 314 chid ids of type : 4857 SELECT crop_hashtag_id, points FROM MTRPhoto.crop_polygon_points WHERE crop_hashtag_id in (3646296085,3646296088,3646296089,3646296090,3646296091,3646296176,3646296179,3646296183,3646296468,3646296225,3646296175,3646296226,3646296178,3646296227,3646296228,3646296229,3646296465,3646296467,3646296180,3646296230,3646296231,3646296232,3646296233,3646296234,3646296235,3646296236,3646296237,3646296238,3646296092,3646296093,3646296094,3646296095,3646296096,3646296097,3646296098,3646296099,3646296100,3646296557,3646296669,3646296558,3646296559,3646296524,3646296525,3646296470,3646296566,3646296526,3646296527,3646296182,3646296480,3646296185,3646296191,3646296190,3646296239,3646296240,3646296241,3646296187,3646296242,3646296188,3646296243,3646296244,3646296245,3646296246,3646296247,3646296670,3646296248,3646296249,3646296250,3646296251,3646296252,3646296253,3646296254,3646296255,3646296256,3646296257,3646296258,3646296259,3646296260,3646296261,3646296101,3646296102,3646296103,3646296104,3646296105,3646296106,3646296107,3646296108,3646296109,3646296110,3646296111,3646296112,3646296528,3646296529,3646296530,3646296189,3646296567,3646296186,3646296195,3646296536,3646296262,3646296193,3646296263,3646296264,3646296266,3646296267,3646296268,3646296269,3646296270,3646296271,3646296272,3646296273,3646296274,3646296569,3646296275,3646296276,3646296277,3646296114,3646296115,3646296116,3646296117,3646296118,3646296119,3646296120,3646296121,3646296122,3646296123,3646296124,3646296560,3646296532,3646296483,3646296265,3646296484,3646296533,3646296534,3646296535,3646296538,3646296671,3646296495,3646296278,3646296279,3646296488,3646296280,3646296489,3646296198,3646296281,3646296490,3646296282,3646296283,3646296199,3646296284,3646296285,3646296202,3646296286,3646296493,3646296287,3646296288,3646296289,3646296290,3646296291,3646296292,3646296293,3646296126,3646296127,3646296128,3646296129,3646296130,3646296131,3646296132,3646296133,3646296134,3646296135,3646296136,3646296137,3646296138,3646296139,3646296140,3646296141,3646296539,3646296492,3646296494,3646296678,3646296491,3646296675,3646296674,3646296502,3646296294,3646296295,3646296296,3646296297,3646296498,3646296679,3646296298,3646296299,3646296300,3646296301,3646296680,3646296302,3646296303,3646296681,3646296304,3646296305,3646296306,3646296307,3646296308,3646296309,3646296310,3646296311,3646296312,3646296313,3646296143,3646296146,3646296147,3646296148,3646296149,3646296540,3646296542,3646296543,3646296541,3646296207,3646296211,3646296509,3646296314,3646296315,3646296316,3646296317,3646296318,3646296319,3646296574,3646296320,3646296682,3646296321,3646296507,3646296322,3646296323,3646296324,3646296325,3646296326,3646296151,3646296152,3646296154,3646296155,3646296156,3646296157,3646296503,3646296544,3646296545,3646296546,3646296210,3646296683,3646296510,3646296684,3646296515,3646296327,3646296217,3646296328,3646296329,3646296330,3646296331,3646296687,3646296332,3646296578,3646296333,3646296549,3646296334,3646296335,3646296336,3646296337,3646296338,3646296160,3646296161,3646296162,3646296163,3646296164,3646296165,3646296548,3646296514,3646296575,3646296577,3646296220,3646296579,3646296666,3646296688,3646296512,3646296519,3646296223,3646296521,3646296339,3646296340,3646296341,3646296222,3646296342,3646296343,3646296344,3646296345,3646296346,3646296224,3646296347,3646296348,3646296349,3646296350,3646296351,3646296352,3646296166,3646296167,3646296168,3646296169,3646296170,3646296171,3646296172,3646296173,3646296520,3646296517,3646296555,3646296563,3646296522) SELECT * FROM MTRPhoto.crop_segments WHERE crop_hashtag_id in (3646296085,3646296088,3646296089,3646296090,3646296091,3646296176,3646296179,3646296183,3646296468,3646296225,3646296175,3646296226,3646296178,3646296227,3646296228,3646296229,3646296465,3646296467,3646296180,3646296230,3646296231,3646296232,3646296233,3646296234,3646296235,3646296236,3646296237,3646296238,3646296092,3646296093,3646296094,3646296095,3646296096,3646296097,3646296098,3646296099,3646296100,3646296557,3646296669,3646296558,3646296559,3646296524,3646296525,3646296470,3646296566,3646296526,3646296527,3646296182,3646296480,3646296185,3646296191,3646296190,3646296239,3646296240,3646296241,3646296187,3646296242,3646296188,3646296243,3646296244,3646296245,3646296246,3646296247,3646296670,3646296248,3646296249,3646296250,3646296251,3646296252,3646296253,3646296254,3646296255,3646296256,3646296257,3646296258,3646296259,3646296260,3646296261,3646296101,3646296102,3646296103,3646296104,3646296105,3646296106,3646296107,3646296108,3646296109,3646296110,3646296111,3646296112,3646296528,3646296529,3646296530,3646296189,3646296567,3646296186,3646296195,3646296536,3646296262,3646296193,3646296263,3646296264,3646296266,3646296267,3646296268,3646296269,3646296270,3646296271,3646296272,3646296273,3646296274,3646296569,3646296275,3646296276,3646296277,3646296114,3646296115,3646296116,3646296117,3646296118,3646296119,3646296120,3646296121,3646296122,3646296123,3646296124,3646296560,3646296532,3646296483,3646296265,3646296484,3646296533,3646296534,3646296535,3646296538,3646296671,3646296495,3646296278,3646296279,3646296488,3646296280,3646296489,3646296198,3646296281,3646296490,3646296282,3646296283,3646296199,3646296284,3646296285,3646296202,3646296286,3646296493,3646296287,3646296288,3646296289,3646296290,3646296291,3646296292,3646296293,3646296126,3646296127,3646296128,3646296129,3646296130,3646296131,3646296132,3646296133,3646296134,3646296135,3646296136,3646296137,3646296138,3646296139,3646296140,3646296141,3646296539,3646296492,3646296494,3646296678,3646296491,3646296675,3646296674,3646296502,3646296294,3646296295,3646296296,3646296297,3646296498,3646296679,3646296298,3646296299,3646296300,3646296301,3646296680,3646296302,3646296303,3646296681,3646296304,3646296305,3646296306,3646296307,3646296308,3646296309,3646296310,3646296311,3646296312,3646296313,3646296143,3646296146,3646296147,3646296148,3646296149,3646296540,3646296542,3646296543,3646296541,3646296207,3646296211,3646296509,3646296314,3646296315,3646296316,3646296317,3646296318,3646296319,3646296574,3646296320,3646296682,3646296321,3646296507,3646296322,3646296323,3646296324,3646296325,3646296326,3646296151,3646296152,3646296154,3646296155,3646296156,3646296157,3646296503,3646296544,3646296545,3646296546,3646296210,3646296683,3646296510,3646296684,3646296515,3646296327,3646296217,3646296328,3646296329,3646296330,3646296331,3646296687,3646296332,3646296578,3646296333,3646296549,3646296334,3646296335,3646296336,3646296337,3646296338,3646296160,3646296161,3646296162,3646296163,3646296164,3646296165,3646296548,3646296514,3646296575,3646296577,3646296220,3646296579,3646296666,3646296688,3646296512,3646296519,3646296223,3646296521,3646296339,3646296340,3646296341,3646296222,3646296342,3646296343,3646296344,3646296345,3646296346,3646296224,3646296347,3646296348,3646296349,3646296350,3646296351,3646296352,3646296166,3646296167,3646296168,3646296169,3646296170,3646296171,3646296172,3646296173,3646296520,3646296517,3646296555,3646296563,3646296522) SELECT * FROM MTRPhoto.crop_sum_segments WHERE crop_hashtag_id in (3646296085,3646296088,3646296089,3646296090,3646296091,3646296176,3646296179,3646296183,3646296468,3646296225,3646296175,3646296226,3646296178,3646296227,3646296228,3646296229,3646296465,3646296467,3646296180,3646296230,3646296231,3646296232,3646296233,3646296234,3646296235,3646296236,3646296237,3646296238,3646296092,3646296093,3646296094,3646296095,3646296096,3646296097,3646296098,3646296099,3646296100,3646296557,3646296669,3646296558,3646296559,3646296524,3646296525,3646296470,3646296566,3646296526,3646296527,3646296182,3646296480,3646296185,3646296191,3646296190,3646296239,3646296240,3646296241,3646296187,3646296242,3646296188,3646296243,3646296244,3646296245,3646296246,3646296247,3646296670,3646296248,3646296249,3646296250,3646296251,3646296252,3646296253,3646296254,3646296255,3646296256,3646296257,3646296258,3646296259,3646296260,3646296261,3646296101,3646296102,3646296103,3646296104,3646296105,3646296106,3646296107,3646296108,3646296109,3646296110,3646296111,3646296112,3646296528,3646296529,3646296530,3646296189,3646296567,3646296186,3646296195,3646296536,3646296262,3646296193,3646296263,3646296264,3646296266,3646296267,3646296268,3646296269,3646296270,3646296271,3646296272,3646296273,3646296274,3646296569,3646296275,3646296276,3646296277,3646296114,3646296115,3646296116,3646296117,3646296118,3646296119,3646296120,3646296121,3646296122,3646296123,3646296124,3646296560,3646296532,3646296483,3646296265,3646296484,3646296533,3646296534,3646296535,3646296538,3646296671,3646296495,3646296278,3646296279,3646296488,3646296280,3646296489,3646296198,3646296281,3646296490,3646296282,3646296283,3646296199,3646296284,3646296285,3646296202,3646296286,3646296493,3646296287,3646296288,3646296289,3646296290,3646296291,3646296292,3646296293,3646296126,3646296127,3646296128,3646296129,3646296130,3646296131,3646296132,3646296133,3646296134,3646296135,3646296136,3646296137,3646296138,3646296139,3646296140,3646296141,3646296539,3646296492,3646296494,3646296678,3646296491,3646296675,3646296674,3646296502,3646296294,3646296295,3646296296,3646296297,3646296498,3646296679,3646296298,3646296299,3646296300,3646296301,3646296680,3646296302,3646296303,3646296681,3646296304,3646296305,3646296306,3646296307,3646296308,3646296309,3646296310,3646296311,3646296312,3646296313,3646296143,3646296146,3646296147,3646296148,3646296149,3646296540,3646296542,3646296543,3646296541,3646296207,3646296211,3646296509,3646296314,3646296315,3646296316,3646296317,3646296318,3646296319,3646296574,3646296320,3646296682,3646296321,3646296507,3646296322,3646296323,3646296324,3646296325,3646296326,3646296151,3646296152,3646296154,3646296155,3646296156,3646296157,3646296503,3646296544,3646296545,3646296546,3646296210,3646296683,3646296510,3646296684,3646296515,3646296327,3646296217,3646296328,3646296329,3646296330,3646296331,3646296687,3646296332,3646296578,3646296333,3646296549,3646296334,3646296335,3646296336,3646296337,3646296338,3646296160,3646296161,3646296162,3646296163,3646296164,3646296165,3646296548,3646296514,3646296575,3646296577,3646296220,3646296579,3646296666,3646296688,3646296512,3646296519,3646296223,3646296521,3646296339,3646296340,3646296341,3646296222,3646296342,3646296343,3646296344,3646296345,3646296346,3646296224,3646296347,3646296348,3646296349,3646296350,3646296351,3646296352,3646296166,3646296167,3646296168,3646296169,3646296170,3646296171,3646296172,3646296173,3646296520,3646296517,3646296555,3646296563,3646296522) 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 38 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031850337982177734 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 46 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03236556053161621 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 45 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14780116081237793 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 49 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031819820404052734 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 56 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032670021057128906 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 52 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03099799156188965 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 59 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03224802017211914 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 55 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030990123748779297 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 8 chid ids of type : 4857 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027225732803344727 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 : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, '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([20072575]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] map_info['map_portfolio_photo'] : {20072575: [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844]} final : False mtd_id 4742 list_pids : [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] Looping around the photos to save general results len do output : 9 /1332974901.Didn't retrieve data . /1332974895.Didn't retrieve data . /1332974893.Didn't retrieve data . /1332974865.Didn't retrieve data . /1332974860.Didn't retrieve data . /1332974855.Didn't retrieve data . /1332974852.Didn't retrieve data . /1332974847.Didn't retrieve data . /1332974844.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, '2544299') ('4742', '20072575', '1332974901', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '20072575', '1332974901', '0.059727968911275776', None, None, None, None, '2544299'), ('4742', '20072575', '1332974895', '0.059727968911275776', None, None, None, None, '2544299'), ('4742', '20072575', '1332974893', '0.059727968911275776', None, None, None, None, '2544299'), ('4742', '20072575', '1332974865', '0.059727968911275776', None, None, None, None, '2544299'), ('4742', '20072575', '1332974860', '0.059727968911275776', None, None, None, None, '2544299'), ('4742', '20072575', '1332974855', '0.059727968911275776', None, None, None, None, '2544299'), ('4742', '20072575', '1332974852', '0.059727968911275776', None, None, None, None, '2544299'), ('4742', '20072575', '1332974847', '0.059727968911275776', None, None, None, None, '2544299'), ('4742', '20072575', '1332974844', '0.059727968911275776', None, None, None, None, '2544299')] time used for this insertion : 0.011967658996582031 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.142320156097412 time spend to save output : 0.012481927871704102 total time spend for step 3 : 2.154802083969116 step4:ventilate_hashtags_in_portfolio Tue Feb 4 10:46:49 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 (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 20072575 get user id for portfolio 20072575 get sub ptf for main ptf 20072575, 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`=20072575 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`=20072575 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': 20072575, 'sub_port_id': 20095872, 'hashtag': 'papier', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814884, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'carton': {'main_port_id': 20072575, 'sub_port_id': 20095873, 'hashtag': 'carton', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814885, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'metal': {'main_port_id': 20072575, 'sub_port_id': 20095874, 'hashtag': 'metal', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814886, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'pet_clair': {'main_port_id': 20072575, 'sub_port_id': 20095875, 'hashtag': 'pet_clair', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814887, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'pehd': {'main_port_id': 20072575, 'sub_port_id': 20095876, 'hashtag': 'pehd', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814888, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'flux_dev': {'main_port_id': 20072575, 'sub_port_id': 20095877, 'hashtag': 'flux_dev', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814889, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'film_dev_souple': {'main_port_id': 20072575, 'sub_port_id': 20095878, 'hashtag': 'film_dev_souple', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814890, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'ela': {'main_port_id': 20072575, 'sub_port_id': 20095879, 'hashtag': 'ela', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814891, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'sac_om_plein': {'main_port_id': 20072575, 'sub_port_id': 20095880, 'hashtag': 'sac_om_plein', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814892, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'textiles': {'main_port_id': 20072575, 'sub_port_id': 20095881, 'hashtag': 'textiles', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814893, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'verre': {'main_port_id': 20072575, 'sub_port_id': 20095882, 'hashtag': 'verre', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814894, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'organique': {'main_port_id': 20072575, 'sub_port_id': 20095883, 'hashtag': 'organique', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814895, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'dasri': {'main_port_id': 20072575, 'sub_port_id': 20095884, 'hashtag': 'dasri', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814896, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'masque': {'main_port_id': 20072575, 'sub_port_id': 20095885, 'hashtag': 'masque', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814897, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'encombrant': {'main_port_id': 20072575, 'sub_port_id': 20095886, 'hashtag': 'encombrant', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814898, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'autre_non_emballage': {'main_port_id': 20072575, 'sub_port_id': 20095887, 'hashtag': 'autre_non_emballage', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814899, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'environnement': {'main_port_id': 20072575, 'sub_port_id': 20095888, 'hashtag': 'environnement', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814900, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'mal_croppe': {'main_port_id': 20072575, 'sub_port_id': 20095889, 'hashtag': 'mal_croppe', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814901, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'flou': {'main_port_id': 20072575, 'sub_port_id': 20095891, 'hashtag': 'flou', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814902, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'pet_fonce': {'main_port_id': 20072575, 'sub_port_id': 20095892, 'hashtag': 'pet_fonce', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814903, 'last_updated_at': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 4, 30, 54)}, 'pet_opaque': {'main_port_id': 20072575, 'sub_port_id': 20095893, 'hashtag': 'pet_opaque', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814904, 'last_updated_at': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 4, 30, 54)}, 'barquette_opaque': {'main_port_id': 20072575, 'sub_port_id': 20095894, 'hashtag': 'barquette_opaque', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814905, 'last_updated_at': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 4, 30, 54)}, 'film_plastique': {'main_port_id': 20072575, 'sub_port_id': 20095895, 'hashtag': 'film_plastique', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814906, 'last_updated_at': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 4, 30, 54)}, 'autre_emballage': {'main_port_id': 20072575, 'sub_port_id': 20095896, 'hashtag': 'autre_emballage', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814907, 'last_updated_at': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 4, 30, 54)}, 'sac': {'main_port_id': 20072575, 'sub_port_id': 20095897, 'hashtag': 'sac', 'pht': 4857, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12814908, 'last_updated_at': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 54), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 4, 30, 54)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20095872 , 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=20072575 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 20095873 , 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=20072575 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 20095874 , 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=20072575 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 20095875 , 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=20072575 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 20095876 , 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=20072575 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 20095877 , 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=20072575 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 20095878 , 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=20072575 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 20095879 , 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=20072575 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 20095880 , 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=20072575 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 20095881 , 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=20072575 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 20095882 , 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=20072575 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 20095883 , 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=20072575 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 20095884 , 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=20072575 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 20095885 , 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=20072575 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 20095886 , 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=20072575 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 20095887 , 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=20072575 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 20095888 , 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=20072575 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 20095889 , 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=20072575 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 20095891 , 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=20072575 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 20095892 , 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=20072575 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 20095893 , 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=20072575 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 20095894 , 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=20072575 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 20095895 , 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=20072575 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 20095896 , 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=20072575 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 20095897 , 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=20072575 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`=20072575 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`=20072575 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': 20072575, 'sub_port_id': 20073546, 'hashtag': 'papier', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795905, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'carton': {'main_port_id': 20072575, 'sub_port_id': 20073547, 'hashtag': 'carton', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795906, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'metal': {'main_port_id': 20072575, 'sub_port_id': 20073548, 'hashtag': 'metal', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795907, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'pet_clair': {'main_port_id': 20072575, 'sub_port_id': 20073549, 'hashtag': 'pet_clair', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795908, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'pehd': {'main_port_id': 20072575, 'sub_port_id': 20073550, 'hashtag': 'pehd', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795909, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'pet_fonce': {'main_port_id': 20072575, 'sub_port_id': 20073551, 'hashtag': 'pet_fonce', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795910, 'last_updated_at': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 1, 30, 13, 16, 57)}, 'pet_opaque': {'main_port_id': 20072575, 'sub_port_id': 20073552, 'hashtag': 'pet_opaque', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795911, 'last_updated_at': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 1, 30, 13, 16, 57)}, 'barquette_opaque': {'main_port_id': 20072575, 'sub_port_id': 20073553, 'hashtag': 'barquette_opaque', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795912, 'last_updated_at': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 1, 30, 13, 16, 57)}, 'film_plastique': {'main_port_id': 20072575, 'sub_port_id': 20073554, 'hashtag': 'film_plastique', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795913, 'last_updated_at': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 1, 30, 13, 16, 57)}, 'ela': {'main_port_id': 20072575, 'sub_port_id': 20073555, 'hashtag': 'ela', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795914, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'sac': {'main_port_id': 20072575, 'sub_port_id': 20073556, 'hashtag': 'sac', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795915, 'last_updated_at': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 1, 30, 13, 16, 57)}, 'textiles': {'main_port_id': 20072575, 'sub_port_id': 20073557, 'hashtag': 'textiles', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795916, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'verre': {'main_port_id': 20072575, 'sub_port_id': 20073558, 'hashtag': 'verre', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795917, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'organique': {'main_port_id': 20072575, 'sub_port_id': 20073559, 'hashtag': 'organique', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795918, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'dasri': {'main_port_id': 20072575, 'sub_port_id': 20073560, 'hashtag': 'dasri', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795919, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'masque': {'main_port_id': 20072575, 'sub_port_id': 20073561, 'hashtag': 'masque', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795920, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'encombrant': {'main_port_id': 20072575, 'sub_port_id': 20073562, 'hashtag': 'encombrant', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795921, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'autre_emballage': {'main_port_id': 20072575, 'sub_port_id': 20073563, 'hashtag': 'autre_emballage', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795922, 'last_updated_at': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 1, 30, 13, 16, 57)}, 'autre_non_emballage': {'main_port_id': 20072575, 'sub_port_id': 20073564, 'hashtag': 'autre_non_emballage', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795923, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'environnement': {'main_port_id': 20072575, 'sub_port_id': 20073565, 'hashtag': 'environnement', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795924, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'flux_dev': {'main_port_id': 20072575, 'sub_port_id': 20073567, 'hashtag': 'flux_dev', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795926, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'mal_croppe': {'main_port_id': 20072575, 'sub_port_id': 20073568, 'hashtag': 'mal_croppe', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795927, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'flou': {'main_port_id': 20072575, 'sub_port_id': 20073569, 'hashtag': 'flou', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795928, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'film_dev_souple': {'main_port_id': 20072575, 'sub_port_id': 20073570, 'hashtag': 'film_dev_souple', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795929, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 30, 13, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}, 'sac_om_plein': {'main_port_id': 20072575, 'sub_port_id': 20073571, 'hashtag': 'sac_om_plein', 'pht': 4856, 'min_score': 0.1, 'mtr_user_id': 775, 'id': 12795930, 'last_updated_at': datetime.datetime(2025, 2, 4, 10, 46, 47), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 4, 30, 55), 'last_updated_at_asc': datetime.datetime(2025, 2, 4, 10, 46, 47)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073546,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095872 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073547,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095873 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073548,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095874 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073549,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095875 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073550,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095876 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073551,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095892 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073552,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095893 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073553,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095894 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073554,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095895 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073555,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095879 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073556,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095897 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073557,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095881 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073558,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095882 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073559,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095883 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073560,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095884 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073561,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095885 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073562,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095886 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073563,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095896 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073564,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095887 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073565,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095888 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073567,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095877 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073568,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095889 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073569,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095891 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073570,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095878 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20073571,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20095880 insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 20073567,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (20073551); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 20073567,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (20073552); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 20073567,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (20073553); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 20073570,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (20073554); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 20073571,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (20073556); insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id , mtr_user_id, created_at) select 20073567,mtr_photo_id,775,now() from MTRUser.mtr_portfolio_photos where hide_status = 0 and mtr_portfolio_id in (20073563); lien utilise dans velours : https://www.fotonower.com/velours/20073546,20073547,20073548,20073549,20073550,20073555,20073557,20073558,20073559,20073560,20073561,20073562,20073564,20073565,20073567,20073568,20073569,20073570,20073571?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=20072575 After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20072575]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] map_info['map_portfolio_photo'] : {20072575: [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844]} final : False mtd_id 4742 list_pids : [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] Looping around the photos to save general results len do output : 1 /20072575. 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, '2544299') ('4742', '20072575', '1332974901', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '20072575', "{'papier': 20095872, 'carton': 20095873, 'metal': 20095874, 'pet_clair': 20095875, 'pehd': 20095876, 'flux_dev': 20095877, 'film_dev_souple': 20095878, 'ela': 20095879, 'sac_om_plein': 20095880, 'textiles': 20095881, 'verre': 20095882, 'organique': 20095883, 'dasri': 20095884, 'masque': 20095885, 'encombrant': 20095886, 'autre_non_emballage': 20095887, 'environnement': 20095888, 'mal_croppe': 20095889, 'flou': 20095891, 'pet_fonce': 20095892, 'pet_opaque': 20095893, 'barquette_opaque': 20095894, 'film_plastique': 20095895, 'autre_emballage': 20095896, 'sac': 20095897}", None, None, None, None, '2544299'), ('4742', '20072575', '1332974901', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299')] time used for this insertion : 0.018755674362182617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5615565776824951 time spend to save output : 0.019002199172973633 total time spend for step 4 : 0.5805587768554688 step5:final Tue Feb 4 10:46:50 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 : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} input_args_next_step : {1332974901: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974901 depend.output_id : 0 input_args_next_step : {1332974901: (0.059727968911275776,), 1332974895: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974895 depend.output_id : 0 input_args_next_step : {1332974901: (0.059727968911275776,), 1332974895: (0.059727968911275776,), 1332974893: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974893 depend.output_id : 0 input_args_next_step : {1332974901: (0.059727968911275776,), 1332974895: (0.059727968911275776,), 1332974893: (0.059727968911275776,), 1332974865: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974865 depend.output_id : 0 input_args_next_step : {1332974901: (0.059727968911275776,), 1332974895: (0.059727968911275776,), 1332974893: (0.059727968911275776,), 1332974865: (0.059727968911275776,), 1332974860: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974860 depend.output_id : 0 input_args_next_step : {1332974901: (0.059727968911275776,), 1332974895: (0.059727968911275776,), 1332974893: (0.059727968911275776,), 1332974865: (0.059727968911275776,), 1332974860: (0.059727968911275776,), 1332974855: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974855 depend.output_id : 0 input_args_next_step : {1332974901: (0.059727968911275776,), 1332974895: (0.059727968911275776,), 1332974893: (0.059727968911275776,), 1332974865: (0.059727968911275776,), 1332974860: (0.059727968911275776,), 1332974855: (0.059727968911275776,), 1332974852: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974852 depend.output_id : 0 input_args_next_step : {1332974901: (0.059727968911275776,), 1332974895: (0.059727968911275776,), 1332974893: (0.059727968911275776,), 1332974865: (0.059727968911275776,), 1332974860: (0.059727968911275776,), 1332974855: (0.059727968911275776,), 1332974852: (0.059727968911275776,), 1332974847: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974847 depend.output_id : 0 input_args_next_step : {1332974901: (0.059727968911275776,), 1332974895: (0.059727968911275776,), 1332974893: (0.059727968911275776,), 1332974865: (0.059727968911275776,), 1332974860: (0.059727968911275776,), 1332974855: (0.059727968911275776,), 1332974852: (0.059727968911275776,), 1332974847: (0.059727968911275776,), 1332974844: ()} output_args : {1332974901: (0.059727968911275776, 'Should be the crop_list due to order', 0.05851200755025014), 1332974895: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974893: (0.059727968911275776, 'Should be the crop_list due to order', 0.25521029802735473), 1332974865: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974860: (0.059727968911275776, 'Should be the crop_list due to order', 0.05641592920353982), 1332974855: (0.059727968911275776, 'Should be the crop_list due to order', 0.14178871233963572), 1332974852: (0.059727968911275776, 'Should be the crop_list due to order', 0.025624773080701598), 1332974847: (0.059727968911275776, 'Should be the crop_list due to order', 0.0), 1332974844: (0.059727968911275776, 'Should be the crop_list due to order', 0)} args : 1332974844 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :9, first value : (0.059727968911275776,) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} Beginning of datou step final ! SELECT completion_json FROM MTRPhoto.dashboard_results WHERE mtr_portfolio_id = 20072575 AND dashboard_run_id IN (SELECT last_run_id FROM MTRPhoto.dashboard_entry_day); query to retrieve results for portfolio 20072575 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 4857 and photo_id in (1332974852,1332974847,1332974865,1332974860,1332974855,1332974893,1332974895,1332974901); 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([20072575]) Inside saveOutput : final : False verbose : True original output for save of step final : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} new output for save of step final : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] map_info['map_portfolio_photo'] : {20072575: [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844]} final : False mtd_id 4742 list_pids : [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] Looping around the photos to save general results len do output : 9 /1332974901.Didn't retrieve data . /1332974895.Didn't retrieve data . /1332974893.Didn't retrieve data . /1332974865.Didn't retrieve data . /1332974860.Didn't retrieve data . /1332974855.Didn't retrieve data . /1332974852.Didn't retrieve data . /1332974847.Didn't retrieve data . /1332974844.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, '2544299') ('4742', '20072575', '1332974901', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '20072575', '1332974901', '0.1314256812598909', None, None, None, None, '2544299'), ('4742', '20072575', '1332974895', '0.1314256812598909', None, None, None, None, '2544299'), ('4742', '20072575', '1332974893', '0.1314256812598909', None, None, None, None, '2544299'), ('4742', '20072575', '1332974865', '0.1314256812598909', None, None, None, None, '2544299'), ('4742', '20072575', '1332974860', '0.1314256812598909', None, None, None, None, '2544299'), ('4742', '20072575', '1332974855', '0.1314256812598909', None, None, None, None, '2544299'), ('4742', '20072575', '1332974852', '0.1314256812598909', None, None, None, None, '2544299'), ('4742', '20072575', '1332974847', '0.1314256812598909', None, None, None, None, '2544299'), ('4742', '20072575', '1332974844', '0.1314256812598909', None, None, None, None, '2544299')] time used for this insertion : 0.012279272079467773 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05608344078063965 time spend to save output : 0.012793540954589844 total time spend for step 5 : 0.06887698173522949 step6:blur_detection Tue Feb 4 10:46:50 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 (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.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 : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20072575]) 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 : 9 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.00886988639831543 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 9 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 : ('1332974860', '492609224', '4570') ... last line : ('1332974844', '492688767', '4570') time used for this insertion : 0.012029886245727539 save missing photos in datou_result : time spend for datou_step_exec : 0.022583484649658203 time spend to save output : 0.025622129440307617 total time spend for step 6 : 0.04820561408996582 step7:brightness Tue Feb 4 10:46:50 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 (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs brightness_score : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20072575]) 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 : 9 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.008853435516357422 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 9 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 : ('1332974893', '496442774', '1426') ... last line : ('1332974844', '496442774', '1426') time used for this insertion : 0.008945226669311523 save missing photos in datou_result : time spend for datou_step_exec : 0.025916576385498047 time spend to save output : 0.0218963623046875 total time spend for step 7 : 0.04781293869018555 step8:send_mail_cod Tue Feb 4 10:46:50 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 : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} input_args_next_step : {1332974860: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974860 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974893 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224),), 1332974852: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974852 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224),), 1332974852: ((1332974852, 3014.8365811036715, 492609224),), 1332974895: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974895 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224),), 1332974852: ((1332974852, 3014.8365811036715, 492609224),), 1332974895: ((1332974895, 2950.3646246475732, 492609224),), 1332974901: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974901 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224),), 1332974852: ((1332974852, 3014.8365811036715, 492609224),), 1332974895: ((1332974895, 2950.3646246475732, 492609224),), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974847 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224),), 1332974852: ((1332974852, 3014.8365811036715, 492609224),), 1332974895: ((1332974895, 2950.3646246475732, 492609224),), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ((1332974847, 2416.5045291176343, 492609224),), 1332974855: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974855 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224),), 1332974852: ((1332974852, 3014.8365811036715, 492609224),), 1332974895: ((1332974895, 2950.3646246475732, 492609224),), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ((1332974847, 2416.5045291176343, 492609224),), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974865 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224),), 1332974852: ((1332974852, 3014.8365811036715, 492609224),), 1332974895: ((1332974895, 2950.3646246475732, 492609224),), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ((1332974847, 2416.5045291176343, 492609224),), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ((1332974865, 2250.5673588708582, 492609224),), 1332974844: ()} output_args : {1332974860: [(1332974860, 4372.291686821734, 492609224)], 1332974893: [(1332974893, 4139.280929753711, 492609224)], 1332974852: [(1332974852, 3014.8365811036715, 492609224)], 1332974895: [(1332974895, 2950.3646246475732, 492609224)], 1332974901: [(1332974901, 2576.965837467213, 492609224)], 1332974847: [(1332974847, 2416.5045291176343, 492609224)], 1332974855: [(1332974855, 2384.9656794595608, 492609224)], 1332974865: [(1332974865, 2250.5673588708582, 492609224)], 1332974844: [(1332974844, 315.7798650336758, 492688767)]} args : 1332974844 depend.output_id : 0 complete output_args for input 1 : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224),), 1332974852: ((1332974852, 3014.8365811036715, 492609224),), 1332974895: ((1332974895, 2950.3646246475732, 492609224),), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ((1332974847, 2416.5045291176343, 492609224),), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ((1332974865, 2250.5673588708582, 492609224),), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974893 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224),), 1332974895: ((1332974895, 2950.3646246475732, 492609224),), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ((1332974847, 2416.5045291176343, 492609224),), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ((1332974865, 2250.5673588708582, 492609224),), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974852 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224),), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ((1332974847, 2416.5045291176343, 492609224),), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ((1332974865, 2250.5673588708582, 492609224),), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974895 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774)), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ((1332974847, 2416.5045291176343, 492609224),), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ((1332974865, 2250.5673588708582, 492609224),), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974847 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774)), 1332974901: ((1332974901, 2576.965837467213, 492609224),), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ((1332974865, 2250.5673588708582, 492609224),), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974901 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774)), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774)), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ((1332974865, 2250.5673588708582, 492609224),), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974865 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774)), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774)), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224),), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774)), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974855 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224),), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774)), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774)), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774)), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774)), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974860 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774)), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774)), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774)), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774)), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774)), 1332974844: ((1332974844, 315.7798650336758, 492688767),)} output_args : {1332974893: [(1332974893, -0.15503823666850744, 496442774)], 1332974852: [(1332974852, -0.23151545989216424, 496442774)], 1332974895: [(1332974895, -0.24464555602407853, 496442774)], 1332974847: [(1332974847, -0.2652691918322498, 496442774)], 1332974901: [(1332974901, -0.28840735850346305, 496442774)], 1332974865: [(1332974865, -0.32091806027634234, 496442774)], 1332974855: [(1332974855, -0.3676218237055239, 496442774)], 1332974860: [(1332974860, -0.3702919169773598, 496442774)], 1332974844: [(1332974844, -0.42172161204099173, 496442774)]} args : 1332974844 depend.output_id : 0 complete output_args for input 2 : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774)), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774)), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774)), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774)), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774)), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974901 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774)), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774)), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774)), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774)), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974895 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774)), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774)), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909'), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774)), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774)), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974893 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774)), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774), '0.1314256812598909'), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909'), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774)), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774)), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974865 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774)), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774), '0.1314256812598909'), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909'), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774)), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774), '0.1314256812598909'), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974860 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774), '0.1314256812598909'), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774), '0.1314256812598909'), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909'), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774)), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774), '0.1314256812598909'), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974855 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774), '0.1314256812598909'), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774), '0.1314256812598909'), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774)), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909'), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774), '0.1314256812598909'), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774), '0.1314256812598909'), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974852 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774), '0.1314256812598909'), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774), '0.1314256812598909'), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774), '0.1314256812598909'), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909'), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774)), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774), '0.1314256812598909'), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774), '0.1314256812598909'), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974847 depend.output_id : 0 input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774), '0.1314256812598909'), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774), '0.1314256812598909'), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774), '0.1314256812598909'), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909'), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774), '0.1314256812598909'), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774), '0.1314256812598909'), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774), '0.1314256812598909'), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774))} output_args : {1332974901: ('0.1314256812598909',), 1332974895: ('0.1314256812598909',), 1332974893: ('0.1314256812598909',), 1332974865: ('0.1314256812598909',), 1332974860: ('0.1314256812598909',), 1332974855: ('0.1314256812598909',), 1332974852: ('0.1314256812598909',), 1332974847: ('0.1314256812598909',), 1332974844: ('0.1314256812598909',)} args : 1332974844 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 : {20072575: [{'papier': 20095872, 'carton': 20095873, 'metal': 20095874, 'pet_clair': 20095875, 'pehd': 20095876, 'flux_dev': 20095877, 'film_dev_souple': 20095878, 'ela': 20095879, 'sac_om_plein': 20095880, 'textiles': 20095881, 'verre': 20095882, 'organique': 20095883, 'dasri': 20095884, 'masque': 20095885, 'encombrant': 20095886, 'autre_non_emballage': 20095887, 'environnement': 20095888, 'mal_croppe': 20095889, 'flou': 20095891, 'pet_fonce': 20095892, 'pet_opaque': 20095893, 'barquette_opaque': 20095894, 'film_plastique': 20095895, 'autre_emballage': 20095896, 'sac': 20095897}]} input_args_next_step : {1332974860: ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774), '0.1314256812598909'), 1332974893: ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774), '0.1314256812598909'), 1332974852: ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774), '0.1314256812598909'), 1332974895: ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909'), 1332974901: ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909'), 1332974847: ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774), '0.1314256812598909'), 1332974855: ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774), '0.1314256812598909'), 1332974865: ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774), '0.1314256812598909'), 1332974844: ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774), '0.1314256812598909'), 20072575: ()} output_args : {20072575: [{'papier': 20095872, 'carton': 20095873, 'metal': 20095874, 'pet_clair': 20095875, 'pehd': 20095876, 'flux_dev': 20095877, 'film_dev_souple': 20095878, 'ela': 20095879, 'sac_om_plein': 20095880, 'textiles': 20095881, 'verre': 20095882, 'organique': 20095883, 'dasri': 20095884, 'masque': 20095885, 'encombrant': 20095886, 'autre_non_emballage': 20095887, 'environnement': 20095888, 'mal_croppe': 20095889, 'flou': 20095891, 'pet_fonce': 20095892, 'pet_opaque': 20095893, 'barquette_opaque': 20095894, 'film_plastique': 20095895, 'autre_emballage': 20095896, 'sac': 20095897}]} args : 20072575 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 :10, first value : ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774), '0.1314256812598909') After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.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_P20072575_04-02-2025_10_46_50.pdf 20095880 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=20095880 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1332987615: '1738237289_2495342_1332974852_6602a8487778ae37b8494581405680d1_rle_crop_3644976812_0.png', 1332988205: '1738237289_2495342_1332974893_1523e925860ba19029a76853454d29a1_rle_crop_3644957058_0.png', 1332988211: '1738237289_2495342_1332974860_3baf8789d00cc086c5a7722bfce35dd4_rle_crop_3644967771_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/97b4e3e1e468e15262af798fca04f6ef_56975583.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/701990b73822fd3be41e59af7490a602_44084426.png change filename to text .imagette200958801738662410/ imagette200958801738662410/1738237289_2495342_1332974893_1523e925860ba19029a76853454d29a1_rle_crop_3644957058_0.png.png imagette200958801738662410/1738237289_2495342_1332974852_6602a8487778ae37b8494581405680d1_rle_crop_3644976812_0.png.png imagette200958801738662410/1738237289_2495342_1332974860_3baf8789d00cc086c5a7722bfce35dd4_rle_crop_3644967771_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/16aaece1b42aa9d07966fdd819f1f072_98825235.png imagette200958801738662410 20095881 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=20095881 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1332988070: '1738237289_2495342_1332974893_1523e925860ba19029a76853454d29a1_rle_crop_3644957044_0.png'} change filename to text .imagette200958811738662410/ imagette200958811738662410/1738237289_2495342_1332974893_1523e925860ba19029a76853454d29a1_rle_crop_3644957044_0.png.png imagette200958821738662410/ imagette200958831738662410/ imagette200958841738662410/ imagette200958851738662410/ imagette200958861738662410/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/a5a51741b40ec96f420d90b21fbf63f8_21662365.png imagette200958811738662410 20095882 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=20095882 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200958821738662410 20095883 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=20095883 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200958831738662410 20095884 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=20095884 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200958841738662410 20095885 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=20095885 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200958851738662410 20095886 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=20095886 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200958861738662410 20095887 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=20095887 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1332988174: '1738237289_2495342_1332974901_575df6c0b2a76127af52ce8005988668_rle_crop_3644953775_0.png', 1332988215: '1738237289_2495342_1332974860_3baf8789d00cc086c5a7722bfce35dd4_rle_crop_3644967795_0.png', 1332988216: '1738237289_2495342_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4_rle_crop_3644970507_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/181867d51b4de657c07f0ff64a911ae6_38460775.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/d4c484918fc2f9434dc346277faa9be7_95289054.png change filename to text .imagette200958871738662410/ imagette200958871738662410/1738237289_2495342_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4_rle_crop_3644970507_0.png.png imagette200958871738662410/1738237289_2495342_1332974860_3baf8789d00cc086c5a7722bfce35dd4_rle_crop_3644967795_0.png.png imagette200958871738662410/1738237289_2495342_1332974901_575df6c0b2a76127af52ce8005988668_rle_crop_3644953775_0.png.png imagette200958971738662411/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/51a24b8fefa0b7794acb595b7fda8a54_21639745.png imagette200958871738662410 20095897 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=20095897 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette200958971738662411 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20072575 and hashtag_type = 4857 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20073546,20073547,20073548,20073549,20073550,20073555,20073557,20073558,20073559,20073560,20073561,20073562,20073564,20073565,20073567,20073568,20073569,20073570,20073571?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=20072575 your option no_mail is active, we will not send the real mail to your client args[1332974901] : ((1332974901, 2576.965837467213, 492609224), (1332974901, -0.28840735850346305, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com args[1332974895] : ((1332974895, 2950.3646246475732, 492609224), (1332974895, -0.24464555602407853, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com args[1332974893] : ((1332974893, 4139.280929753711, 492609224), (1332974893, -0.15503823666850744, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com args[1332974865] : ((1332974865, 2250.5673588708582, 492609224), (1332974865, -0.32091806027634234, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com args[1332974860] : ((1332974860, 4372.291686821734, 492609224), (1332974860, -0.3702919169773598, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com args[1332974855] : ((1332974855, 2384.9656794595608, 492609224), (1332974855, -0.3676218237055239, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com args[1332974852] : ((1332974852, 3014.8365811036715, 492609224), (1332974852, -0.23151545989216424, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com args[1332974847] : ((1332974847, 2416.5045291176343, 492609224), (1332974847, -0.2652691918322498, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com args[1332974844] : ((1332974844, 315.7798650336758, 492688767), (1332974844, -0.42172161204099173, 496442774), '0.1314256812598909') We are sending mail with results at kexin@fotonower.com refus_total : 0.1314256812598909 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_P20072575_04-02-2025_10_46_50.pdf results_COD_P20072575_04-02-2025_10_46_50.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20072575_04-02-2025_10_46_50.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','20072575','results_COD_P20072575_04-02-2025_10_46_50.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20072575_04-02-2025_10_46_50.pdf','pdf','','0.68','0.1314256812598909') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20072575]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] map_info['map_portfolio_photo'] : {20072575: [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844]} final : False mtd_id 4742 list_pids : [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] 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, '2544299') ('4742', '20072575', '1332974901', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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', '20072575', '1332974901', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299')] time used for this insertion : 0.012102365493774414 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9657223224639893 time spend to save output : 0.012361288070678711 total time spend for step 8 : 3.978083610534668 step9:split_time_score Tue Feb 4 10:46:54 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 (20072575) Here we display some param of map_info ! map_filenames : {'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg': 1332974901, 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg': 1332974895, 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg': 1332974893, 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg': 1332974865, 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg': 1332974860, 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg': 1332974855, 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg': 1332974852, 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg': 1332974847, 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.jpg': 1332974844} map_photo_id_path_extension : {1332974901: {'path': 'temp/1738662388_3539221_1332974901_575df6c0b2a76127af52ce8005988668.jpg', 'extension': 'jpg'}, 1332974895: {'path': 'temp/1738662388_3539221_1332974895_dd440769c2a403ccc68fca9351737a26.jpg', 'extension': 'jpg'}, 1332974893: {'path': 'temp/1738662388_3539221_1332974893_1523e925860ba19029a76853454d29a1.jpg', 'extension': 'jpg'}, 1332974865: {'path': 'temp/1738662388_3539221_1332974865_20609341fe456ba15741c580bf0b2ea0.jpg', 'extension': 'jpg'}, 1332974860: {'path': 'temp/1738662388_3539221_1332974860_3baf8789d00cc086c5a7722bfce35dd4.jpg', 'extension': 'jpg'}, 1332974855: {'path': 'temp/1738662388_3539221_1332974855_f39fa1e5b2754b8d8ff3305e9596a3c4.jpg', 'extension': 'jpg'}, 1332974852: {'path': 'temp/1738662388_3539221_1332974852_6602a8487778ae37b8494581405680d1.jpg', 'extension': 'jpg'}, 1332974847: {'path': 'temp/1738662388_3539221_1332974847_249decbb5493316a7ef5b2820243982b.jpg', 'extension': 'jpg'}, 1332974844: {'path': 'temp/1738662388_3539221_1332974844_f85ddd1954bacaab5e77b951697f3b57.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 = 20072575; (('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 = 20072575 group by h (('04', 1), ('05', 5), ('06', 3)) 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=20072575 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 (20072575) 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 (20072575) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 30012025 20072575 Nombre de photos uploadées : 9 / 23040 (0%) 30012025 20072575 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 30012025 20072575 Nombre de photos taguées (volume) : 0 / 9 (0%) [{'photo_id': 1332974844, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/f85ddd1954bacaab5e77b951697f3b57.jpg', 'username': None, 'uploaded_at': 1738235611, 'text': 'IMG_20250130_100425.jpg'}, {'photo_id': 1332974852, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/6602a8487778ae37b8494581405680d1.jpg', 'username': None, 'uploaded_at': 1738235611, 'text': 'IMG_20250130_100530.jpg'}, {'photo_id': 1332974847, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/249decbb5493316a7ef5b2820243982b.jpg', 'username': None, 'uploaded_at': 1738235611, 'text': 'IMG_20250130_100522.jpg'}, {'photo_id': 1332974865, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/30/20609341fe456ba15741c580bf0b2ea0.jpg', 'username': None, 'uploaded_at': 1738235611, 'text': 'IMG_20250130_100552.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004889965057373047 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 188, 20072575, '2025-01-30' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1565665,1107,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022556781768798828 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= 1565665 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1565665, 'dashboard_run_id': 1573553, 'mtr_portfolio_id': 20067960, 'dashboard_result_id': 8594941, 'hashtag': '_______entrant', 'completion_json': "{'max_time_prod_two_photos': 0, 'car_plate': 'ED708MJ', 'plate_origin_photo': 1332932490, '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_P20067960_03-02-2025_10_10_56.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095193, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095194, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095195, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095196, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095197, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095212, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095213, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095214, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095215, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095200, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095217, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095202, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095203, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095204, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095205, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095206, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095207, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095216, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095208, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095209, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20071215, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095198, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095210, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095211, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095199, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095201, 'pht': 4857}}"}, {'dashboat_entry_day': 1565665, 'dashboard_run_id': 1573553, 'mtr_portfolio_id': 20067961, 'dashboard_result_id': 8594942, 'hashtag': '_______entrant', 'completion_json': "{'max_time_prod_two_photos': 0, 'car_plate': 'FG666WC', 'plate_origin_photo': 1332932571, '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_P20067961_31-01-2025_11_40_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095547, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095548, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095549, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095550, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095551, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095567, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095568, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095569, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095570, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095554, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095572, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095557, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095558, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095559, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095560, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095561, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095562, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095571, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095563, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095564, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20070381, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095552, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095565, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095566, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095553, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095556, 'pht': 4857}}"}, {'dashboat_entry_day': 1565665, 'dashboard_run_id': 1573553, 'mtr_portfolio_id': 20068020, 'dashboard_result_id': 8594943, 'hashtag': '_______entrant', 'completion_json': "{'max_time_prod_two_photos': 0, 'car_plate': 'FF330PK', 'plate_origin_photo': 1332932767, '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_P20068020_31-01-2025_11_08_39.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20077241, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20077242, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20077243, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20077244, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20077245, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20077260, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20077261, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20077262, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20077263, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20077248, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20077265, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20077250, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20077251, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20077252, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20077253, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20077254, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20077255, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20077264, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20077256, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20077257, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20068997, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20077246, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20077258, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20077259, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20077247, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20077249, 'pht': 4857}}"}, {'dashboat_entry_day': 1565665, 'dashboard_run_id': 1573553, 'mtr_portfolio_id': 20068021, 'dashboard_result_id': 8594944, 'hashtag': '_______entrant', 'completion_json': "{'max_time_prod_two_photos': 0, 'car_plate': 'FH669TV', 'plate_origin_photo': 1332932833, '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_P20068021_31-01-2025_04_28_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20074007, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20074008, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20074009, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20074010, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20074011, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20074026, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20074027, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20074028, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20074029, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20074014, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20074031, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20074016, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20074017, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20074018, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20074019, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20074020, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20074021, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20074030, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20074022, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20074023, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20069435, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20074012, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20074024, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20074025, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20074013, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20074015, 'pht': 4857}}"}, {'dashboat_entry_day': 1565665, 'dashboard_run_id': 1573553, 'mtr_portfolio_id': 20072575, 'dashboard_result_id': 8594945, 'hashtag': '_______entrant', 'completion_json': "{'max_time_prod_two_photos': 0, 'car_plate': 'EH034LG', 'plate_origin_photo': 1332974844, '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_P20072575_31-01-2025_04_30_55.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095872, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095873, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095874, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095875, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095876, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095892, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095893, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095894, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095895, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095879, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095897, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095881, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095882, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095883, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095884, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095885, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095886, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095896, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095887, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095888, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20073540, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095877, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095889, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095891, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095878, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095880, '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 = 20067960 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': 2539264, 'mtr_portfolio_id': 20067960, 'created_at': datetime.datetime(2025, 2, 3, 10, 10, 56), 'result': '0.2509548301582073', 'result_long': None, 'result_double': None}] Qualite : 0.2509548301582073 select url from MTRUser.mtr_files where mtd_id = 4742 and mtr_portfolio_id = 20067960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20067960_03-02-2025_10_10_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20067960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'car_plate': 'ED708MJ', 'plate_origin_photo': 1332932490, '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_P20067960_03-02-2025_10_10_56.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095193, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095194, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095195, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095196, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095197, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095212, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095213, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095214, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095215, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095200, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095217, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095202, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095203, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095204, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095205, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095206, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095207, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095216, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095208, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095209, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20071215, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095198, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095210, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095211, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095199, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095201, 'pht': 4857}}" where mtr_portfolio_id = 20067960 and dashboard_run_id = 1573553 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`=20067960 AND mptpi.`type`=4857 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8594941, 0.2509548301582073, "{'max_time_prod_two_photos': 0, 'car_plate': 'ED708MJ', 'plate_origin_photo': 1332932490, '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_P20067960_03-02-2025_10_10_56.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095193, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095194, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095195, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095196, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095197, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095212, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095213, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095214, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095215, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095200, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095217, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095202, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095203, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095204, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095205, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095206, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095207, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095216, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095208, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095209, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20071215, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095198, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095210, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095211, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095199, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095201, 'pht': 4857}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None 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 = 20067961 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': 2534079, 'mtr_portfolio_id': 20067961, 'created_at': datetime.datetime(2025, 1, 31, 11, 40, 41), 'result': '0.38016544487689985', 'result_long': None, 'result_double': None}] Qualite : 0.38016544487689985 select url from MTRUser.mtr_files where mtd_id = 4742 and mtr_portfolio_id = 20067961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20067961_31-01-2025_11_40_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20067961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'car_plate': 'FG666WC', 'plate_origin_photo': 1332932571, '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_P20067961_31-01-2025_11_40_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095547, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095548, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095549, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095550, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095551, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095567, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095568, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095569, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095570, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095554, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095572, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095557, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095558, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095559, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095560, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095561, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095562, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095571, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095563, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095564, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20070381, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095552, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095565, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095566, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095553, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095556, 'pht': 4857}}" where mtr_portfolio_id = 20067961 and dashboard_run_id = 1573553 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`=20067961 AND mptpi.`type`=4857 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8594942, 0.38016544487689985, "{'max_time_prod_two_photos': 0, 'car_plate': 'FG666WC', 'plate_origin_photo': 1332932571, '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_P20067961_31-01-2025_11_40_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095547, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095548, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095549, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095550, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095551, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095567, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095568, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095569, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095570, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095554, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095572, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095557, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095558, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095559, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095560, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095561, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095562, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095571, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095563, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095564, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20070381, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095552, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095565, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095566, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095553, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095556, 'pht': 4857}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None 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 = 20068020 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': 2533904, 'mtr_portfolio_id': 20068020, 'created_at': datetime.datetime(2025, 1, 31, 11, 8, 39), 'result': '0.21234606488967767', 'result_long': None, 'result_double': None}] Qualite : 0.21234606488967767 select url from MTRUser.mtr_files where mtd_id = 4742 and mtr_portfolio_id = 20068020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20068020_31-01-2025_11_08_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20068020 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'car_plate': 'FF330PK', 'plate_origin_photo': 1332932767, '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_P20068020_31-01-2025_11_08_39.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20077241, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20077242, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20077243, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20077244, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20077245, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20077260, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20077261, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20077262, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20077263, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20077248, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20077265, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20077250, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20077251, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20077252, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20077253, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20077254, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20077255, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20077264, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20077256, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20077257, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20068997, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20077246, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20077258, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20077259, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20077247, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20077249, 'pht': 4857}}" where mtr_portfolio_id = 20068020 and dashboard_run_id = 1573553 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`=20068020 AND mptpi.`type`=4857 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8594943, 0.21234606488967767, "{'max_time_prod_two_photos': 0, 'car_plate': 'FF330PK', 'plate_origin_photo': 1332932767, '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_P20068020_31-01-2025_11_08_39.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20077241, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20077242, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20077243, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20077244, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20077245, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20077260, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20077261, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20077262, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20077263, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20077248, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20077265, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20077250, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20077251, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20077252, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20077253, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20077254, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20077255, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20077264, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20077256, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20077257, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20068997, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20077246, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20077258, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20077259, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20077247, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20077249, 'pht': 4857}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None 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 = 20068021 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': 2531421, 'mtr_portfolio_id': 20068021, 'created_at': datetime.datetime(2025, 1, 31, 4, 28, 40), 'result': '0.33537558370077986', 'result_long': None, 'result_double': None}] Qualite : 0.33537558370077986 select url from MTRUser.mtr_files where mtd_id = 4742 and mtr_portfolio_id = 20068021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20068021_31-01-2025_04_28_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20068021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'car_plate': 'FH669TV', 'plate_origin_photo': 1332932833, '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_P20068021_31-01-2025_04_28_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20074007, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20074008, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20074009, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20074010, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20074011, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20074026, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20074027, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20074028, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20074029, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20074014, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20074031, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20074016, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20074017, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20074018, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20074019, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20074020, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20074021, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20074030, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20074022, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20074023, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20069435, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20074012, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20074024, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20074025, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20074013, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20074015, 'pht': 4857}}" where mtr_portfolio_id = 20068021 and dashboard_run_id = 1573553 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`=20068021 AND mptpi.`type`=4857 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8594944, 0.33537558370077986, "{'max_time_prod_two_photos': 0, 'car_plate': 'FH669TV', 'plate_origin_photo': 1332932833, '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_P20068021_31-01-2025_04_28_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20074007, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20074008, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20074009, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20074010, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20074011, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20074026, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20074027, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20074028, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20074029, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20074014, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20074031, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20074016, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20074017, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20074018, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20074019, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20074020, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20074021, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20074030, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20074022, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20074023, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20069435, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20074012, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20074024, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20074025, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20074013, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20074015, 'pht': 4857}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None 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 = 20072575 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': 2544299, 'mtr_portfolio_id': 20072575, 'created_at': datetime.datetime(2025, 2, 4, 10, 46, 50), 'result': '0.1314256812598909', 'result_long': None, 'result_double': None}] Qualite : 0.1314256812598909 select url from MTRUser.mtr_files where mtd_id = 4742 and mtr_portfolio_id = 20072575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20072575_04-02-2025_10_46_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20072575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'car_plate': 'EH034LG', 'plate_origin_photo': 1332974844, '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_P20072575_04-02-2025_10_46_50.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095872, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095873, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095874, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095875, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095876, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095892, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095893, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095894, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095895, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095879, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095897, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095881, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095882, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095883, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095884, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095885, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095886, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095896, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095887, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095888, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20073540, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095877, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095889, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095891, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095878, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095880, 'pht': 4857}}" where mtr_portfolio_id = 20072575 and dashboard_run_id = 1573553 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`=20072575 AND mptpi.`type`=4857 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8594945, 0.1314256812598909, "{'max_time_prod_two_photos': 0, 'car_plate': 'EH034LG', 'plate_origin_photo': 1332974844, '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_P20072575_04-02-2025_10_46_50.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095872, 'pht': 4857}, 'carton': {'hashtag': 'carton', 'sub_port_id': 20095873, 'pht': 4857}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095874, 'pht': 4857}, 'pet_clair': {'hashtag': 'pet_clair', 'sub_port_id': 20095875, 'pht': 4857}, 'pehd': {'hashtag': 'pehd', 'sub_port_id': 20095876, 'pht': 4857}, 'pet_fonce': {'hashtag': 'pet_fonce', 'sub_port_id': 20095892, 'pht': 4857}, 'pet_opaque': {'hashtag': 'pet_opaque', 'sub_port_id': 20095893, 'pht': 4857}, 'barquette_opaque': {'hashtag': 'barquette_opaque', 'sub_port_id': 20095894, 'pht': 4857}, 'film_plastique': {'hashtag': 'film_plastique', 'sub_port_id': 20095895, 'pht': 4857}, 'ela': {'hashtag': 'ela', 'sub_port_id': 20095879, 'pht': 4857}, 'sac': {'hashtag': 'sac', 'sub_port_id': 20095897, 'pht': 4857}, 'textiles': {'hashtag': 'textiles', 'sub_port_id': 20095881, 'pht': 4857}, 'verre': {'hashtag': 'verre', 'sub_port_id': 20095882, 'pht': 4857}, 'organique': {'hashtag': 'organique', 'sub_port_id': 20095883, 'pht': 4857}, 'dasri': {'hashtag': 'dasri', 'sub_port_id': 20095884, 'pht': 4857}, 'masque': {'hashtag': 'masque', 'sub_port_id': 20095885, 'pht': 4857}, 'encombrant': {'hashtag': 'encombrant', 'sub_port_id': 20095886, 'pht': 4857}, 'autre_emballage': {'hashtag': 'autre_emballage', 'sub_port_id': 20095896, 'pht': 4857}, 'autre_non_emballage': {'hashtag': 'autre_non_emballage', 'sub_port_id': 20095887, 'pht': 4857}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095888, 'pht': 4857}, 'autre': {'hashtag': 'autre', 'sub_port_id': 20073540, 'pht': 4855}, 'flux_dev': {'hashtag': 'flux_dev', 'sub_port_id': 20095877, 'pht': 4857}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095889, 'pht': 4857}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095891, 'pht': 4857}, 'film_dev_souple': {'hashtag': 'film_dev_souple', 'sub_port_id': 20095878, 'pht': 4857}, 'sac_om_plein': {'hashtag': 'sac_om_plein', 'sub_port_id': 20095880, '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 (20067960,20067961,20068020,20068021,20072575) result : ((1332932490,), (1332932495,), (1332932498,), (1332932503,), (1332932508,), (1332932511,), (1332932544,), (1332932560,), (1332932571,), (1332932576,), (1332932579,), (1332932582,), (1332932754,), (1332932756,), (1332932760,), (1332932767,), (1332932778,), (1332932784,), (1332932816,), (1332932819,), (1332932824,), (1332932828,), (1332932833,), (1332932836,), (1332933117,), (1332933120,), (1332933174,), (1332933364,), (1332933544,), (1332933746,), (1332974844,), (1332974847,), (1332974852,), (1332974855,), (1332974860,), (1332974865,), (1332974893,), (1332974895,), (1332974901,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'30012025': {'nb_upload': 9, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20072575]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] map_info['map_portfolio_photo'] : {20072575: [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844]} final : True mtd_id 4742 list_pids : [1332974901, 1332974895, 1332974893, 1332974865, 1332974860, 1332974855, 1332974852, 1332974847, 1332974844] Looping around the photos to save general results len do output : 1 /20072575Didn'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, '2544299') ('4742', '20072575', '1332974901', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299') ('4742', None, None, None, None, None, None, None, '2544299') ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '20072575', 'None', None, None, None, None, '2544299'), ('4742', '20072575', '1332974901', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974895', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974893', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974865', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974860', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974855', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974852', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974847', None, None, None, None, None, '2544299'), ('4742', '20072575', '1332974844', None, None, None, None, None, '2544299')] time used for this insertion : 0.013282060623168945 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.46915483474731445 time spend to save output : 0.013504266738891602 total time spend for step 9 : 0.48265910148620605 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2544299) 4.84user 1.23system 0:29.13elapsed 20%CPU (0avgtext+0avgdata 220644maxresident)k 80inputs+88680outputs (0major+278614minor)pagefaults 0swaps