Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove UUID Enforcement for ID Column in PGVectorStore #2014

Merged

Conversation

jitokim
Copy link
Contributor

@jitokim jitokim commented Dec 27, 2024

resolve #1856

@jitokim jitokim force-pushed the GH-1856-fix-pgvector-id-column branch from f116f6b to 61409f0 Compare December 27, 2024 15:38
@ilayaperumalg ilayaperumalg self-assigned this Jan 15, 2025
@ilayaperumalg ilayaperumalg added this to the 1.0.0-M6 milestone Jan 22, 2025
@ilayaperumalg
Copy link
Member

@jitokim Thanks for the PR.

@ilayaperumalg ilayaperumalg merged commit bac507c into spring-projects:main Jan 24, 2025
1 check passed
@ilayaperumalg
Copy link
Member

@jitokim I have reverted the PR changes as I realise the PgVectorStore fails to insert the document data and throws the following exception:

org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [INSERT INTO public.vector_store (id, content, metadata, embedding) VALUES (?, ?, ?::jsonb, ?) ON CONFLICT (id) DO UPDATE SET content = ? , metadata = ?::jsonb , embedding = ? ]

	at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:112)
	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:107)
	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:116)
	at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1548)
	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:677)
	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:701)
	at org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1047)
	at org.springframework.ai.vectorstore.pgvector.PgVectorStore.insertOrUpdateBatch(PgVectorStore.java:270)
	at org.springframework.ai.vectorstore.pgvector.PgVectorStore.lambda$doAdd$0(PgVectorStore.java:254)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.springframework.ai.vectorstore.pgvector.PgVectorStore.doAdd(PgVectorStore.java:254)
	at org.springframework.ai.vectorstore.observation.AbstractObservationVectorStore.lambda$add$1(AbstractObservationVectorStore.java:85)
	at io.micrometer.observation.Observation.observe(Observation.java:499)
	at org.springframework.ai.vectorstore.observation.AbstractObservationVectorStore.add(AbstractObservationVectorStore.java:85)
	at org.springframework.ai.vectorstore.pgvector.PgVectorStoreIT.lambda$shouldAllowNonUuidFormat$2(PgVectorStoreIT.java:178)
	at org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.accept(AbstractApplicationContextRunner.java:434)
	at org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.consumeAssertableContext(AbstractApplicationContextRunner.java:363)
	at org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.lambda$run$0(AbstractApplicationContextRunner.java:341)
	at org.springframework.boot.test.util.TestPropertyValues.lambda$applyToSystemProperties$1(TestPropertyValues.java:174)
	at org.springframework.boot.test.util.TestPropertyValues.applyToSystemProperties(TestPropertyValues.java:188)
	at org.springframework.boot.test.util.TestPropertyValues.applyToSystemProperties(TestPropertyValues.java:173)
	at org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.lambda$run$1(AbstractApplicationContextRunner.java:341)
	at org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.withContextClassLoader(AbstractApplicationContextRunner.java:369)
	at org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.run(AbstractApplicationContextRunner.java:340)
	at org.springframework.ai.vectorstore.pgvector.PgVectorStoreIT.shouldAllowNonUuidFormat(PgVectorStoreIT.java:174)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO public.vector_store (id, content, metadata, embedding) VALUES (('NOT_UUID'), ('TEXT'), ('{}')::jsonb, ('[-0.0071811057,-0.017413672,0.0014172343,-0.0017562856,0.014077408,0.01931236,-0.018688506,-0.00826607,-8.472043E-4,-0.021712843,-9.264576E-4,0.036671784,-0.0034549322,0.004624659,-0.013277248,0.01593541,0.04128288,0.0035634288,0.022729997,-0.03002638,-0.009662961,0.014063846,-0.0055672214,0.006377554,-0.012972101,-0.006238543,0.034962967,-0.021265294,0.0018596961,-0.028100569,0.01071402,-0.01588116,-0.028941415,-0.015623482,-0.038543347,-0.01217194,-0.02294699,-0.010910669,0.015989657,-0.019081805,0.014877569,0.0068623973,-0.0017249233,-0.007282821,-0.009134041,-0.02275712,0.012307561,-0.01581335,-0.0074252225,0.0073845363,0.0038990895,0.022662185,-0.011805764,-0.02546953,-0.003161653,-0.0018122289,-0.011751517,0.020180332,0.005994426,0.008950953,-0.003407465,0.002400483,-0.0019207253,0.012043101,-0.023964142,-0.005709623,-0.0031091,0.026961356,0.012043101,0.013161969,-0.006587766,0.02613407,0.0011612505,6.2851625E-4,0.030433241,0.010700458,-0.002368273,-0.004326294,-0.00390248,0.018729191,0.007927018,-0.035017215,-0.0065742037,0.0076896823,0.016355833,-0.008157574,-7.7303685E-4,0.017345862,-0.012043101,-0.008991639,0.0051705316,0.009961326,0.008842457,0.028263312,-0.008991639,0.011107319,0.0024954171,0.035288453,0.006977675,-0.022743559,0.0071472004,0.030867226,-0.025781458,-0.014606328,-0.015311555,0.0093917195,0.021265294,0.0020190503,0.02956527,-0.008869581,-0.019027557,0.049040373,-0.007242135,-0.015108124,0.016749132,0.008008391,0.00965618,-0.017820533,-0.021292418,-0.012619488,0.007554062,0.006316525,0.024059078,0.009201851,0.030731605,0.003644801,-0.011968509,-0.014714825,0.008849238,0.0071268575,0.0399538,0.020749938,0.010144413,9.832487E-4,-0.030134875,-0.001657113,-0.016111715,0.020085396,-0.03360676,-0.02169928,0.012599145,0.019664973,-0.0052891998,0.004075396,0.0034956185,0.01117513,0.008828895,0.0058452436,-0.0015740455,-0.009188289,0.023299603,-0.013840072,0.0021055082,0.0062283715,0.0068759597,-0.005126455,-0.0059164446,0.015623482,0.0053536193,-0.016708447,9.6544845E-4,0.025211852,0.023014799,-0.018295206,0.0067199958,0.03417637,-0.006330087,0.013202656,0.008422033,-0.012605926,-0.027327532,0.030514613,-0.02169928,0.019027557,-0.030840103,0.020844871,0.006608109,0.013114503,-0.016233774,-0.015257306,-0.01765779,0.01032072,0.017834095,0.010924231,-0.013928225,0.008822113,0.017630665,-0.0038550128,-0.007065828,-0.003392208,0.025700085,0.02845318,0.0125313345,-0.0088628,-0.70435864,-0.01820027,0.0037668594,-0.005763871,0.043886796,0.012863604,0.01825452,0.013311152,-0.011656582,0.008510186,-0.010958137,0.01588116,0.0025954375,-0.0053875246,0.010646209,0.015175934,0.006065627,-0.0068963026,-0.009039107,0.0146877,-0.0053943056,-0.001997012,-3.4180604E-4,0.023163982,0.0132840285,0.0064996127,0.0038007647,-0.015067438,-0.0020275265,0.014497831,-0.02374715,0.0033091402,0.011615896,-0.026798612,0.048335146,0.010388531,-0.01620665,0.0071404194,0.013107722,0.031409707,-0.011385341,-0.009303566,0.019203864,0.0040381006,0.0065979376,0.0028565067,0.010096947,-0.011602334,-0.0083406605,0.0032192916,-6.26821E-4,-0.0042754365,0.0019834498,0.0058181197,0.014755511,0.0016054077,0.019068243,-0.02163147,0.0035837719,0.008639026,-0.0024106544,-0.00429917,-0.027490275,-0.02685286,-0.008076201,0.01448427,-0.00681493,0.006391116,0.032521795,-0.019800594,0.0029836511,0.027110538,-0.02294699,-0.0141859045,0.011982071,0.016694885,0.031518206,-0.024452377,-0.0020563458,0.014538518,-9.26431E-6,-0.0043669804,-0.026608743,-0.0045941444,0.03710577,-0.027964948,-0.03737701,0.0122329695,0.018295206,-0.0012019367,0.0076896823,0.019407295,-0.004716203,-0.020885557,6.347278E-6,0.014918256,-0.006370773,0.011222596,0.010063041,0.0014062151,-0.0041126916,-6.598785E-4,0.013779043,0.013270467,0.017047497,-0.0014918256,-0.010558056,0.017942593,0.040360663,-0.025347471,0.0067301677,-0.010707239,-0.0015689597,-0.009222195,0.0027666583,-0.035342705,0.021916274,0.012653393,0.02315042,-0.014904693,0.012524554,-7.323507E-4,0.0097918,0.0090865735,0.006936989,0.02050582,-0.026866421,-0.01839014,-0.016152402,-0.009405281,0.0032260728,-0.009547683,0.03558682,-0.0120905675,0.020777062,-0.0044415714,0.023516595,-0.011798983,0.019203864,-0.016789818,-0.024059078,-0.005238342,0.0076829013,-0.008611902,0.0060520647,-0.033444017,-0.02466937,-3.466799E-4,-0.007235354,0.0042652646,-0.0123889325,-0.011107319,0.008150792,0.017901907,0.012958539,-0.03688878,-0.0022021378,-0.0125381155,-0.0037363449,-0.019922651,-0.0033701696,0.021916274,-0.008808551,7.895656E-4,-0.011676925,-0.03146396,-0.005719795,0.019461542,-0.0020851651,-0.026812173,0.006638624,-0.011893918,-0.014918256,-3.888494E-4,-0.01025291,0.018457951,0.0025377986,-0.0110395085,0.025293224,-0.016491452,-0.0135823935,-0.004770451,-0.010964918,-0.007296383,0.019285236,0.0032515016,0.003519352,0.04413091,-0.013067035,0.0036075055,-0.0039668996,-0.016382957,-0.018023964,0.025971327,0.011276845,0.0207635,-0.006852226,0.0057604806,0.0018020574,-0.0031074048,0.029836511,-0.009968107,0.019814156,0.006706434,0.0032040344,-0.039194327,-0.01032072,-0.03471885,0.025388159,0.010313939,0.015433613,-0.029538145,-0.021794215,0.013006006,0.019556476,0.021129675,-0.02294699,0.0056723277,-0.0077710547,-0.014131656,0.0031497863,-0.007872771,0.021658594,-0.02613407,-0.01560992,0.012490648,0.023123296,0.029185532,-0.0053773527,-0.018159585,-0.01752217,-0.0013019568,0.007757493,-0.01025291,-0.008957734,0.022838492,0.01898687,-0.021862024,0.03802799,0.014118094,-0.0045127724,0.030460365,0.016396519,-0.01276867,0.005801167,-0.006163952,0.029809386,-1.443087E-4,-0.00926288,-0.0063606016,0.004078787,0.0076015294,-0.022865618,-0.004868776,0.018539323,-0.007954142,0.0111141,0.028100569,0.021346668,0.020071834,0.014402897,0.0041635493,0.009710428,0.010096947,0.01740011,5.1451026E-4,0.0040211477,-0.021061864,-0.0104427785,0.013575613,-0.01779341,-0.014457146,0.027598772,-0.021075426,0.021400915,0.011778641,0.006767463,-0.0026513808,0.011331093,-0.008754304,-0.007628653,-0.016586388,0.022526566,0.021075426,-0.0017122088,-0.007296383,-0.031925067,-0.003036204,9.264576E-4,-0.008469501,0.0010078299,0.0019173349,0.021455163,-0.007988048,0.017088184,0.012422838,0.022011207,-0.014674138,-0.0060757985,-1.8457102E-4,0.012029539,0.017874783,0.007052266,-0.009886734,0.02216039,-0.0068759597,-0.0043432466,-0.01038175,-0.0072014485,-0.0059300065,0.012890729,-0.0025649227,0.0013239952,-0.018932622,0.0019614114,0.0063199154,-0.013873978,-0.016165964,0.015976096,0.006357211,-0.008584778,-0.019678535,-0.01032072,0.010144413,0.024316756,0.03591231,5.3993915E-4,0.006920036,-0.013534926,-0.0022190905,-0.01700681,-0.024167573,-0.01032072,-0.007533719,0.009032326,0.0073641934,0.012938196,-0.004651783,0.0077235876,-0.008055857,-0.0027497057,-0.01593541,0.0023462346,-0.015637044,0.004180502,0.0033616931,0.025279662,0.014430022,-0.0038855274,-0.0279107,0.010042698,0.0218349,0.020804185,-0.039519813,-0.012789014,0.012029539,0.0036753155,-0.004973882,-0.008923829,-1.5532786E-4,0.0060351123,-0.0055773933,0.013765481,-0.0060045975,0.01608459,0.019285236,-3.136224E-4,-0.006991237,0.0010569923,-0.011283626,-0.008049076,0.02970089,-0.013222999,-0.019990463,0.013087379,0.0060351123,-0.008639026,-0.0077303685,0.0021902712,0.010727582,-0.01792903,0.008550873,-0.006231762,-0.03249467,-6.8191683E-4,-0.027083414,0.0049094623,-0.014918256,-0.02150941,-0.023530157,-0.003777031,-0.0033210071,-0.014904693,0.006984456,3.8906132E-4,-0.005390915,-0.003929604,0.012870385,0.034691725,0.0048789475,0.01825452,-0.012205846,-0.01078183,0.02202477,-0.016464328,-0.014131656,0.006323306,-0.016396519,-0.010876765,0.0072556967,0.005750309,-0.016518578,0.013345057,0.019610725,8.5144246E-4,-0.009710428,0.0055536595,-0.023896333,0.00555705,0.0015969314,0.0076083103,-0.0037193922,-0.0054926304,-0.014538518,-0.026690114,-0.026079822,0.008923829,0.003248111,0.025523778,-7.768512E-4,-0.010293596,0.054139704,-0.0101308515,-1.1050952E-4,-0.0065911566,0.0066589667,9.763617E-5,0.011337874,-0.0069030835,0.011670144,-0.0014409678,0.008191478,-0.0031006238,-0.02639175,0.015718415,-0.03862472,0.021116111,0.030731605,-0.0074116606,0.01025291,0.004478867,-0.014213028,0.009669742,0.0019003823,0.0028548115,0.008496624,-0.0031413098,0.004268655,-0.02645956,-0.014864007,-0.018037526,0.019325921,0.0081779165,-0.0024598169,7.7557977E-4,0.0023208058,0.006099532,-0.027124101,-9.578198E-4,-0.035830937,0.012605926,0.010490246,0.013928225,0.04301882,-0.0031921675,0.010632647,0.0110462895,-0.013365401,-0.013901101,-0.03870609,-0.013406087,-0.021129675,0.03265742,0.005418039,0.031491082,-1.0023203E-4,0.0050789877,0.005987645,-0.013704452,0.013412868,0.007947361,-0.0030667186,-0.03650904,-0.0013909577,0.017901907,0.009310348,0.011405684,-0.010069822,7.2514586E-4,0.0014096056,-3.2061533E-4,0.003307445,-0.006146999,-0.002785306,-0.0150945615,-0.006363992,0.012544896,0.0076489965,-0.022770682,-0.007845646,0.015623482,0.010463121,0.0057909954,-0.0071675438,0.019475104,-0.011900699,0.0037329544,-0.013528145,-0.0025632274,-0.0068691783,-0.0053163236,-0.012002414,0.005974083,0.023489472,0.0035566476,-0.006391116,-0.019963337,0.0055943457,-0.010666553,8.124516E-4,-0.014579204,-0.023326727,-0.010591961,-0.009452749,-0.033959374,-0.007852427,-0.013053473,-0.0252661,-1.0033798E-4,0.022770682,-0.02110255,0.0207635,-0.0057299663,-0.014619891,0.002824297,-0.005865587,0.026161196,-0.004478867,0.026974918,0.024981296,-0.006998018,-0.0173323,0.012673736,-0.014457146,-0.025523778,0.026568057,-0.0054316013,0.0067505105,0.008984858,0.018403701,0.020017587,-0.015582796,-0.019678535,0.010598742,0.020804185,-0.010090166,-0.019746345,-0.012646612,-0.039519813,0.014755511,-0.0059232255,-0.0054383823,-0.0073777554,-0.0027632678,-0.0020749937,0.020560069,-0.01912249,-0.01289751,0.0016291413,-0.011317531,-7.3277456E-4,5.2637706E-4,-0.024642246,0.0012375371,-0.0035668192,0.02091268,-0.02347591,0.013107722,0.012077006,0.011948166,-5.2552944E-4,0.00608597,0.0058045574,0.022892741,-0.0383806,-0.009439187,-0.0028276874,0.0035668192,0.03414924,0.002427607,-0.022906303,-0.017359424,-0.028887168,-0.013609517,0.00555705,0.01659995,-0.0128432615,0.006072408,-0.0076218722,-0.03903158,-0.004458524,-0.017739162,0.0044551333,-0.022106143,-0.025564464,0.008645807,0.024628684,0.01514881,0.0037160018,-0.01871563,0.010341063,0.03935707,-0.014240153,0.0035566476,-0.015759103,0.002090251,-0.015460737,0.020004025,-0.00786599,-0.0074455654,0.018783439,-0.010632647,-0.040035173,-0.007533719,0.00476028,0.012178721,-0.005245123,-0.020668564,0.022458754,-0.012300779,-0.005279028,-0.011073414,-0.014172343,0.022201076,0.012544896,-0.026717238,0.003366779,-0.029863635,-0.0041703302,0.011066633,-0.0010883545,0.008618683,-0.016979687,-0.016423643,-0.018864812,0.010788611,-0.021211047,-0.0037092208,9.7392476E-4,-0.004238141,-0.007031923,3.2400584E-4,-0.008747523,0.0015164068,-0.0031141858,0.005726576,8.891619E-4,0.019217426,-0.015026752,-0.010958137,-0.020858433,0.0012714422,-0.032114934,-0.040821772,-0.011202253,0.023801398,0.005451944,-0.01719668,-0.03121984,0.0027158007,-0.052430887,-0.021970522,0.01560992,9.671437E-4,0.03379663,0.0131348455,-0.012958539,0.023557281,0.004645002,0.03181657,-0.023516595,-0.0128297,0.012680517,-0.013175532,0.0203702,0.011120881,-0.015487862,-0.016260898,0.0129856635,0.016654197,0.010035917,0.0093917195,-0.011154787,0.0017952764,-0.03287441,0.020207455,-0.019285236,0.0077032447,0.0058588055,-0.019353045,-0.017847657,1.2481325E-4,-0.004973882,-0.029483898,-0.00568928,0.004292389,0.0049399766,0.014009598,-0.019407295,-0.00840169,-0.006438583,-0.032467548,0.022309573,0.011737955,-0.013060254,0.018661382,0.0017613713,0.010931012,-0.008577997,0.008571216,-0.023055485,-0.0033583026,0.00701158,-0.018891936,-0.013100941,0.009642618,-0.002686981,-0.019705659,0.00905945,0.013968912,-0.0076489965,0.01600322,0.010069822,0.031138467,-0.033769507,-0.019095367,-0.009886734,-2.0004025E-4,-0.0029378792,0.00826607,-3.765588E-4,-0.021183923,0.0011756602,0.01765779,-0.012375371,0.0064928317,-0.0042449217,0.015040314,-0.005106112,0.031708073,0.21037452,-0.009642618,0.01032072,0.023448786,0.0045026005,-0.0030921474,0.019664973,-0.003797374,-0.014199466,0.008225383,-0.015081,0.0064521455,-5.6833465E-4,0.0018800392,0.019542914,-0.0125313345,-0.016369395,-0.010591961,-0.02434388,-0.0362378,0.0022411288,-0.019475104,-0.016572826,-8.429662E-4,0.021251732,-0.0035837719,-0.008889924,0.002598828,0.028914291,-0.0076150913,-0.028588802,-0.007574405,0.014199466,0.0033599979,-0.016518578,0.021726405,0.0045398963,-0.0047060316,0.011846451,-4.30807E-4,0.008388128,-0.0037431258,-0.0061300467,-0.03743126,0.0030192514,0.012273655,-0.016071029,-0.026961356,-0.02268931,0.005641813,-0.014307963,0.008808551,0.0022580815,0.017698476,0.009934202,0.012029539,0.016979687,0.0029650033,-0.0104359975,0.009066231,-0.030731605,0.025713647,-0.009018763,0.02738178,-0.023055485,0.007750712,-0.008089763,-0.012321123,1.02933845E-4,-0.008910267,0.0010629257,-0.006699653,-0.00274462,0.0076150913,-0.027178349,-0.029890759,0.007262478,0.0037363449,0.014443584,0.019922651,-4.51362E-4,0.0015587881,0.013277248,-0.010530932,0.006852226,-0.029212655,0.018227395,0.0034295034,-0.013684109,0.013487459,-0.010632647,-0.016071029,-0.011344655,-0.022892741,0.013595955,0.01752217,0.00248016,0.020614317,-0.006553861,0.006079189,-0.013840072,0.042503465,0.023570843,0.0093985,0.006245324,-0.017956154,-0.009222195,0.002890412,-0.003346436,-0.007852427,-0.0061368276,-0.017020373,-0.0048450422,-0.007560843,-0.004238141,0.01171083,-6.3021155E-4,-0.03433911,0.005655375,0.0060079885,-0.014199466,-0.019054681,3.19132E-4,0.0040584435,0.015786227,-0.025008421,-0.002737839,-0.012483867,0.0073980982,-0.026500246,0.010096947,-0.005045083,0.011527742,0.013914663,-0.018810563,0.017820533,0.0074387845,0.017508607,-0.019732783,0.024533749,-0.0036583631,-0.028995663,0.012789014,0.009425625,0.008510186,-0.034122117,0.020926243,-0.012097348,0.0023513203,-0.020071834,-0.01309416,-0.024289632,-0.013053473,-0.0119346045,0.012938196,-0.013412868,-0.046409335,-0.034420483,-0.0067708534,0.010212224,-0.017278053,-0.011880356,0.010673334,-0.0074252225,0.004061834,0.003644801,-0.17891057,0.0055841743,-0.016505016,-0.017440796,0.011941385,-0.0012985663,0.008700055,-0.006970894,0.0037227827,0.014009598,0.004807747,-0.0011163263,-0.026961356,5.407868E-4,-0.0028683736,0.009588369,-0.015297993,0.0083406605,9.773152E-4,0.027720831,0.017359424,-0.007045485,0.0218349,-0.022404507,0.0014231676,-0.004248312,0.0033210071,0.019814156,0.014009598,-0.0021292418,-0.013731576,0.0042449217,0.0024496454,-0.004095739,0.015962534,0.015338679,5.8232056E-4,-0.002302158,-0.01673557,0.014104532,0.017223803,0.036129303,0.004000805,0.0050043967,-0.015474299,0.010212224,9.400196E-4,-0.014199466,0.016423643,-0.013914663,0.01183967,-0.0038414507,0.00959515,-0.016233774,0.012402495,-0.004312732,-0.014972503,-0.019773468,0.016152402,0.021129675,-0.012056663,-0.022784244,0.024086202,0.004821309,-0.008286413,-0.016315147,-0.016437205,1.6496962E-4,-0.021400915,-0.0052213892,-0.009581588,-0.01740011,0.009798582,-0.02057363,0.0052010464,-0.0036346295,-0.019203864,0.018091775,-0.008116887,-0.033715256,-0.011100538,0.027883576,2.5428843E-4,0.011602334,0.007018361,0.029999254,0.004207626,0.0034159415,0.009940983,-0.010931012,0.0195836,0.002758182,-0.010720801,-0.0051162834,0.03710577,0.008130449,-0.0013604432,0.010666553,0.015081,-0.010551275,4.458524E-4,-0.031518206,-0.021251732,0.004407666,0.019692097,0.007038704,0.002486941,0.017983278,0.013012787,-0.005502802,-0.020695688,0.011229377,0.021862024,0.04239497,0.022702873,0.016952563,-0.0043568085,-0.030216249,0.011480276,-0.009744333,0.039465565,-0.0016316841,-0.007567624,0.021251732,-0.0049704914,-0.032114934,-0.08896705,-0.026974918,0.014674138,0.023014799,-0.008361004,0.035179958,-0.008754304,3.250124E-5,0.009425625,0.023041923,-0.011215815,-0.023245353,-0.013914663,-0.016220212,0.011873575,0.008564435,-0.014321525,0.0024377785,-0.018186709,0.029456774,5.840158E-4,-1.9749736E-4,-0.001230756,-0.035966557,-0.01249743,-0.0023428441,-0.03664466,0.038353477,0.02255369,0.0025055888,0.00105784,-0.020004025,0.032196306,-0.027761517,-0.013161969,-0.0016859324,-0.017495045,-0.008686493,0.020465134,-0.011663363,0.0046416116,0.02308261,-0.008577997,-0.02864305,0.016993249,-0.04206948,-0.0040584435,0.0078795515,-0.00959515,-0.0152437445,-0.0063673826,0.0019292017,-0.027775079,-0.0049331957,0.030487489,0.0024242166,-0.006886131,0.014579204,-0.005238342,0.013982474,-0.0068284925,-0.012605926,-0.0074998136,0.038217857,0.003987243,-0.015854036,-0.023462348,0.0049399766,0.033227023,-0.013378963,-0.014999627,0.019936213,-0.018552884,0.0181189,-0.017454358,0.011873575,-0.02123817,-0.013697671,0.025686523,-0.016152402,-0.027680144,-0.022404507,-6.7598344E-4,-6.0054456E-4,0.024696494,0.0131416265,-0.0013138236,0.0066962624,-7.724011E-5,-0.01632871,-0.0017376377,0.035803813,0.009635837,-0.009161165,-0.009615494,-0.008238945,-0.0047941846,0.0017274661,0.0038855274,-0.006831883,-0.012185502,-0.01560992,-0.0755135,0.011066633,-0.0026293425,-0.009317129,-0.004689079,-0.0054688966,0.008713617,-0.0155421095,-0.004078787,-0.010110509,-0.016233774,0.011263283,-0.016220212,-0.004645002,-0.011222596,-0.010232567,2.1741661E-4,0.012293998,0.011880356,0.016993249,0.029538145,-0.012029539,0.028832918,-0.0022411288,-0.0038617938,0.013548488,-0.012321123,0.018335892,-0.012409276,-0.028860044,0.011385341,-0.034854468,0.00124008,0.02347591,-0.0123889325,0.0042211884,-0.0036346295,0.014904693,0.011093757,0.00786599,-0.02342166,-0.017671352,-0.0063606016,-0.0050416924,0.0018613914,0.00601816,-0.008856019,5.7935383E-4,0.0059096636,0.0010603828,0.016179526,0.02579502,-0.0031938627,-0.0022241762,-0.013324714,-0.029131284,0.019868404,-0.0095341215,0.0053943056,-0.0070726094,0.034935843,0.021129675,0.011344655,-0.0195836,0.006523346,-0.018159585,-0.011215815,0.00794058,0.010361406,-0.026486684,-0.019610725,0.009025545,-9.39172E-4,0.015067438,0.009622275,0.011303969,-0.010686896,0.019203864,-0.0061944663,0.030514613,0.009120479,-0.004546677,-0.024045516,0.019108929,0.024859238,0.003763469,-0.018905498,-2.703934E-4,-0.028263312,0.0080355145,-0.011982071,-0.0031803008,3.7189684E-4,3.5324902E-4,0.012409276,0.017020373,0.0043805423,-0.0015426832,0.0039838525,0.018891936,-0.006760682,-0.010273253,-0.0046924693,-0.007045485,-0.00806942,0.020560069,-0.0558214,-0.03379663,-0.019407295,0.02414045,0.0012841566,-0.0061436086,0.024601558,0.014538518,-0.02011252,0.026242567,-0.017305177,0.010035917,-0.03227768,0.02785645,0.0033583026,0.025564464,0.040387787,2.4136211E-4,0.015081,-0.007872771,0.015189496,-0.027992072,0.0033447407,0.02050582,-0.0027768298,0.0077100256,-0.023001237,0.003817717,4.912005E-4,-0.00932391,0.007838865,0.027327532,0.0054010865,0.06265667,-2.2949532E-4,-0.008659369,-0.0074862516,-0.014253715,0.017413672,0.0039533377,0.01871563,-0.01078183,-0.006001207,0.017942593,0.0014892826,-0.02136023,-0.0070726094,-0.030406117,-0.008557654,-0.0029599175,0.017915469,-0.020126082,0.004807747,0.017427234,0.014131656,0.037485506,0.0017800191,-0.01560992,-0.009351034,0.022906303,-0.006448755,-0.009493435,-0.010151194,0.01712887,-0.0032243775,-0.025076231,-0.01765779,0.0073709744,-0.027693707,-0.010035917,-0.017237365,-0.00840169,0.008645807,0.0089306105,0.038651843,-0.020248141,0.0025683132,-0.0110395085,-0.0028005634,-0.019054681,-0.009066231,-0.01514881]')) ON CONFLICT (id) DO UPDATE SET content = ('TEXT') , metadata = ('{}')::jsonb , embedding = ('[-0.0071811057,-0.017413672,0.0014172343,-0.0017562856,0.014077408,0.01931236,-0.018688506,-0.00826607,-8.472043E-4,-0.021712843,-9.264576E-4,0.036671784,-0.0034549322,0.004624659,-0.013277248,0.01593541,0.04128288,0.0035634288,0.022729997,-0.03002638,-0.009662961,0.014063846,-0.0055672214,0.006377554,-0.012972101,-0.006238543,0.034962967,-0.021265294,0.0018596961,-0.028100569,0.01071402,-0.01588116,-0.028941415,-0.015623482,-0.038543347,-0.01217194,-0.02294699,-0.010910669,0.015989657,-0.019081805,0.014877569,0.0068623973,-0.0017249233,-0.007282821,-0.009134041,-0.02275712,0.012307561,-0.01581335,-0.0074252225,0.0073845363,0.0038990895,0.022662185,-0.011805764,-0.02546953,-0.003161653,-0.0018122289,-0.011751517,0.020180332,0.005994426,0.008950953,-0.003407465,0.002400483,-0.0019207253,0.012043101,-0.023964142,-0.005709623,-0.0031091,0.026961356,0.012043101,0.013161969,-0.006587766,0.02613407,0.0011612505,6.2851625E-4,0.030433241,0.010700458,-0.002368273,-0.004326294,-0.00390248,0.018729191,0.007927018,-0.035017215,-0.0065742037,0.0076896823,0.016355833,-0.008157574,-7.7303685E-4,0.017345862,-0.012043101,-0.008991639,0.0051705316,0.009961326,0.008842457,0.028263312,-0.008991639,0.011107319,0.0024954171,0.035288453,0.006977675,-0.022743559,0.0071472004,0.030867226,-0.025781458,-0.014606328,-0.015311555,0.0093917195,0.021265294,0.0020190503,0.02956527,-0.008869581,-0.019027557,0.049040373,-0.007242135,-0.015108124,0.016749132,0.008008391,0.00965618,-0.017820533,-0.021292418,-0.012619488,0.007554062,0.006316525,0.024059078,0.009201851,0.030731605,0.003644801,-0.011968509,-0.014714825,0.008849238,0.0071268575,0.0399538,0.020749938,0.010144413,9.832487E-4,-0.030134875,-0.001657113,-0.016111715,0.020085396,-0.03360676,-0.02169928,0.012599145,0.019664973,-0.0052891998,0.004075396,0.0034956185,0.01117513,0.008828895,0.0058452436,-0.0015740455,-0.009188289,0.023299603,-0.013840072,0.0021055082,0.0062283715,0.0068759597,-0.005126455,-0.0059164446,0.015623482,0.0053536193,-0.016708447,9.6544845E-4,0.025211852,0.023014799,-0.018295206,0.0067199958,0.03417637,-0.006330087,0.013202656,0.008422033,-0.012605926,-0.027327532,0.030514613,-0.02169928,0.019027557,-0.030840103,0.020844871,0.006608109,0.013114503,-0.016233774,-0.015257306,-0.01765779,0.01032072,0.017834095,0.010924231,-0.013928225,0.008822113,0.017630665,-0.0038550128,-0.007065828,-0.003392208,0.025700085,0.02845318,0.0125313345,-0.0088628,-0.70435864,-0.01820027,0.0037668594,-0.005763871,0.043886796,0.012863604,0.01825452,0.013311152,-0.011656582,0.008510186,-0.010958137,0.01588116,0.0025954375,-0.0053875246,0.010646209,0.015175934,0.006065627,-0.0068963026,-0.009039107,0.0146877,-0.0053943056,-0.001997012,-3.4180604E-4,0.023163982,0.0132840285,0.0064996127,0.0038007647,-0.015067438,-0.0020275265,0.014497831,-0.02374715,0.0033091402,0.011615896,-0.026798612,0.048335146,0.010388531,-0.01620665,0.0071404194,0.013107722,0.031409707,-0.011385341,-0.009303566,0.019203864,0.0040381006,0.0065979376,0.0028565067,0.010096947,-0.011602334,-0.0083406605,0.0032192916,-6.26821E-4,-0.0042754365,0.0019834498,0.0058181197,0.014755511,0.0016054077,0.019068243,-0.02163147,0.0035837719,0.008639026,-0.0024106544,-0.00429917,-0.027490275,-0.02685286,-0.008076201,0.01448427,-0.00681493,0.006391116,0.032521795,-0.019800594,0.0029836511,0.027110538,-0.02294699,-0.0141859045,0.011982071,0.016694885,0.031518206,-0.024452377,-0.0020563458,0.014538518,-9.26431E-6,-0.0043669804,-0.026608743,-0.0045941444,0.03710577,-0.027964948,-0.03737701,0.0122329695,0.018295206,-0.0012019367,0.0076896823,0.019407295,-0.004716203,-0.020885557,6.347278E-6,0.014918256,-0.006370773,0.011222596,0.010063041,0.0014062151,-0.0041126916,-6.598785E-4,0.013779043,0.013270467,0.017047497,-0.0014918256,-0.010558056,0.017942593,0.040360663,-0.025347471,0.0067301677,-0.010707239,-0.0015689597,-0.009222195,0.0027666583,-0.035342705,0.021916274,0.012653393,0.02315042,-0.014904693,0.012524554,-7.323507E-4,0.0097918,0.0090865735,0.006936989,0.02050582,-0.026866421,-0.01839014,-0.016152402,-0.009405281,0.0032260728,-0.009547683,0.03558682,-0.0120905675,0.020777062,-0.0044415714,0.023516595,-0.011798983,0.019203864,-0.016789818,-0.024059078,-0.005238342,0.0076829013,-0.008611902,0.0060520647,-0.033444017,-0.02466937,-3.466799E-4,-0.007235354,0.0042652646,-0.0123889325,-0.011107319,0.008150792,0.017901907,0.012958539,-0.03688878,-0.0022021378,-0.0125381155,-0.0037363449,-0.019922651,-0.0033701696,0.021916274,-0.008808551,7.895656E-4,-0.011676925,-0.03146396,-0.005719795,0.019461542,-0.0020851651,-0.026812173,0.006638624,-0.011893918,-0.014918256,-3.888494E-4,-0.01025291,0.018457951,0.0025377986,-0.0110395085,0.025293224,-0.016491452,-0.0135823935,-0.004770451,-0.010964918,-0.007296383,0.019285236,0.0032515016,0.003519352,0.04413091,-0.013067035,0.0036075055,-0.0039668996,-0.016382957,-0.018023964,0.025971327,0.011276845,0.0207635,-0.006852226,0.0057604806,0.0018020574,-0.0031074048,0.029836511,-0.009968107,0.019814156,0.006706434,0.0032040344,-0.039194327,-0.01032072,-0.03471885,0.025388159,0.010313939,0.015433613,-0.029538145,-0.021794215,0.013006006,0.019556476,0.021129675,-0.02294699,0.0056723277,-0.0077710547,-0.014131656,0.0031497863,-0.007872771,0.021658594,-0.02613407,-0.01560992,0.012490648,0.023123296,0.029185532,-0.0053773527,-0.018159585,-0.01752217,-0.0013019568,0.007757493,-0.01025291,-0.008957734,0.022838492,0.01898687,-0.021862024,0.03802799,0.014118094,-0.0045127724,0.030460365,0.016396519,-0.01276867,0.005801167,-0.006163952,0.029809386,-1.443087E-4,-0.00926288,-0.0063606016,0.004078787,0.0076015294,-0.022865618,-0.004868776,0.018539323,-0.007954142,0.0111141,0.028100569,0.021346668,0.020071834,0.014402897,0.0041635493,0.009710428,0.010096947,0.01740011,5.1451026E-4,0.0040211477,-0.021061864,-0.0104427785,0.013575613,-0.01779341,-0.014457146,0.027598772,-0.021075426,0.021400915,0.011778641,0.006767463,-0.0026513808,0.011331093,-0.008754304,-0.007628653,-0.016586388,0.022526566,0.021075426,-0.0017122088,-0.007296383,-0.031925067,-0.003036204,9.264576E-4,-0.008469501,0.0010078299,0.0019173349,0.021455163,-0.007988048,0.017088184,0.012422838,0.022011207,-0.014674138,-0.0060757985,-1.8457102E-4,0.012029539,0.017874783,0.007052266,-0.009886734,0.02216039,-0.0068759597,-0.0043432466,-0.01038175,-0.0072014485,-0.0059300065,0.012890729,-0.0025649227,0.0013239952,-0.018932622,0.0019614114,0.0063199154,-0.013873978,-0.016165964,0.015976096,0.006357211,-0.008584778,-0.019678535,-0.01032072,0.010144413,0.024316756,0.03591231,5.3993915E-4,0.006920036,-0.013534926,-0.0022190905,-0.01700681,-0.024167573,-0.01032072,-0.007533719,0.009032326,0.0073641934,0.012938196,-0.004651783,0.0077235876,-0.008055857,-0.0027497057,-0.01593541,0.0023462346,-0.015637044,0.004180502,0.0033616931,0.025279662,0.014430022,-0.0038855274,-0.0279107,0.010042698,0.0218349,0.020804185,-0.039519813,-0.012789014,0.012029539,0.0036753155,-0.004973882,-0.008923829,-1.5532786E-4,0.0060351123,-0.0055773933,0.013765481,-0.0060045975,0.01608459,0.019285236,-3.136224E-4,-0.006991237,0.0010569923,-0.011283626,-0.008049076,0.02970089,-0.013222999,-0.019990463,0.013087379,0.0060351123,-0.008639026,-0.0077303685,0.0021902712,0.010727582,-0.01792903,0.008550873,-0.006231762,-0.03249467,-6.8191683E-4,-0.027083414,0.0049094623,-0.014918256,-0.02150941,-0.023530157,-0.003777031,-0.0033210071,-0.014904693,0.006984456,3.8906132E-4,-0.005390915,-0.003929604,0.012870385,0.034691725,0.0048789475,0.01825452,-0.012205846,-0.01078183,0.02202477,-0.016464328,-0.014131656,0.006323306,-0.016396519,-0.010876765,0.0072556967,0.005750309,-0.016518578,0.013345057,0.019610725,8.5144246E-4,-0.009710428,0.0055536595,-0.023896333,0.00555705,0.0015969314,0.0076083103,-0.0037193922,-0.0054926304,-0.014538518,-0.026690114,-0.026079822,0.008923829,0.003248111,0.025523778,-7.768512E-4,-0.010293596,0.054139704,-0.0101308515,-1.1050952E-4,-0.0065911566,0.0066589667,9.763617E-5,0.011337874,-0.0069030835,0.011670144,-0.0014409678,0.008191478,-0.0031006238,-0.02639175,0.015718415,-0.03862472,0.021116111,0.030731605,-0.0074116606,0.01025291,0.004478867,-0.014213028,0.009669742,0.0019003823,0.0028548115,0.008496624,-0.0031413098,0.004268655,-0.02645956,-0.014864007,-0.018037526,0.019325921,0.0081779165,-0.0024598169,7.7557977E-4,0.0023208058,0.006099532,-0.027124101,-9.578198E-4,-0.035830937,0.012605926,0.010490246,0.013928225,0.04301882,-0.0031921675,0.010632647,0.0110462895,-0.013365401,-0.013901101,-0.03870609,-0.013406087,-0.021129675,0.03265742,0.005418039,0.031491082,-1.0023203E-4,0.0050789877,0.005987645,-0.013704452,0.013412868,0.007947361,-0.0030667186,-0.03650904,-0.0013909577,0.017901907,0.009310348,0.011405684,-0.010069822,7.2514586E-4,0.0014096056,-3.2061533E-4,0.003307445,-0.006146999,-0.002785306,-0.0150945615,-0.006363992,0.012544896,0.0076489965,-0.022770682,-0.007845646,0.015623482,0.010463121,0.0057909954,-0.0071675438,0.019475104,-0.011900699,0.0037329544,-0.013528145,-0.0025632274,-0.0068691783,-0.0053163236,-0.012002414,0.005974083,0.023489472,0.0035566476,-0.006391116,-0.019963337,0.0055943457,-0.010666553,8.124516E-4,-0.014579204,-0.023326727,-0.010591961,-0.009452749,-0.033959374,-0.007852427,-0.013053473,-0.0252661,-1.0033798E-4,0.022770682,-0.02110255,0.0207635,-0.0057299663,-0.014619891,0.002824297,-0.005865587,0.026161196,-0.004478867,0.026974918,0.024981296,-0.006998018,-0.0173323,0.012673736,-0.014457146,-0.025523778,0.026568057,-0.0054316013,0.0067505105,0.008984858,0.018403701,0.020017587,-0.015582796,-0.019678535,0.010598742,0.020804185,-0.010090166,-0.019746345,-0.012646612,-0.039519813,0.014755511,-0.0059232255,-0.0054383823,-0.0073777554,-0.0027632678,-0.0020749937,0.020560069,-0.01912249,-0.01289751,0.0016291413,-0.011317531,-7.3277456E-4,5.2637706E-4,-0.024642246,0.0012375371,-0.0035668192,0.02091268,-0.02347591,0.013107722,0.012077006,0.011948166,-5.2552944E-4,0.00608597,0.0058045574,0.022892741,-0.0383806,-0.009439187,-0.0028276874,0.0035668192,0.03414924,0.002427607,-0.022906303,-0.017359424,-0.028887168,-0.013609517,0.00555705,0.01659995,-0.0128432615,0.006072408,-0.0076218722,-0.03903158,-0.004458524,-0.017739162,0.0044551333,-0.022106143,-0.025564464,0.008645807,0.024628684,0.01514881,0.0037160018,-0.01871563,0.010341063,0.03935707,-0.014240153,0.0035566476,-0.015759103,0.002090251,-0.015460737,0.020004025,-0.00786599,-0.0074455654,0.018783439,-0.010632647,-0.040035173,-0.007533719,0.00476028,0.012178721,-0.005245123,-0.020668564,0.022458754,-0.012300779,-0.005279028,-0.011073414,-0.014172343,0.022201076,0.012544896,-0.026717238,0.003366779,-0.029863635,-0.0041703302,0.011066633,-0.0010883545,0.008618683,-0.016979687,-0.016423643,-0.018864812,0.010788611,-0.021211047,-0.0037092208,9.7392476E-4,-0.004238141,-0.007031923,3.2400584E-4,-0.008747523,0.0015164068,-0.0031141858,0.005726576,8.891619E-4,0.019217426,-0.015026752,-0.010958137,-0.020858433,0.0012714422,-0.032114934,-0.040821772,-0.011202253,0.023801398,0.005451944,-0.01719668,-0.03121984,0.0027158007,-0.052430887,-0.021970522,0.01560992,9.671437E-4,0.03379663,0.0131348455,-0.012958539,0.023557281,0.004645002,0.03181657,-0.023516595,-0.0128297,0.012680517,-0.013175532,0.0203702,0.011120881,-0.015487862,-0.016260898,0.0129856635,0.016654197,0.010035917,0.0093917195,-0.011154787,0.0017952764,-0.03287441,0.020207455,-0.019285236,0.0077032447,0.0058588055,-0.019353045,-0.017847657,1.2481325E-4,-0.004973882,-0.029483898,-0.00568928,0.004292389,0.0049399766,0.014009598,-0.019407295,-0.00840169,-0.006438583,-0.032467548,0.022309573,0.011737955,-0.013060254,0.018661382,0.0017613713,0.010931012,-0.008577997,0.008571216,-0.023055485,-0.0033583026,0.00701158,-0.018891936,-0.013100941,0.009642618,-0.002686981,-0.019705659,0.00905945,0.013968912,-0.0076489965,0.01600322,0.010069822,0.031138467,-0.033769507,-0.019095367,-0.009886734,-2.0004025E-4,-0.0029378792,0.00826607,-3.765588E-4,-0.021183923,0.0011756602,0.01765779,-0.012375371,0.0064928317,-0.0042449217,0.015040314,-0.005106112,0.031708073,0.21037452,-0.009642618,0.01032072,0.023448786,0.0045026005,-0.0030921474,0.019664973,-0.003797374,-0.014199466,0.008225383,-0.015081,0.0064521455,-5.6833465E-4,0.0018800392,0.019542914,-0.0125313345,-0.016369395,-0.010591961,-0.02434388,-0.0362378,0.0022411288,-0.019475104,-0.016572826,-8.429662E-4,0.021251732,-0.0035837719,-0.008889924,0.002598828,0.028914291,-0.0076150913,-0.028588802,-0.007574405,0.014199466,0.0033599979,-0.016518578,0.021726405,0.0045398963,-0.0047060316,0.011846451,-4.30807E-4,0.008388128,-0.0037431258,-0.0061300467,-0.03743126,0.0030192514,0.012273655,-0.016071029,-0.026961356,-0.02268931,0.005641813,-0.014307963,0.008808551,0.0022580815,0.017698476,0.009934202,0.012029539,0.016979687,0.0029650033,-0.0104359975,0.009066231,-0.030731605,0.025713647,-0.009018763,0.02738178,-0.023055485,0.007750712,-0.008089763,-0.012321123,1.02933845E-4,-0.008910267,0.0010629257,-0.006699653,-0.00274462,0.0076150913,-0.027178349,-0.029890759,0.007262478,0.0037363449,0.014443584,0.019922651,-4.51362E-4,0.0015587881,0.013277248,-0.010530932,0.006852226,-0.029212655,0.018227395,0.0034295034,-0.013684109,0.013487459,-0.010632647,-0.016071029,-0.011344655,-0.022892741,0.013595955,0.01752217,0.00248016,0.020614317,-0.006553861,0.006079189,-0.013840072,0.042503465,0.023570843,0.0093985,0.006245324,-0.017956154,-0.009222195,0.002890412,-0.003346436,-0.007852427,-0.0061368276,-0.017020373,-0.0048450422,-0.007560843,-0.004238141,0.01171083,-6.3021155E-4,-0.03433911,0.005655375,0.0060079885,-0.014199466,-0.019054681,3.19132E-4,0.0040584435,0.015786227,-0.025008421,-0.002737839,-0.012483867,0.0073980982,-0.026500246,0.010096947,-0.005045083,0.011527742,0.013914663,-0.018810563,0.017820533,0.0074387845,0.017508607,-0.019732783,0.024533749,-0.0036583631,-0.028995663,0.012789014,0.009425625,0.008510186,-0.034122117,0.020926243,-0.012097348,0.0023513203,-0.020071834,-0.01309416,-0.024289632,-0.013053473,-0.0119346045,0.012938196,-0.013412868,-0.046409335,-0.034420483,-0.0067708534,0.010212224,-0.017278053,-0.011880356,0.010673334,-0.0074252225,0.004061834,0.003644801,-0.17891057,0.0055841743,-0.016505016,-0.017440796,0.011941385,-0.0012985663,0.008700055,-0.006970894,0.0037227827,0.014009598,0.004807747,-0.0011163263,-0.026961356,5.407868E-4,-0.0028683736,0.009588369,-0.015297993,0.0083406605,9.773152E-4,0.027720831,0.017359424,-0.007045485,0.0218349,-0.022404507,0.0014231676,-0.004248312,0.0033210071,0.019814156,0.014009598,-0.0021292418,-0.013731576,0.0042449217,0.0024496454,-0.004095739,0.015962534,0.015338679,5.8232056E-4,-0.002302158,-0.01673557,0.014104532,0.017223803,0.036129303,0.004000805,0.0050043967,-0.015474299,0.010212224,9.400196E-4,-0.014199466,0.016423643,-0.013914663,0.01183967,-0.0038414507,0.00959515,-0.016233774,0.012402495,-0.004312732,-0.014972503,-0.019773468,0.016152402,0.021129675,-0.012056663,-0.022784244,0.024086202,0.004821309,-0.008286413,-0.016315147,-0.016437205,1.6496962E-4,-0.021400915,-0.0052213892,-0.009581588,-0.01740011,0.009798582,-0.02057363,0.0052010464,-0.0036346295,-0.019203864,0.018091775,-0.008116887,-0.033715256,-0.011100538,0.027883576,2.5428843E-4,0.011602334,0.007018361,0.029999254,0.004207626,0.0034159415,0.009940983,-0.010931012,0.0195836,0.002758182,-0.010720801,-0.0051162834,0.03710577,0.008130449,-0.0013604432,0.010666553,0.015081,-0.010551275,4.458524E-4,-0.031518206,-0.021251732,0.004407666,0.019692097,0.007038704,0.002486941,0.017983278,0.013012787,-0.005502802,-0.020695688,0.011229377,0.021862024,0.04239497,0.022702873,0.016952563,-0.0043568085,-0.030216249,0.011480276,-0.009744333,0.039465565,-0.0016316841,-0.007567624,0.021251732,-0.0049704914,-0.032114934,-0.08896705,-0.026974918,0.014674138,0.023014799,-0.008361004,0.035179958,-0.008754304,3.250124E-5,0.009425625,0.023041923,-0.011215815,-0.023245353,-0.013914663,-0.016220212,0.011873575,0.008564435,-0.014321525,0.0024377785,-0.018186709,0.029456774,5.840158E-4,-1.9749736E-4,-0.001230756,-0.035966557,-0.01249743,-0.0023428441,-0.03664466,0.038353477,0.02255369,0.0025055888,0.00105784,-0.020004025,0.032196306,-0.027761517,-0.013161969,-0.0016859324,-0.017495045,-0.008686493,0.020465134,-0.011663363,0.0046416116,0.02308261,-0.008577997,-0.02864305,0.016993249,-0.04206948,-0.0040584435,0.0078795515,-0.00959515,-0.0152437445,-0.0063673826,0.0019292017,-0.027775079,-0.0049331957,0.030487489,0.0024242166,-0.006886131,0.014579204,-0.005238342,0.013982474,-0.0068284925,-0.012605926,-0.0074998136,0.038217857,0.003987243,-0.015854036,-0.023462348,0.0049399766,0.033227023,-0.013378963,-0.014999627,0.019936213,-0.018552884,0.0181189,-0.017454358,0.011873575,-0.02123817,-0.013697671,0.025686523,-0.016152402,-0.027680144,-0.022404507,-6.7598344E-4,-6.0054456E-4,0.024696494,0.0131416265,-0.0013138236,0.0066962624,-7.724011E-5,-0.01632871,-0.0017376377,0.035803813,0.009635837,-0.009161165,-0.009615494,-0.008238945,-0.0047941846,0.0017274661,0.0038855274,-0.006831883,-0.012185502,-0.01560992,-0.0755135,0.011066633,-0.0026293425,-0.009317129,-0.004689079,-0.0054688966,0.008713617,-0.0155421095,-0.004078787,-0.010110509,-0.016233774,0.011263283,-0.016220212,-0.004645002,-0.011222596,-0.010232567,2.1741661E-4,0.012293998,0.011880356,0.016993249,0.029538145,-0.012029539,0.028832918,-0.0022411288,-0.0038617938,0.013548488,-0.012321123,0.018335892,-0.012409276,-0.028860044,0.011385341,-0.034854468,0.00124008,0.02347591,-0.0123889325,0.0042211884,-0.0036346295,0.014904693,0.011093757,0.00786599,-0.02342166,-0.017671352,-0.0063606016,-0.0050416924,0.0018613914,0.00601816,-0.008856019,5.7935383E-4,0.0059096636,0.0010603828,0.016179526,0.02579502,-0.0031938627,-0.0022241762,-0.013324714,-0.029131284,0.019868404,-0.0095341215,0.0053943056,-0.0070726094,0.034935843,0.021129675,0.011344655,-0.0195836,0.006523346,-0.018159585,-0.011215815,0.00794058,0.010361406,-0.026486684,-0.019610725,0.009025545,-9.39172E-4,0.015067438,0.009622275,0.011303969,-0.010686896,0.019203864,-0.0061944663,0.030514613,0.009120479,-0.004546677,-0.024045516,0.019108929,0.024859238,0.003763469,-0.018905498,-2.703934E-4,-0.028263312,0.0080355145,-0.011982071,-0.0031803008,3.7189684E-4,3.5324902E-4,0.012409276,0.017020373,0.0043805423,-0.0015426832,0.0039838525,0.018891936,-0.006760682,-0.010273253,-0.0046924693,-0.007045485,-0.00806942,0.020560069,-0.0558214,-0.03379663,-0.019407295,0.02414045,0.0012841566,-0.0061436086,0.024601558,0.014538518,-0.02011252,0.026242567,-0.017305177,0.010035917,-0.03227768,0.02785645,0.0033583026,0.025564464,0.040387787,2.4136211E-4,0.015081,-0.007872771,0.015189496,-0.027992072,0.0033447407,0.02050582,-0.0027768298,0.0077100256,-0.023001237,0.003817717,4.912005E-4,-0.00932391,0.007838865,0.027327532,0.0054010865,0.06265667,-2.2949532E-4,-0.008659369,-0.0074862516,-0.014253715,0.017413672,0.0039533377,0.01871563,-0.01078183,-0.006001207,0.017942593,0.0014892826,-0.02136023,-0.0070726094,-0.030406117,-0.008557654,-0.0029599175,0.017915469,-0.020126082,0.004807747,0.017427234,0.014131656,0.037485506,0.0017800191,-0.01560992,-0.009351034,0.022906303,-0.006448755,-0.009493435,-0.010151194,0.01712887,-0.0032243775,-0.025076231,-0.01765779,0.0073709744,-0.027693707,-0.010035917,-0.017237365,-0.00840169,0.008645807,0.0089306105,0.038651843,-0.020248141,0.0025683132,-0.0110395085,-0.0028005634,-0.019054681,-0.009066231,-0.01514881]')  was aborted: ERROR: column "id" is of type uuid but expression is of type character varying
  Hint: You will need to rewrite or cast the expression.
  Position: 76  Call getNextException to see other errors in the batch.
	at org.postgresql.jdbc.BatchResultHandler.handleCompletion(BatchResultHandler.java:186)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:590)
	at org.postgresql.jdbc.PgStatement.internalExecuteBatch(PgStatement.java:912)
	at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:936)
	at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1733)
	at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:127)
	at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeBatch(HikariProxyPreparedStatement.java)
	at org.springframework.jdbc.core.JdbcTemplate.lambda$getPreparedStatementCallback$6(JdbcTemplate.java:1609)
	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:658)
	... 23 more
Caused by: org.postgresql.util.PSQLException: ERROR: column "id" is of type uuid but expression is of type character varying
  Hint: You will need to rewrite or cast the expression.
  Position: 76
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:579)
	... 30 more

@jitokim
Copy link
Contributor Author

jitokim commented Jan 24, 2025

@ilayaperumalg
I agree to revert the changes and will fix it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PGVector Should not Force UUID on ID column
2 participants