question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Batch create query does not return error, while singular create query does.

See original GitHub issue

When running the following geo_shape batch insert query:

INSERT INTO "field-srv"."ground_type" 
(id, shape, source_id, type)
(SELECT * FROM unnest(['f6368d7c-3eed-44a9-a9a6-d1a5c82e9e33'], ['POLYGON((4.73941639056379 51.6619497344594, 4.74031813511351 51.6625750219999, 4.74117748973046 51.6621212904621, 4.74146824230308 51.6620060282321, 4.7417552743418 51.6621514494184, 4.74551870104061 51.6638352699, 4.74563331951624 51.6639078170721, 4.74577990687303 51.6637647839548, 4.74640922881335 51.6632198545077, 4.7465984114198 51.6631309925681, 4.74681319403766 51.663276005565, 4.75006360699313 51.6644534399384, 4.75025152196382 51.6644544632838, 4.75032480936369 51.6643829438501, 4.75073561921527 51.6639536689749, 4.75083743532925 51.6639092738637, 4.75102560088398 51.6638923177234, 4.75230514154448 51.6643937087527, 4.75317568295912 51.6651985229797, 4.75437005482921 51.6666253792145, 4.7543675397026 51.6668051616582, 4.7541067070231 51.6668486993728, 4.75384486695584 51.6669641494753, 4.75186315930051 51.6670433016178, 4.75179050135043 51.6670698764021, 4.75171670675564 51.6671773532038, 4.75123347038783 51.6676152275567, 4.75151816918897 51.6679314180575, 4.75265150111855 51.6685578673238, 4.75314915577842 51.6691538925172, 4.75332298134227 51.670161692176, 4.75332046179978 51.6703414745287, 4.75317589295191 51.6703406911252, 4.7518628420433 51.6701537716382, 4.75174718747057 51.6701531434906, 4.75048242200849 51.6685910308538, 4.7484434616039 51.6676000268865, 4.74487251213272 51.6655667570501, 4.7434865892167 51.6644174328145, 4.74031813511351 51.6625750219999, 4.73860248785076 51.6642735871423, 4.7398429093735 51.6644692442382, 4.74030341207372 51.6646156287509, 4.74132227543308 51.6651426677956, 4.74264854998895 51.6664175464285, 4.74443915226811 51.6675780941853, 4.74682573857962 51.6685171327835, 4.74918604676251 51.6692761828769, 4.75056413227575 51.6699759052256, 4.75114636766663 51.6707252257629, 4.75113587536501 51.67147132221, 4.75010643963414 51.674755987651, 4.75011965409017 51.6758707945861, 4.75077121578673 51.6768362488882, 4.75223189297915 51.6778510421694, 4.75380102997411 51.6783539858975, 4.75603195634399 51.6791032046197, 4.75778652965441 51.6797958802762, 4.75989031400677 51.6813803909629, 4.76174331132709 51.683332103889, 4.76490876972437 51.6855604669836, 4.76789576331192 51.6871135654271, 4.7698247474552 51.6877800119299, 4.7706348924206 51.6877663038071, 4.77101349025813 51.6875795128002, 4.77104731584771 51.6872201000252, 4.77014490134691 51.6865770709997, 4.76761903563967 51.6851433396479, 4.76537266691242 51.6833784168174, 4.76384900310264 51.6816532614502, 4.76361767904227 51.6806002242375, 4.76379491929848 51.6803314751933, 4.76427334101667 51.6802441254043, 4.76515008804363 51.6806353504894, 4.76741915209649 51.6817890938073, 4.76853059527575 51.6829996060527, 4.77043833070921 51.6841513788633, 4.77265230298547 51.6851249333833, 4.77580639865183 51.6861033614538, 4.77851423653692 51.6869355472461, 4.78089532337592 51.6873344687263, 4.78203785125001 51.6873403830095, 4.78285038842229 51.6871468075113, 4.78328822083947 51.6868524057563, 4.78374542934281 51.6861895219789, 4.78410937812326 51.6860116030611, 4.78463060778985 51.6859693395131, 4.78598680341313 51.6862190390833, 4.78890867779505 51.687285817061, 4.79175210096455 51.6888285794414, 4.79426954574181 51.6898751841817, 4.79719372941981 51.690797929222, 4.80016013984511 51.6918196998067, 4.80312378042523 51.6930661244716, 4.80677773237232 51.6946395299235, 4.80787210010435 51.6950315114296, 4.80959192938253 51.6951568792366, 4.81121108623997 51.6952367776158, 4.81216497353866 51.695304396795, 4.81656261044966 51.696449639583, 4.81990072606069 51.6967355608334, 4.82184782896584 51.6972034594847, 4.82386875784007 51.6975548145578, 4.82744245457543 51.6986866881539, 4.83045546071466 51.6995460944001, 4.83334565352492 51.6998115201543, 4.83495996665306 51.7003045935276, 4.83645452680574 51.7011297004849, 4.83784645054587 51.7020711726723, 4.8389002660177 51.7022648984368, 4.83953878715881 51.7021060733045, 4.83964811875017 51.7014413461574, 4.83914973267983 51.7007827642808, 4.83747461550647 51.6993365534441, 4.83652597230159 51.6988286693907, 4.83322225789432 51.6980759203392, 4.82889170225761 51.6973091936621, 4.825154264135 51.6965541461175, 4.8225408774274 51.6949953322341, 4.81761396854956 51.6922295866238, 4.81499049720456 51.6903649016652, 4.8143764306731 51.689741605264, 4.81284303017464 51.6886193609097, 4.81054904182898 51.6870348733274, 4.81036366957696 51.6868271955038, 4.81070157521894 51.6864153325322, 4.81165870914753 51.6862132801868, 4.81337969733735 51.6862217326186, 4.81639682686906 51.6866679974368, 4.81730443488569 51.6869511033967, 4.81825035032805 51.6876389268129, 4.81916996702959 51.6881198508097, 4.82045252734059 51.6884946491173, 4.82397552307825 51.6889881155283, 4.82484263184434 51.6890462244066, 4.82558482481897 51.6886812099241, 4.82582214804068 51.6882058928783, 4.8258301857536 51.687558670605, 4.82524225033782 51.6871513103859, 4.82384197342638 51.6869378130381, 4.82278914093834 51.6866990061484, 4.8225622359562 51.6863383219327, 4.82282547244597 51.6861058587427, 4.82337503117766 51.6861085081803, 4.82432751341222 51.6862749092674, 4.82606006797068 51.6865169640711, 4.82708688492619 51.686521883895, 4.82757036985623 51.6860207722053, 4.8277992029678 51.6850599648556, 4.82730183712285 51.6843473967878, 4.82660682190324 51.6832473209806, 4.8253988982191 51.6826931531891, 4.8247047709841 51.6826898181763, 4.82348713445153 51.6829176911995, 4.82217320102385 51.6827495380155, 4.82086355635308 51.682239780617, 4.82020726405307 51.6815264123629, 4.8181893419035 51.6809952107736, 4.81424427349832 51.6796274958221, 4.81377256621096 51.6791936768829, 4.81399812454124 51.678511561198, 4.81400074547508 51.6783048097871, 4.81374252548342 51.6781417288908, 4.8120293911911 51.6775399957263, 4.81125992341642 51.6766462247679, 4.81061717611749 51.6760227658086, 4.80952002819599 51.6758825071548, 4.80757016782515 51.6757110473105, 4.80617032893419 51.6754973390794, 4.80460047472796 51.6750130747551, 4.80244344199169 51.6740943472497, 4.8020483829506 51.6733372319001, 4.80156694006156 51.6725527134225, 4.80118124147892 51.6721911914285, 4.80053368222114 51.6719542119394, 4.79968384256943 51.6717072233721, 4.79742832902107 51.6705991225184, 4.79655751870935 51.6719611738812, 4.79588730385945 51.6734590793403, 4.7954244033072 51.6745804595617, 4.79520305671183 51.6749209508324, 4.79556451771819 51.6749227793198, 4.79656038917991 51.6750626577388, 4.7977739650144 51.6751406963484, 4.7989017293638 51.6751463727837, 4.79797548577705 51.6785398416551, 4.79775648250539 51.6787005542073, 4.79801675626013 51.6787018651882, 4.80142387915061 51.679132502142, 4.801798088226 51.6792692214563, 4.80172369390113 51.6794306648392, 4.80041191561061 51.6813389115889, 4.79902737003669 51.6832737471717, 4.79767104314131 51.6852536573804, 4.79684592539522 51.6864181654964, 4.79684392978722 51.6865709812576, 4.79641029978209 51.6865508131838, 4.78544647531985 51.684436288432, 4.78508637546622 51.6843265588043, 4.78475472100611 51.6842529335814, 4.78487376546508 51.6840018330148, 4.7862674206852 51.6814289361018, 4.78644273825869 51.6812949898967, 4.78619810534907 51.681203835913, 4.7809941645244 51.6799633707777, 4.78044649315421 51.6798256853694, 4.78022995553378 51.6797975929314, 4.78022899019951 51.6798695061016, 4.78003702707842 51.6801651725892, 4.77989025301713 51.6803262267451, 4.77963093691576 51.6802529622965, 4.77281969516845 51.6791925605547, 4.77244496363589 51.6791006944579, 4.77270780403712 51.6789132898333, 4.77597313675767 51.6737702609614, 4.77638415350739 51.6733139287896, 4.77708674211647 51.6726793204981, 4.77695101964017 51.6720223585952, 4.7773940764834 51.6713324556995, 4.77851768929259 51.670565186014, 4.7797671495983 51.670113201485, 4.7808100984054 51.6688870122509, 4.78158146747737 51.6685044475713, 4.78277241487575 51.6680970771565, 4.78554970973829 51.6658100105311, 4.7856653538121 51.6658106052688, 4.78808304582151 51.6666410827255, 4.78808852258214 51.6662275809726, 4.78758349075196 51.665065311775, 4.78739736005327 51.6649295108191, 4.7860862344466 51.6645991484154, 4.78480822767027 51.6639542994155, 4.78276235637447 51.66344031777, 4.78181808704017 51.6627072619792, 4.78064752126366 51.6616044438771, 4.78025076444548 51.661009059782, 4.77982486912913 51.6604315025468, 4.77990196458818 51.6600723112756, 4.78196905632186 51.6589862712202, 4.78219871786551 51.6580255519178, 4.78219967946237 51.6579536385742, 4.78300928726686 51.6579398439463, 4.78411881281441 51.65819728418, 4.78411701551972 51.6583321217344, 4.78354207009251 51.6591741958951, 4.782512515854 51.6594205919107, 4.78181297620834 51.6598484832073, 4.78173000156188 51.660648144866, 4.78215291773336 51.6614504243248, 4.78311282104317 51.662093660463, 4.78380027383316 51.6625736673478, 4.78657542758283 51.6636847035784, 4.79023272184959 51.6647821990951, 4.79121295098172 51.6649939623706, 4.79144340643863 51.665058064756, 4.79143500071345 51.6656962961033, 4.79167766701831 51.6659312659491, 4.79303023191149 51.6664146020713, 4.79350420304987 51.666650742722, 4.79349771380443 51.667145147364, 4.79365366240393 51.6673796728655, 4.7942280147078 51.6676792482138, 4.79441511967793 51.6677431249162, 4.7944144128312 51.6677970599707, 4.79419226705049 51.6682004738214, 4.7939591979078 51.6683341386804, 4.79421941191069 51.6683354580104, 4.79507021747616 51.6685015835953, 4.79719026506734 51.6688988557228, 4.79799526335318 51.6692535140716, 4.80023219274097 51.6695614218394, 4.80239989047271 51.6696352067736, 4.80486402288501 51.6691440724412, 4.80831420802531 51.6695477566079, 4.81175194252471 51.6697984517167, 4.81198325193621 51.6697995893405, 4.81240746438652 51.668273415429, 4.81266018772697 51.6677262815998, 4.81520424848331 51.6677567288202, 4.81692680253967 51.6675853440135, 4.8180289760996 51.6673120296105, 4.8192544594835 51.6664280001837, 4.82124659875582 51.6655027211217, 4.82234055170271 51.6635662215735, 4.8227764410404 51.6633885306115, 4.82332886143061 51.6631394818065, 4.82430303351105 51.6626856964332, 4.82602391092072 51.6626310371977, 4.82748215518684 51.662772870787, 4.82829328029386 51.66264190316, 4.82903390265741 51.6623667574399, 4.82922990514539 51.6617114405679, 4.82994486099551 51.6599978059193, 4.83054587077427 51.6593174464778, 4.83138759914644 51.6590427671656, 4.83248716316673 51.658958089837, 4.83389112390735 51.6588029246137, 4.84306848435035 51.6588909303448, 4.84347501670059 51.6587399952978, 4.84366485450574 51.6585790622384, 4.84382612248661 51.6571864006257, 4.8438275259953 51.6570695404114, 4.84408767708208 51.6570707488074, 4.84793641973892 51.6567289687143, 4.84848755042021 51.6565696932507, 4.84809380072962 51.6556509246605, 4.84739381062944 51.6537508588315, 4.84589411765374 51.6522606179382, 4.84397242767962 51.6510201108747, 4.84233325074558 51.650329263554, 4.84141176811143 51.6500462839821, 4.83986664234334 51.6499491647453, 4.83921821782277 51.6497933021501, 4.82619870240101 51.6485359295085, 4.82524689483686 51.648378533435, 4.81872181094541 51.647843568055, 4.81398977936954 51.6472271433948, 4.80959170566697 51.6464953098055, 4.80828026044275 51.6462191312614, 4.80575937035605 51.6456043086244, 4.80348545545406 51.6448917768559, 4.80170181944158 51.6442625645517, 4.80049372467013 51.6438249995372, 4.79322300307715 51.6407227737332, 4.79210295082069 51.6401956705615, 4.78968932316555 51.6391585247198, 4.78865609760356 51.6397195977615, 4.78769746423321 51.640101248185, 4.78743586438831 51.6402167740816, 4.7875775992216 51.6404242664013, 4.78811755962366 51.641110258866, 4.78811446647235 51.6413439778067, 4.78782432208962 51.641432388935, 4.7862729254581 51.6418379573058, 4.78546205291686 51.6419686344039, 4.78462622870836 51.6418025138763, 4.78474611843947 51.6414794987636, 4.7853024238124 51.6409339856964, 4.78585286449909 51.6408289401251, 4.78633118443595 51.6407145315919, 4.78636676094015 51.6402112855224, 4.78648866186573 51.6397354523392, 4.78708409505716 51.6395047749377, 4.78740550473816 51.6392367300169, 4.78700766191937 51.6387312596587, 4.78629140377515 51.6382691009535, 4.78625534250365 51.637720537609, 4.77647170393192 51.6336334196433, 4.77582992384719 51.6340885461014, 4.77375169229154 51.6350036117336, 4.77234387205082 51.6354816670463, 4.77167985398972 51.6354422140989, 4.77114731684641 51.6352955724049, 4.77092071224861 51.6349617550215, 4.77126274498566 51.6342443719467, 4.77156130908822 51.6335357488091, 4.77156913138296 51.6329604416522, 4.77118437526309 51.6325718529207, 4.76993379873124 51.6321157662888, 4.76881038335013 51.6329279035291, 4.76829768253693 51.6334466003094, 4.76814008036073 51.6344076766816, 4.76754129651383 51.6348809652661, 4.76720215438417 51.6353825973203, 4.76718922894091 51.6363264597695, 4.76682561393231 51.6365043274822, 4.76575438043021 51.6366604557141, 4.76362324234722 51.6371974887617, 4.7621111433758 51.6378906210483, 4.76048205519075 51.6386819949883, 4.75870968763059 51.6393826781703, 4.76032503096688 51.6416747634738, 4.76206121529724 51.6435988889793, 4.76121525388819 51.6441697118413, 4.76099442178298 51.6444651934648, 4.7614624039997 51.6451059754245, 4.76221813929225 51.6458381917596, 4.76452439242042 51.6451652673901, 4.76424790944337 51.6451896873542, 4.76402227713952 51.6451764172696, 4.76388713625633 51.6451583179287, 4.7637618176362 51.6451065032572, 4.76362864444572 51.6450039152492, 4.76351459495523 51.6448564314643, 4.76339334857472 51.6446300109657, 4.76327275743691 51.6443754305366, 4.76324919732398 51.6442231144582, 4.76324397089352 51.6440596948866, 4.76324699061929 51.6439301497834, 4.76332295210684 51.6437730858641, 4.76342523043333 51.6436500556777, 4.76360882530669 51.6435277485305, 4.76373676600215 51.6434669152086, 4.76393043057949 51.6433731445772, 4.7641916839977 51.6433357492725, 4.76483529175996 51.643251322541, 4.76549631544961 51.6431952146851, 4.76600294685518 51.6431715363674, 4.76643742886953 51.6431415845513, 4.76669945507035 51.643143904757, 4.76689796871336 51.6431569287786, 4.76705995003764 51.6431865319262, 4.76723935102108 51.6432444552142, 4.76731988414957 51.6432789679138, 4.7674352507602 51.6433701265937, 4.76752311804088 51.6434779413972, 4.76756528848612 51.6436078860508, 4.76754237906746 51.6438161251301, 4.76748371707974 51.644007146237, 4.76741667615925 51.6441699254609, 4.76731309858348 51.6443492841664, 4.76720231594227 51.6444497063964, 4.76700929785304 51.6445888376568, 4.76680891924353 51.6446825345988, 4.76762266356265 51.6447701933434, 4.76795031164555 51.645113541639, 4.76768580280989 51.6454357738599, 4.76691594236778 51.6457283566871, 4.76518835153965 51.6463125081299, 4.76458937901258 51.6467857807803, 4.76436694795425 51.6471981277013, 4.7649131872091 51.6474078012489, 4.76590897512713 51.6475029938267, 4.76711014140259 51.6473745218457, 4.76721477889216 51.6481751696308, 4.76761531346136 51.6484739560115, 4.76823383320435 51.6486839968379, 4.76926101105113 51.6485995307488, 4.77147626131782 51.6482875818901, 4.77379262977212 51.6479761216301, 4.77547002094907 51.6478950098322, 4.77801100325467 51.6480700902216, 4.77977110810785 51.6482860110208, 4.78073346480297 51.6498012917388, 4.7807298509152 51.6500709669238, 4.78055548123424 51.6501419809358, 4.77883298213582 51.6508257979003, 4.77881199607689 51.6508341283535, 4.77895396602284 51.6510236525637, 4.78061470484309 51.6532707371789, 4.78065348070298 51.6536125504791, 4.78064363244239 51.6536190385809, 4.78027436313368 51.6538622979648, 4.7794309739746 51.6542444794747, 4.77938737707401 51.6542622325042, 4.77942940440052 51.6543613386506, 4.77971107968298 51.6549111794962, 4.77970190762822 51.6555943561836, 4.7792437606065 51.6559114351378, 4.77859313987662 51.6563617141663, 4.77743265881688 51.6568965947495, 4.77694854779104 51.6571197209212, 4.77681878187697 51.6571795289293, 4.77461429955259 51.6577343609697, 4.77399319889361 51.6578335990341, 4.77339887609629 51.6579285567528, 4.77210832616033 51.6581347400319, 4.77003050482342 51.6580955704268, 4.76879919819585 51.6580723423026, 4.76633343079248 51.6586975555464, 4.76461127434113 51.6588502179848, 4.76441600282914 51.6588392752712, 4.76266145218575 51.6587409354567, 4.75984719198105 51.6584292114798, 4.75837297646355 51.6584212952299, 4.75767795866148 51.6585343648378, 4.75767760228916 51.6585344222525, 4.75719902852957 51.6587043042385, 4.75653004190364 51.6589417715701, 4.75447541791902 51.659092491963, 4.75449954780341 51.65943423522, 4.75526697435217 51.660373323795, 4.75405122785483 51.6604836169417, 4.75283497133331 51.6606298539514, 4.75187647753668 51.6609482850278, 4.7491880564124 51.6609336522664, 4.7472415746898 51.6616062450009, 4.74631651356759 51.6616011803899, 4.74329062577254 51.6609193165604, 4.74149197690614 51.6603430431252, 4.73984747483008 51.6601092081658, 4.73911034196979 51.6601051263738, 4.73862912143824 51.6603991232185, 4.73876296514727 51.6611460202578, 4.73941639056379 51.6619497344594))'], [13640], [1]));

Crate does not return any error, but returns:

INSERT OK, 0 rows affected (0.135 sec)

When running the following singular insert geo_shape query:

INSERT INTO "field-srv"."ground_type" 
(id, shape, source_id, type) VALUES ('f6368d7c-3eed-44a9-a9a6-d1a5c82e9e33', 'POLYGON((4.73941639056379 51.6619497344594, 4.74031813511351 51.6625750219999, 4.74117748973046 51.6621212904621, 4.74146824230308 51.6620060282321, 4.7417552743418 51.6621514494184, 4.74551870104061 51.6638352699, 4.74563331951624 51.6639078170721, 4.74577990687303 51.6637647839548, 4.74640922881335 51.6632198545077, 4.7465984114198 51.6631309925681, 4.74681319403766 51.663276005565, 4.75006360699313 51.6644534399384, 4.75025152196382 51.6644544632838, 4.75032480936369 51.6643829438501, 4.75073561921527 51.6639536689749, 4.75083743532925 51.6639092738637, 4.75102560088398 51.6638923177234, 4.75230514154448 51.6643937087527, 4.75317568295912 51.6651985229797, 4.75437005482921 51.6666253792145, 4.7543675397026 51.6668051616582, 4.7541067070231 51.6668486993728, 4.75384486695584 51.6669641494753, 4.75186315930051 51.6670433016178, 4.75179050135043 51.6670698764021, 4.75171670675564 51.6671773532038, 4.75123347038783 51.6676152275567, 4.75151816918897 51.6679314180575, 4.75265150111855 51.6685578673238, 4.75314915577842 51.6691538925172, 4.75332298134227 51.670161692176, 4.75332046179978 51.6703414745287, 4.75317589295191 51.6703406911252, 4.7518628420433 51.6701537716382, 4.75174718747057 51.6701531434906, 4.75048242200849 51.6685910308538, 4.7484434616039 51.6676000268865, 4.74487251213272 51.6655667570501, 4.7434865892167 51.6644174328145, 4.74031813511351 51.6625750219999, 4.73860248785076 51.6642735871423, 4.7398429093735 51.6644692442382, 4.74030341207372 51.6646156287509, 4.74132227543308 51.6651426677956, 4.74264854998895 51.6664175464285, 4.74443915226811 51.6675780941853, 4.74682573857962 51.6685171327835, 4.74918604676251 51.6692761828769, 4.75056413227575 51.6699759052256, 4.75114636766663 51.6707252257629, 4.75113587536501 51.67147132221, 4.75010643963414 51.674755987651, 4.75011965409017 51.6758707945861, 4.75077121578673 51.6768362488882, 4.75223189297915 51.6778510421694, 4.75380102997411 51.6783539858975, 4.75603195634399 51.6791032046197, 4.75778652965441 51.6797958802762, 4.75989031400677 51.6813803909629, 4.76174331132709 51.683332103889, 4.76490876972437 51.6855604669836, 4.76789576331192 51.6871135654271, 4.7698247474552 51.6877800119299, 4.7706348924206 51.6877663038071, 4.77101349025813 51.6875795128002, 4.77104731584771 51.6872201000252, 4.77014490134691 51.6865770709997, 4.76761903563967 51.6851433396479, 4.76537266691242 51.6833784168174, 4.76384900310264 51.6816532614502, 4.76361767904227 51.6806002242375, 4.76379491929848 51.6803314751933, 4.76427334101667 51.6802441254043, 4.76515008804363 51.6806353504894, 4.76741915209649 51.6817890938073, 4.76853059527575 51.6829996060527, 4.77043833070921 51.6841513788633, 4.77265230298547 51.6851249333833, 4.77580639865183 51.6861033614538, 4.77851423653692 51.6869355472461, 4.78089532337592 51.6873344687263, 4.78203785125001 51.6873403830095, 4.78285038842229 51.6871468075113, 4.78328822083947 51.6868524057563, 4.78374542934281 51.6861895219789, 4.78410937812326 51.6860116030611, 4.78463060778985 51.6859693395131, 4.78598680341313 51.6862190390833, 4.78890867779505 51.687285817061, 4.79175210096455 51.6888285794414, 4.79426954574181 51.6898751841817, 4.79719372941981 51.690797929222, 4.80016013984511 51.6918196998067, 4.80312378042523 51.6930661244716, 4.80677773237232 51.6946395299235, 4.80787210010435 51.6950315114296, 4.80959192938253 51.6951568792366, 4.81121108623997 51.6952367776158, 4.81216497353866 51.695304396795, 4.81656261044966 51.696449639583, 4.81990072606069 51.6967355608334, 4.82184782896584 51.6972034594847, 4.82386875784007 51.6975548145578, 4.82744245457543 51.6986866881539, 4.83045546071466 51.6995460944001, 4.83334565352492 51.6998115201543, 4.83495996665306 51.7003045935276, 4.83645452680574 51.7011297004849, 4.83784645054587 51.7020711726723, 4.8389002660177 51.7022648984368, 4.83953878715881 51.7021060733045, 4.83964811875017 51.7014413461574, 4.83914973267983 51.7007827642808, 4.83747461550647 51.6993365534441, 4.83652597230159 51.6988286693907, 4.83322225789432 51.6980759203392, 4.82889170225761 51.6973091936621, 4.825154264135 51.6965541461175, 4.8225408774274 51.6949953322341, 4.81761396854956 51.6922295866238, 4.81499049720456 51.6903649016652, 4.8143764306731 51.689741605264, 4.81284303017464 51.6886193609097, 4.81054904182898 51.6870348733274, 4.81036366957696 51.6868271955038, 4.81070157521894 51.6864153325322, 4.81165870914753 51.6862132801868, 4.81337969733735 51.6862217326186, 4.81639682686906 51.6866679974368, 4.81730443488569 51.6869511033967, 4.81825035032805 51.6876389268129, 4.81916996702959 51.6881198508097, 4.82045252734059 51.6884946491173, 4.82397552307825 51.6889881155283, 4.82484263184434 51.6890462244066, 4.82558482481897 51.6886812099241, 4.82582214804068 51.6882058928783, 4.8258301857536 51.687558670605, 4.82524225033782 51.6871513103859, 4.82384197342638 51.6869378130381, 4.82278914093834 51.6866990061484, 4.8225622359562 51.6863383219327, 4.82282547244597 51.6861058587427, 4.82337503117766 51.6861085081803, 4.82432751341222 51.6862749092674, 4.82606006797068 51.6865169640711, 4.82708688492619 51.686521883895, 4.82757036985623 51.6860207722053, 4.8277992029678 51.6850599648556, 4.82730183712285 51.6843473967878, 4.82660682190324 51.6832473209806, 4.8253988982191 51.6826931531891, 4.8247047709841 51.6826898181763, 4.82348713445153 51.6829176911995, 4.82217320102385 51.6827495380155, 4.82086355635308 51.682239780617, 4.82020726405307 51.6815264123629, 4.8181893419035 51.6809952107736, 4.81424427349832 51.6796274958221, 4.81377256621096 51.6791936768829, 4.81399812454124 51.678511561198, 4.81400074547508 51.6783048097871, 4.81374252548342 51.6781417288908, 4.8120293911911 51.6775399957263, 4.81125992341642 51.6766462247679, 4.81061717611749 51.6760227658086, 4.80952002819599 51.6758825071548, 4.80757016782515 51.6757110473105, 4.80617032893419 51.6754973390794, 4.80460047472796 51.6750130747551, 4.80244344199169 51.6740943472497, 4.8020483829506 51.6733372319001, 4.80156694006156 51.6725527134225, 4.80118124147892 51.6721911914285, 4.80053368222114 51.6719542119394, 4.79968384256943 51.6717072233721, 4.79742832902107 51.6705991225184, 4.79655751870935 51.6719611738812, 4.79588730385945 51.6734590793403, 4.7954244033072 51.6745804595617, 4.79520305671183 51.6749209508324, 4.79556451771819 51.6749227793198, 4.79656038917991 51.6750626577388, 4.7977739650144 51.6751406963484, 4.7989017293638 51.6751463727837, 4.79797548577705 51.6785398416551, 4.79775648250539 51.6787005542073, 4.79801675626013 51.6787018651882, 4.80142387915061 51.679132502142, 4.801798088226 51.6792692214563, 4.80172369390113 51.6794306648392, 4.80041191561061 51.6813389115889, 4.79902737003669 51.6832737471717, 4.79767104314131 51.6852536573804, 4.79684592539522 51.6864181654964, 4.79684392978722 51.6865709812576, 4.79641029978209 51.6865508131838, 4.78544647531985 51.684436288432, 4.78508637546622 51.6843265588043, 4.78475472100611 51.6842529335814, 4.78487376546508 51.6840018330148, 4.7862674206852 51.6814289361018, 4.78644273825869 51.6812949898967, 4.78619810534907 51.681203835913, 4.7809941645244 51.6799633707777, 4.78044649315421 51.6798256853694, 4.78022995553378 51.6797975929314, 4.78022899019951 51.6798695061016, 4.78003702707842 51.6801651725892, 4.77989025301713 51.6803262267451, 4.77963093691576 51.6802529622965, 4.77281969516845 51.6791925605547, 4.77244496363589 51.6791006944579, 4.77270780403712 51.6789132898333, 4.77597313675767 51.6737702609614, 4.77638415350739 51.6733139287896, 4.77708674211647 51.6726793204981, 4.77695101964017 51.6720223585952, 4.7773940764834 51.6713324556995, 4.77851768929259 51.670565186014, 4.7797671495983 51.670113201485, 4.7808100984054 51.6688870122509, 4.78158146747737 51.6685044475713, 4.78277241487575 51.6680970771565, 4.78554970973829 51.6658100105311, 4.7856653538121 51.6658106052688, 4.78808304582151 51.6666410827255, 4.78808852258214 51.6662275809726, 4.78758349075196 51.665065311775, 4.78739736005327 51.6649295108191, 4.7860862344466 51.6645991484154, 4.78480822767027 51.6639542994155, 4.78276235637447 51.66344031777, 4.78181808704017 51.6627072619792, 4.78064752126366 51.6616044438771, 4.78025076444548 51.661009059782, 4.77982486912913 51.6604315025468, 4.77990196458818 51.6600723112756, 4.78196905632186 51.6589862712202, 4.78219871786551 51.6580255519178, 4.78219967946237 51.6579536385742, 4.78300928726686 51.6579398439463, 4.78411881281441 51.65819728418, 4.78411701551972 51.6583321217344, 4.78354207009251 51.6591741958951, 4.782512515854 51.6594205919107, 4.78181297620834 51.6598484832073, 4.78173000156188 51.660648144866, 4.78215291773336 51.6614504243248, 4.78311282104317 51.662093660463, 4.78380027383316 51.6625736673478, 4.78657542758283 51.6636847035784, 4.79023272184959 51.6647821990951, 4.79121295098172 51.6649939623706, 4.79144340643863 51.665058064756, 4.79143500071345 51.6656962961033, 4.79167766701831 51.6659312659491, 4.79303023191149 51.6664146020713, 4.79350420304987 51.666650742722, 4.79349771380443 51.667145147364, 4.79365366240393 51.6673796728655, 4.7942280147078 51.6676792482138, 4.79441511967793 51.6677431249162, 4.7944144128312 51.6677970599707, 4.79419226705049 51.6682004738214, 4.7939591979078 51.6683341386804, 4.79421941191069 51.6683354580104, 4.79507021747616 51.6685015835953, 4.79719026506734 51.6688988557228, 4.79799526335318 51.6692535140716, 4.80023219274097 51.6695614218394, 4.80239989047271 51.6696352067736, 4.80486402288501 51.6691440724412, 4.80831420802531 51.6695477566079, 4.81175194252471 51.6697984517167, 4.81198325193621 51.6697995893405, 4.81240746438652 51.668273415429, 4.81266018772697 51.6677262815998, 4.81520424848331 51.6677567288202, 4.81692680253967 51.6675853440135, 4.8180289760996 51.6673120296105, 4.8192544594835 51.6664280001837, 4.82124659875582 51.6655027211217, 4.82234055170271 51.6635662215735, 4.8227764410404 51.6633885306115, 4.82332886143061 51.6631394818065, 4.82430303351105 51.6626856964332, 4.82602391092072 51.6626310371977, 4.82748215518684 51.662772870787, 4.82829328029386 51.66264190316, 4.82903390265741 51.6623667574399, 4.82922990514539 51.6617114405679, 4.82994486099551 51.6599978059193, 4.83054587077427 51.6593174464778, 4.83138759914644 51.6590427671656, 4.83248716316673 51.658958089837, 4.83389112390735 51.6588029246137, 4.84306848435035 51.6588909303448, 4.84347501670059 51.6587399952978, 4.84366485450574 51.6585790622384, 4.84382612248661 51.6571864006257, 4.8438275259953 51.6570695404114, 4.84408767708208 51.6570707488074, 4.84793641973892 51.6567289687143, 4.84848755042021 51.6565696932507, 4.84809380072962 51.6556509246605, 4.84739381062944 51.6537508588315, 4.84589411765374 51.6522606179382, 4.84397242767962 51.6510201108747, 4.84233325074558 51.650329263554, 4.84141176811143 51.6500462839821, 4.83986664234334 51.6499491647453, 4.83921821782277 51.6497933021501, 4.82619870240101 51.6485359295085, 4.82524689483686 51.648378533435, 4.81872181094541 51.647843568055, 4.81398977936954 51.6472271433948, 4.80959170566697 51.6464953098055, 4.80828026044275 51.6462191312614, 4.80575937035605 51.6456043086244, 4.80348545545406 51.6448917768559, 4.80170181944158 51.6442625645517, 4.80049372467013 51.6438249995372, 4.79322300307715 51.6407227737332, 4.79210295082069 51.6401956705615, 4.78968932316555 51.6391585247198, 4.78865609760356 51.6397195977615, 4.78769746423321 51.640101248185, 4.78743586438831 51.6402167740816, 4.7875775992216 51.6404242664013, 4.78811755962366 51.641110258866, 4.78811446647235 51.6413439778067, 4.78782432208962 51.641432388935, 4.7862729254581 51.6418379573058, 4.78546205291686 51.6419686344039, 4.78462622870836 51.6418025138763, 4.78474611843947 51.6414794987636, 4.7853024238124 51.6409339856964, 4.78585286449909 51.6408289401251, 4.78633118443595 51.6407145315919, 4.78636676094015 51.6402112855224, 4.78648866186573 51.6397354523392, 4.78708409505716 51.6395047749377, 4.78740550473816 51.6392367300169, 4.78700766191937 51.6387312596587, 4.78629140377515 51.6382691009535, 4.78625534250365 51.637720537609, 4.77647170393192 51.6336334196433, 4.77582992384719 51.6340885461014, 4.77375169229154 51.6350036117336, 4.77234387205082 51.6354816670463, 4.77167985398972 51.6354422140989, 4.77114731684641 51.6352955724049, 4.77092071224861 51.6349617550215, 4.77126274498566 51.6342443719467, 4.77156130908822 51.6335357488091, 4.77156913138296 51.6329604416522, 4.77118437526309 51.6325718529207, 4.76993379873124 51.6321157662888, 4.76881038335013 51.6329279035291, 4.76829768253693 51.6334466003094, 4.76814008036073 51.6344076766816, 4.76754129651383 51.6348809652661, 4.76720215438417 51.6353825973203, 4.76718922894091 51.6363264597695, 4.76682561393231 51.6365043274822, 4.76575438043021 51.6366604557141, 4.76362324234722 51.6371974887617, 4.7621111433758 51.6378906210483, 4.76048205519075 51.6386819949883, 4.75870968763059 51.6393826781703, 4.76032503096688 51.6416747634738, 4.76206121529724 51.6435988889793, 4.76121525388819 51.6441697118413, 4.76099442178298 51.6444651934648, 4.7614624039997 51.6451059754245, 4.76221813929225 51.6458381917596, 4.76452439242042 51.6451652673901, 4.76424790944337 51.6451896873542, 4.76402227713952 51.6451764172696, 4.76388713625633 51.6451583179287, 4.7637618176362 51.6451065032572, 4.76362864444572 51.6450039152492, 4.76351459495523 51.6448564314643, 4.76339334857472 51.6446300109657, 4.76327275743691 51.6443754305366, 4.76324919732398 51.6442231144582, 4.76324397089352 51.6440596948866, 4.76324699061929 51.6439301497834, 4.76332295210684 51.6437730858641, 4.76342523043333 51.6436500556777, 4.76360882530669 51.6435277485305, 4.76373676600215 51.6434669152086, 4.76393043057949 51.6433731445772, 4.7641916839977 51.6433357492725, 4.76483529175996 51.643251322541, 4.76549631544961 51.6431952146851, 4.76600294685518 51.6431715363674, 4.76643742886953 51.6431415845513, 4.76669945507035 51.643143904757, 4.76689796871336 51.6431569287786, 4.76705995003764 51.6431865319262, 4.76723935102108 51.6432444552142, 4.76731988414957 51.6432789679138, 4.7674352507602 51.6433701265937, 4.76752311804088 51.6434779413972, 4.76756528848612 51.6436078860508, 4.76754237906746 51.6438161251301, 4.76748371707974 51.644007146237, 4.76741667615925 51.6441699254609, 4.76731309858348 51.6443492841664, 4.76720231594227 51.6444497063964, 4.76700929785304 51.6445888376568, 4.76680891924353 51.6446825345988, 4.76762266356265 51.6447701933434, 4.76795031164555 51.645113541639, 4.76768580280989 51.6454357738599, 4.76691594236778 51.6457283566871, 4.76518835153965 51.6463125081299, 4.76458937901258 51.6467857807803, 4.76436694795425 51.6471981277013, 4.7649131872091 51.6474078012489, 4.76590897512713 51.6475029938267, 4.76711014140259 51.6473745218457, 4.76721477889216 51.6481751696308, 4.76761531346136 51.6484739560115, 4.76823383320435 51.6486839968379, 4.76926101105113 51.6485995307488, 4.77147626131782 51.6482875818901, 4.77379262977212 51.6479761216301, 4.77547002094907 51.6478950098322, 4.77801100325467 51.6480700902216, 4.77977110810785 51.6482860110208, 4.78073346480297 51.6498012917388, 4.7807298509152 51.6500709669238, 4.78055548123424 51.6501419809358, 4.77883298213582 51.6508257979003, 4.77881199607689 51.6508341283535, 4.77895396602284 51.6510236525637, 4.78061470484309 51.6532707371789, 4.78065348070298 51.6536125504791, 4.78064363244239 51.6536190385809, 4.78027436313368 51.6538622979648, 4.7794309739746 51.6542444794747, 4.77938737707401 51.6542622325042, 4.77942940440052 51.6543613386506, 4.77971107968298 51.6549111794962, 4.77970190762822 51.6555943561836, 4.7792437606065 51.6559114351378, 4.77859313987662 51.6563617141663, 4.77743265881688 51.6568965947495, 4.77694854779104 51.6571197209212, 4.77681878187697 51.6571795289293, 4.77461429955259 51.6577343609697, 4.77399319889361 51.6578335990341, 4.77339887609629 51.6579285567528, 4.77210832616033 51.6581347400319, 4.77003050482342 51.6580955704268, 4.76879919819585 51.6580723423026, 4.76633343079248 51.6586975555464, 4.76461127434113 51.6588502179848, 4.76441600282914 51.6588392752712, 4.76266145218575 51.6587409354567, 4.75984719198105 51.6584292114798, 4.75837297646355 51.6584212952299, 4.75767795866148 51.6585343648378, 4.75767760228916 51.6585344222525, 4.75719902852957 51.6587043042385, 4.75653004190364 51.6589417715701, 4.75447541791902 51.659092491963, 4.75449954780341 51.65943423522, 4.75526697435217 51.660373323795, 4.75405122785483 51.6604836169417, 4.75283497133331 51.6606298539514, 4.75187647753668 51.6609482850278, 4.7491880564124 51.6609336522664, 4.7472415746898 51.6616062450009, 4.74631651356759 51.6616011803899, 4.74329062577254 51.6609193165604, 4.74149197690614 51.6603430431252, 4.73984747483008 51.6601092081658, 4.73911034196979 51.6601051263738, 4.73862912143824 51.6603991232185, 4.73876296514727 51.6611460202578, 4.73941639056379 51.6619497344594))', 13640, 1);

Crate returns the following error:

Error!

SQLActionException[ColumnValidationException: Validation failed for shape: Cannot cast 'POLYGON to type geo_shape]

The error of the singular insert query should also be returned in the batch insert query in my opinion. This error occurs when a polygon intersects with itself. Crate does not accept that as a valid geo_shape.

Is there another way to insert self-intersecting polygons? Maybe by forcing it? And why don’t we receive a error when running a batch create query?

See attachment for the visualisation of the self-intersecting polygon. screenshot from 2019-01-18 10-18-17

CrateDB version: 3.1.3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
mfusseneggercommented, Jan 18, 2019

We realize that the behavior is not optimal, but we’re not sure how to handle it in a better way.

If you adapt your example so that the unnest query would return 1 row that is valid and one that is invalid, we need a way to deal with this “partial success / part failure” case.

We think it is worse to return an error if the query inserted some records.

To handle this we could attempt to do an up-front validation. If something already fails at the validation we could return an error without inserting anything.

I think this might be a good solution, except that it would cause inconsistency. A INSERT from unnest would behave differently than a INSERT from a regular user table. (In the second case, due to the distributed execution we wouldn’t be able to do this up-front validation - unless we introduced some coordination that would affect performance negatively, increase complexity and not solve the problem completely due to runtime failures - we’d end up having to implement transaction support)

Another option would be to introduce some kind of warning reporting. But we haven’t looked into how feasible this is yet (and aren’t sure how much it would help)

An alternative would be to use the HTTP Bulk API or clients which can do efficient batching. E.g the JDBC batch-API could be used and it would support per record error reporting.

Regarding the self-intersecting polygons: On top of my head I’m not sure why exactly we have this limitation. We’ll have a closer look at that.

2reactions
PieterVoorwindencommented, Jan 23, 2019

Note: this is the same polygon as @Rubenvdveen provided(same company).

The docs state that it’s possible to insert

an object containing a valid GeoJSON geometry object

Given the following GeoJSON file: Grondsoortenkaart-2006.txt. This JSON is valid according to http://geojson.io.

Modified to an INSERT statement in Crate:

INSERT INTO "field-srv"."ground_type" 
(id, shape, source_id, type) VALUES ('valid_polygon', {type = 'Polygon', coordinates = [ [ [ 4.73907357614372, 51.661020544753327 ], [ 4.739975193096869, 51.661645757091584 ], [ 4.740834420124525, 51.661192076782086 ], [ 4.741125129747552, 51.661076827406063 ], [ 4.741412120864591, 51.661222230932751 ], [ 4.745175009724752, 51.662905845973775 ], [ 4.745289611940394, 51.662978384399466 ], [ 4.74543617716019, 51.662835367706535 ], [ 4.746065404457807, 51.662290500677578 ], [ 4.746254559040096, 51.662201648726203 ], [ 4.746469311239989, 51.662346644271985 ], [ 4.749719258067461, 51.66352393364415 ], [ 4.749907145708765, 51.663524956457294 ], [ 4.749980422041929, 51.663453445236563 ], [ 4.750391169699131, 51.663024219721329 ], [ 4.750492970750641, 51.662979829584735 ], [ 4.750681108837854, 51.662962875016888 ], [ 4.75196046621352, 51.663464204534662 ], [ 4.752830885554483, 51.664268922622092 ], [ 4.754025091761034, 51.665695609176979 ], [ 4.754022578018388, 51.665875370576366 ], [ 4.753761783529748, 51.665918903764478 ], [ 4.753499982207321, 51.666034340923026 ], [ 4.751518563287881, 51.666113488141185 ], [ 4.751445916058379, 51.666140059973301 ], [ 4.751372132808361, 51.666247524352926 ], [ 4.750888969223345, 51.666685348497019 ], [ 4.751173628401174, 51.667001501352004 ], [ 4.752306799008118, 51.667627874785104 ], [ 4.752804384647487, 51.668223829101606 ], [ 4.752978190634225, 51.669231510380342 ], [ 4.752975672477151, 51.66941127168851 ], [ 4.75283112465744, 51.669410488693558 ], [ 4.751518263717776, 51.669223593970578 ], [ 4.751402625967414, 51.669222966150087 ], [ 4.750138035642029, 51.667661039189518 ], [ 4.748099366232323, 51.666670155731886 ], [ 4.744528924671222, 51.66463713181551 ], [ 4.743143196815693, 51.663487945200828 ], [ 4.739975193096869, 51.661645757091584 ], [ 4.738259805094565, 51.663344127147376 ], [ 4.739500047296932, 51.663539758595007 ], [ 4.739960483845524, 51.663686124951646 ], [ 4.740979202001654, 51.664213100039738 ], [ 4.74230529089508, 51.665487826478639 ], [ 4.744095639301542, 51.66664823440707 ], [ 4.746481883763774, 51.66758715780518 ], [ 4.748841852883421, 51.668346113837188 ], [ 4.750219741882487, 51.669045751232744 ], [ 4.750801896819459, 51.669794982757402 ], [ 4.75079141027804, 51.670540991869736 ], [ 4.74976214296971, 51.673825274978775 ], [ 4.749775361833907, 51.674939951355064 ], [ 4.750426834207399, 51.675905291184314 ], [ 4.751887304619155, 51.676919962441673 ], [ 4.753456216140665, 51.677422843842272 ], [ 4.755686822127274, 51.678171969955869 ], [ 4.757441144040716, 51.678864560671435 ], [ 4.759544631209399, 51.680448881234597 ], [ 4.76139736989322, 51.682400361593459 ], [ 4.764562380182338, 51.684628456873341 ], [ 4.767548947792929, 51.686181366968164 ], [ 4.769477654935937, 51.686847731247205 ], [ 4.770287681913969, 51.686834022971397 ], [ 4.770666223600755, 51.686647253014655 ], [ 4.770700042249454, 51.686287882250127 ], [ 4.769797755474586, 51.685644930474901 ], [ 4.76727224931297, 51.684211372484199 ], [ 4.76502619756804, 51.682446661193012 ], [ 4.76350274577011, 51.680721711140023 ], [ 4.763271449436838, 51.679668797730045 ], [ 4.763448662386604, 51.679400079767312 ], [ 4.763927013993717, 51.679312739164018 ], [ 4.764803635641729, 51.679703916532539 ], [ 4.767072375991844, 51.680857519824762 ], [ 4.768183664235226, 51.68206788791732 ], [ 4.770091128509562, 51.683219521725803 ], [ 4.772304784045069, 51.684192957451884 ], [ 4.775458426161101, 51.685171264129536 ], [ 4.778165874606701, 51.686003346628375 ], [ 4.780546617129021, 51.686402216259907 ], [ 4.781688978750907, 51.686408127387288 ], [ 4.782501396585889, 51.686214572804111 ], [ 4.782939163639358, 51.685920204577648 ], [ 4.783396301906338, 51.685257397432871 ], [ 4.783760196727145, 51.685079498564157 ], [ 4.784281350299949, 51.685037238842902 ], [ 4.785637349935966, 51.685286906258291 ], [ 4.788558805000952, 51.686353553048981 ], [ 4.791401822891937, 51.687896128687541 ], [ 4.793918907060651, 51.688942605488684 ], [ 4.796842670225552, 51.689865236231249 ], [ 4.799808654520398, 51.690886880843586 ], [ 4.802771870591683, 51.692133153247717 ], [ 4.806425299319044, 51.693706366695665 ], [ 4.807519509902521, 51.694098299979615 ], [ 4.809239089517366, 51.69422364945774 ], [ 4.810858011115233, 51.694303535049194 ], [ 4.811811759928617, 51.694371144290102 ], [ 4.816208762943473, 51.69551624367822 ], [ 4.819546394176047, 51.695802124405873 ], [ 4.821493216184811, 51.696269964167556 ], [ 4.823513852774579, 51.696621273847036 ], [ 4.827087035413447, 51.697753007400927 ], [ 4.830099607579347, 51.698612306699239 ], [ 4.832989381062355, 51.698877695324832 ], [ 4.834603461839155, 51.699370707588251 ], [ 4.836097808864769, 51.700195714809659 ], [ 4.837489535041472, 51.701137073852223 ], [ 4.838543198131854, 51.701330774735546 ], [ 4.839181625451857, 51.701171966870156 ], [ 4.839290937538713, 51.700507317330981 ], [ 4.838792620473993, 51.699848813608746 ], [ 4.837117739364591, 51.698402775606752 ], [ 4.836169231521025, 51.697894953002553 ], [ 4.832865993996554, 51.697142298995068 ], [ 4.828536064633962, 51.696375671164496 ], [ 4.824799166484501, 51.695620719875528 ], [ 4.8221861517218, 51.694062094013695 ], [ 4.817259944930582, 51.691296682634807 ], [ 4.814636845250381, 51.689432221556892 ], [ 4.814022864685818, 51.688808999436546 ], [ 4.812489681225995, 51.687686889731303 ], [ 4.810196018070619, 51.686102592536812 ], [ 4.810010671658553, 51.685894939423193 ], [ 4.810348525861945, 51.685483123960545 ], [ 4.811305519381484, 51.685281093245472 ], [ 4.813026257145945, 51.685289541044071 ], [ 4.816042950005682, 51.685735747230297 ], [ 4.816950427475011, 51.686018818124545 ], [ 4.817896209003333, 51.686706559006687 ], [ 4.818815694485004, 51.68718742475199 ], [ 4.820098070168858, 51.68756217647055 ], [ 4.823620555829994, 51.688055577685127 ], [ 4.824487538705382, 51.688113677936521 ], [ 4.825229621669417, 51.687748704634437 ], [ 4.825466907764808, 51.687273442745337 ], [ 4.825474940788912, 51.686626296238828 ], [ 4.824887088728327, 51.686218984953072 ], [ 4.823487014455387, 51.686005515547244 ], [ 4.822434333898358, 51.685766738834261 ], [ 4.822207459975575, 51.685406097328773 ], [ 4.822470656887745, 51.685173660804026 ], [ 4.823020135651293, 51.685176308775176 ], [ 4.823972480167359, 51.685342688375293 ], [ 4.825704783885137, 51.685584711196078 ], [ 4.826731451423267, 51.685589628288113 ], [ 4.827214863264826, 51.685088574259112 ], [ 4.827443657854888, 51.684127878930383 ], [ 4.826946360524526, 51.683415395340759 ], [ 4.82625144047612, 51.682315449800093 ], [ 4.825043689568627, 51.681761349432747 ], [ 4.824349663330902, 51.681758016269079 ], [ 4.823132205239673, 51.681985865171043 ], [ 4.821818462111765, 51.68181773444082 ], [ 4.820509005252786, 51.681308039487341 ], [ 4.819852804570502, 51.68059475614394 ], [ 4.81783517317784, 51.680063621007861 ], [ 4.813890671384801, 51.678696074534379 ], [ 4.81341903036475, 51.678262307388252 ], [ 4.813644552139253, 51.677580271094122 ], [ 4.813647171560169, 51.677373543885899 ], [ 4.813388988250448, 51.677210482630642 ], [ 4.811676099945003, 51.676608823548101 ], [ 4.810906739237408, 51.675715158869501 ], [ 4.810264082044958, 51.675091774271685 ], [ 4.809167092995851, 51.674951534366635 ], [ 4.807217515399139, 51.674780098735873 ], [ 4.805817879017074, 51.674566418500866 ], [ 4.804248250566826, 51.674082214215488 ], [ 4.802091526623098, 51.673163598872378 ], [ 4.801696520890947, 51.672406573012744 ], [ 4.801215143726407, 51.671622147417715 ], [ 4.800829499267821, 51.671260668575194 ], [ 4.80018203291875, 51.671023718213597 ], [ 4.799332315549679, 51.670776760377763 ], [ 4.797077124038042, 51.669668794082284 ], [ 4.796206447947695, 51.671030687827596 ], [ 4.795536338892584, 51.672528419334057 ], [ 4.79507351189451, 51.673649669245883 ], [ 4.794852199389152, 51.673990121122699 ], [ 4.79521360781233, 51.673991948623055 ], [ 4.796209335146033, 51.674131808535243 ], [ 4.797422734833262, 51.674209835414921 ], [ 4.798550335121052, 51.674215508777998 ], [ 4.797624245052314, 51.677608582292343 ], [ 4.797405274536688, 51.677769276494566 ], [ 4.797665510425097, 51.677770586766165 ], [ 4.801072139904337, 51.67820116602968 ], [ 4.801446295280012, 51.678337868538307 ], [ 4.801371912670766, 51.6784992931766 ], [ 4.800060335794748, 51.680407319287852 ], [ 4.798676002388973, 51.682341931275495 ], [ 4.797319883822278, 51.684321612552544 ], [ 4.796494892600303, 51.68548598607876 ], [ 4.796492898127894, 51.685638783951021 ], [ 4.796059331121606, 51.685618619165375 ], [ 4.785097090556184, 51.683504365511261 ], [ 4.784737042497724, 51.68339464950644 ], [ 4.784405435893894, 51.683321033617887 ], [ 4.784524461629831, 51.683069962196463 ], [ 4.785917899714952, 51.680497363544703 ], [ 4.78609319103064, 51.68036343264626 ], [ 4.785848593213379, 51.680272289861705 ], [ 4.780645402753017, 51.679031981176564 ], [ 4.780097810310077, 51.67889431307092 ], [ 4.779881304042752, 51.678866224389381 ], [ 4.779880339250419, 51.678938129141436 ], [ 4.77968840571406, 51.679233761424015 ], [ 4.779541653910359, 51.679394797039066 ], [ 4.77928237513517, 51.679321541728541 ], [ 4.772472118602794, 51.678261278876938 ], [ 4.772097441084014, 51.678169424348638 ], [ 4.772360242187459, 51.677982041097451 ], [ 4.775625070979176, 51.672839607342105 ], [ 4.77603602537461, 51.672383327712076 ], [ 4.776738508211866, 51.671748792206039 ], [ 4.776602801809084, 51.671091907518075 ], [ 4.777045790334888, 51.670402084443182 ], [ 4.778169235384367, 51.669634902167253 ], [ 4.779418511386931, 51.669182967862 ], [ 4.780461301620163, 51.667956919947642 ], [ 4.781232556339076, 51.667574398397683 ], [ 4.782423328208129, 51.66716707311361 ], [ 4.785200206310784, 51.664880268292414 ], [ 4.785315833564924, 51.664880862711719 ], [ 4.787733178479825, 51.665711237735735 ], [ 4.78773865214725, 51.665297784386077 ], [ 4.787233687329234, 51.664135652357821 ], [ 4.787047582952466, 51.663999867702032 ], [ 4.785736646237497, 51.663669546796818 ], [ 4.784458821782582, 51.663024776047777 ], [ 4.78241324522835, 51.662510858986387 ], [ 4.781469109165998, 51.661777891059884 ], [ 4.780298707511973, 51.660675204604374 ], [ 4.779902005084404, 51.660079891075156 ], [ 4.779476168494996, 51.659502402381669 ], [ 4.779553250736386, 51.659143252999556 ], [ 4.781620035753767, 51.658057335644003 ], [ 4.78184965854129, 51.657096728330984 ], [ 4.781850619597687, 51.657024823405138 ], [ 4.78266010957077, 51.657011028648078 ], [ 4.783769475174252, 51.657268436350847 ], [ 4.783767678891274, 51.657403258121846 ], [ 4.783192821775954, 51.658245234927357 ], [ 4.782163418658963, 51.658491604311536 ], [ 4.781463983146502, 51.658919447016551 ], [ 4.781381025025188, 51.659719015226692 ], [ 4.781803884151267, 51.660521199839813 ], [ 4.782763651417612, 51.661164358597127 ], [ 4.783451006882765, 51.66164430780038 ], [ 4.786225763129194, 51.662755207975692 ], [ 4.789882531473515, 51.663852567139358 ], [ 4.790862619186576, 51.664064303518629 ], [ 4.791093041474491, 51.664128397904605 ], [ 4.791084640509575, 51.664766554542538 ], [ 4.791327272815486, 51.665001496356716 ], [ 4.792679643623858, 51.665484772989707 ], [ 4.793153547118915, 51.665720884976977 ], [ 4.793147061554693, 51.666215231745262 ], [ 4.793302988765617, 51.66644972945334 ], [ 4.793877259172029, 51.666749268496332 ], [ 4.794064337275869, 51.666813137319359 ], [ 4.794063630830425, 51.666867066060398 ], [ 4.793841519599884, 51.66727043315236 ], [ 4.793608485104002, 51.667404082859889 ], [ 4.7938686612581, 51.667405401478575 ], [ 4.794719343966758, 51.667571505792282 ], [ 4.796839085325584, 51.667968726873056 ], [ 4.797643968456702, 51.668323341977093 ], [ 4.799880574105548, 51.668631208919912 ], [ 4.802047956876264, 51.668704980595344 ], [ 4.804511728092116, 51.668213898523796 ], [ 4.8079614135019, 51.668617528094849 ], [ 4.81139864923454, 51.668868186562079 ], [ 4.811629924999926, 51.668869323562781 ], [ 4.812054067376235, 51.667343327446822 ], [ 4.812306750954792, 51.66679625714422 ], [ 4.814850441768431, 51.666826695418251 ], [ 4.816572744291944, 51.666655327039159 ], [ 4.81767475601682, 51.666382042310843 ], [ 4.818900056298517, 51.665498113806152 ], [ 4.820891900723401, 51.664572938882621 ], [ 4.82198568399049, 51.662636663766257 ], [ 4.822421508954042, 51.662458992691924 ], [ 4.822973847631244, 51.662209971884415 ], [ 4.823947875536773, 51.661756237593877 ], [ 4.825668502324038, 51.661701581142232 ], [ 4.827126535237855, 51.661843395063734 ], [ 4.82793754164488, 51.661712441069483 ], [ 4.828678054783195, 51.661437326011779 ], [ 4.828874025208516, 51.660782085456233 ], [ 4.829588867777781, 51.659068649948907 ], [ 4.830189786452419, 51.658388368907445 ], [ 4.831031390905866, 51.658113719993175 ], [ 4.832130794533875, 51.658029050277769 ], [ 4.83353455022674, 51.6578739002859 ], [ 4.842710576276867, 51.657961876582284 ], [ 4.843117048685007, 51.657810958362269 ], [ 4.843306858013319, 51.657650043750984 ], [ 4.843468095057073, 51.656257544860892 ], [ 4.843469497733953, 51.65614069832602 ], [ 4.843729610989107, 51.656141906040055 ], [ 4.847577792027403, 51.655800157977012 ], [ 4.848128841695979, 51.65564090001979 ], [ 4.847735144352497, 51.654722239817829 ], [ 4.847035245878029, 51.652822397904785 ], [ 4.84553576301903, 51.65133233460319 ], [ 4.84361434585793, 51.650091976771002 ], [ 4.841975403591784, 51.649401213743296 ], [ 4.841054053442428, 51.649118269220011 ], [ 4.83950915184975, 51.649021164570833 ], [ 4.83886082078613, 51.648865321574981 ], [ 4.825843191873881, 51.647608123381737 ], [ 4.824891521865385, 51.647450747735611 ], [ 4.818367383919895, 51.646915858726246 ], [ 4.813636037085955, 51.646299516232503 ], [ 4.809238598911867, 51.645567777641432 ], [ 4.807927342871547, 51.645291634214708 ], [ 4.805406815970732, 51.644676888915406 ], [ 4.803133227795552, 51.643964445406681 ], [ 4.801349847669897, 51.643335310568787 ], [ 4.800141926149186, 51.642897799359147 ], [ 4.792872244572089, 51.639795952296481 ], [ 4.791752352244444, 51.639268913236492 ], [ 4.789339069757897, 51.638231893997485 ], [ 4.788305997523653, 51.638792903566873 ], [ 4.787347505644397, 51.639174511365653 ], [ 4.787085944474303, 51.639290024298589 ], [ 4.787227659852158, 51.63949749202078 ], [ 4.787767545554563, 51.64018340301034 ], [ 4.787764454149454, 51.640417094594127 ], [ 4.787474352442226, 51.640505495994439 ], [ 4.7859231836256, 51.640911020215263 ], [ 4.785112429706849, 51.641041683757301 ], [ 4.784276726099553, 51.640875584477072 ], [ 4.784396596603997, 51.640552606924828 ], [ 4.784952818062814, 51.640007156529101 ], [ 4.785503178136582, 51.639902122072662 ], [ 4.78598142789459, 51.639787725905848 ], [ 4.786016996431948, 51.639284538679476 ], [ 4.786138876992556, 51.638808760944244 ], [ 4.786734222334978, 51.638578109270568 ], [ 4.787055583799784, 51.638310095041533 ], [ 4.786657796016411, 51.637804684717985 ], [ 4.785941639438989, 51.637342581661123 ], [ 4.785905580364372, 51.636794082619069 ], [ 4.776123341328231, 51.632707464256875 ], [ 4.775481657079368, 51.633162538817786 ], [ 4.773403732750953, 51.634077501813906 ], [ 4.771996119843095, 51.634555504206688 ], [ 4.771332198091606, 51.634516057317697 ], [ 4.770799737543636, 51.634369433946866 ], [ 4.77057316401819, 51.634035656137556 ], [ 4.770915143016137, 51.63331835631034 ], [ 4.771213659749254, 51.632609815489118 ], [ 4.771221477686005, 51.632034575670637 ], [ 4.770836775320292, 51.631646033268304 ], [ 4.769586378021322, 51.631190002746663 ], [ 4.768463130496328, 51.632002047343022 ], [ 4.767950507121235, 51.632520684509366 ], [ 4.767792933246558, 51.633481648703579 ], [ 4.767194239100697, 51.633954883177708 ], [ 4.766855149088234, 51.63445645723904 ], [ 4.766842230822231, 51.635400209210971 ], [ 4.766478669673115, 51.635578056889749 ], [ 4.765407592780139, 51.635734169172174 ], [ 4.76327676753593, 51.636271143983905 ], [ 4.761764892293466, 51.636964198414752 ], [ 4.760136045406014, 51.637755483254992 ], [ 4.758363939470907, 51.638456088271198 ], [ 4.759979060880025, 51.640747901693111 ], [ 4.761715003617868, 51.642671798136185 ], [ 4.760869168427192, 51.643242556011096 ], [ 4.760648370096353, 51.643538003521321 ], [ 4.761116287877925, 51.64417870943754 ], [ 4.761871917407439, 51.644910838396839 ], [ 4.764177831407024, 51.644237987789467 ], [ 4.763901388769122, 51.644262405496427 ], [ 4.763675789198508, 51.644249137456789 ], [ 4.763540667863532, 51.644231040529213 ], [ 4.7634153671737, 51.644179232197061 ], [ 4.763282212769839, 51.644076656490249 ], [ 4.76316817903257, 51.643929190221158 ], [ 4.763046949007389, 51.643702796495965 ], [ 4.762926373970966, 51.643448246135783 ], [ 4.762902816426442, 51.64329594794183 ], [ 4.762897589836142, 51.643132547514753 ], [ 4.762900608393734, 51.643003017572177 ], [ 4.762976557952525, 51.642845971876369 ], [ 4.76307882071542, 51.642722955871484 ], [ 4.763262388206009, 51.642600662644099 ], [ 4.76339030995676, 51.642539836165838 ], [ 4.763583945847989, 51.642446076091339 ], [ 4.763845161070029, 51.6424086845959 ], [ 4.764488674778106, 51.64232426634792 ], [ 4.765149602040842, 51.642268163622639 ], [ 4.765656159650224, 51.642244486975017 ], [ 4.766090578323567, 51.642214537720783 ], [ 4.7663525664394, 51.642216857085067 ], [ 4.766551051292105, 51.642229879150179 ], [ 4.766713009230899, 51.642259478479758 ], [ 4.766892384455049, 51.64231739459612 ], [ 4.766972906067959, 51.642351903079927 ], [ 4.767088256416296, 51.642443050836306 ], [ 4.7671761115265, 51.642550852825927 ], [ 4.76721827656973, 51.642680782173912 ], [ 4.767195371651193, 51.642888996922508 ], [ 4.767136719265424, 51.643079995792121 ], [ 4.767069689006692, 51.643242756103575 ], [ 4.766966127498344, 51.643422094034953 ], [ 4.766855361529043, 51.643522504748233 ], [ 4.766662372286419, 51.643661620138793 ], [ 4.766462023338739, 51.643755306546367 ], [ 4.767275649829314, 51.643842953259117 ], [ 4.767603252198483, 51.644186260643458 ], [ 4.767338783632596, 51.644508455712156 ], [ 4.766569036775579, 51.644801005957078 ], [ 4.764841700434051, 51.645385092764883 ], [ 4.764242817664274, 51.645858311307933 ], [ 4.764020421269117, 51.646270610435366 ], [ 4.764566582274049, 51.646480258245205 ], [ 4.765562225928115, 51.646575437511068 ], [ 4.766763216818187, 51.646446977959727 ], [ 4.766867843589007, 51.647247531776927 ], [ 4.767268321592608, 51.64754628230488 ], [ 4.767886752572532, 51.647756297195627 ], [ 4.768913780577587, 51.647671838765199 ], [ 4.771128706964562, 51.647359921623242 ], [ 4.773444736842146, 51.647048492810015 ], [ 4.775121883649876, 51.646967386878266 ], [ 4.777662497439185, 51.647142441276202 ], [ 4.779422347551855, 51.647358332995125 ], [ 4.780384572750493, 51.648873434226147 ], [ 4.780380960891231, 51.649143077845089 ], [ 4.780206616963087, 51.649214083918721 ], [ 4.778484372167711, 51.649897824538208 ], [ 4.778463389207118, 51.649906154061384 ], [ 4.778605339564743, 51.650095655775246 ], [ 4.780265849399576, 51.652342473713816 ], [ 4.780304621525656, 51.652684246910084 ], [ 4.780294774733492, 51.652690734273499 ], [ 4.779925560484828, 51.652933965972579 ], [ 4.779082296114458, 51.653316104555763 ], [ 4.779038705653394, 51.653333855600749 ], [ 4.779080727420564, 51.65343295005286 ], [ 4.779362364804551, 51.653982725913849 ], [ 4.779353197894477, 51.654665822632843 ], [ 4.778895119274219, 51.65498286545143 ], [ 4.77824459568377, 51.655433093164703 ], [ 4.777084286393303, 51.65596791362934 ], [ 4.776600247024589, 51.656191014722957 ], [ 4.776470500318319, 51.65625081600907 ], [ 4.774266341726063, 51.656805587856454 ], [ 4.773645331958715, 51.656904815646286 ], [ 4.773051096134706, 51.656999763534067 ], [ 4.771760735059205, 51.657205925468872 ], [ 4.769683215714283, 51.657166764956351 ], [ 4.768452088045223, 51.657143542224858 ], [ 4.76598668279297, 51.657768687625335 ], [ 4.764264777684918, 51.657921335936749 ], [ 4.764069534513272, 51.657910394929473 ], [ 4.762315238512296, 51.65781207045076 ], [ 4.759501385876746, 51.657500389109941 ], [ 4.75802738473443, 51.657492477006286 ], [ 4.757332468659242, 51.657605534894401 ], [ 4.757332112339079, 51.657605592303163 ], [ 4.756853609146718, 51.657775455444899 ], [ 4.75618472116585, 51.658012896435871 ], [ 4.754130396875816, 51.658163603678148 ], [ 4.754154525184982, 51.658505306869763 ], [ 4.754921845425235, 51.659444283812917 ], [ 4.753706276386156, 51.659554566707754 ], [ 4.752490197601539, 51.659700789260242 ], [ 4.751531845026527, 51.660019185154809 ], [ 4.748843814861996, 51.660004560006513 ], [ 4.746897620086861, 51.660677078268492 ], [ 4.745972693491897, 51.660672016285005 ], [ 4.742947241946431, 51.65999023895295 ], [ 4.741148851414145, 51.659414036955603 ], [ 4.739504587199398, 51.659180233003703 ], [ 4.738767561532627, 51.659176153317446 ], [ 4.738286412674469, 51.659470116803064 ], [ 4.738420241181763, 51.660216926097107 ], [ 4.73907357614372, 51.661020544753327 ] ] ] }, 13640, 1);

This query returns INSERT OK, 0 rows affected (0.051 sec). Is the 0 rows affected intended here? I was kind of expecting an error because this is an INSERT and not a SELECT * FROM UNNEST statement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results returned by the Query error in PostgreSQL
The cause was that my method signature was supposed to return some results: @Modifying @Query(value = "DELETE FROM table t WHERE t.some_id ...
Read more >
Query error in Batch Class - apex - Salesforce Stack Exchange
1 Answer 1 · When my Query is in start method then I'm getting the results, whereas when I build my query in...
Read more >
Fail to run a large batch of SQL statements - SQL Server
This article provides workarounds for the problem that occurs when you execute a large batch of SQL statements that returns many result ...
Read more >
Batch errors associated with wrong statement #872 - GitHub
When using SendBatch() , if one of the statements in the batch returns an error during prepared statement generation, the error is returned...
Read more >
Tests | dbt Developer Hub - dbt Docs
A singular test is testing in its simplest form: If you can write a SQL query that returns failing rows, you can save...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found