You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @Anphisa, thank you for this issue.
Due to a missing commit on the catalog the implicit creation of the collection with the db.UserProperties.insert( { userid: "0", age: 20, eyecolor: "brown" } ) statement was still not fixed. This was then wrongfully also part of the rollback due to the incorrect query after.
This should be fixed in #437 but requires some testing as I have moved the commit of the catalog into the commit of the transaction itself.
To temporarily bypass this error from happening, the explicit creation of the collection can be used: db.createCollection(("UserProperties")
This has to be executed between the creation of the namespace and the insertion.
Operating System (Polypheny-DB)
No response
Polypheny-DB Version
339fd10
Affected Areas
DB, UI
Browser
Chrome
Client Operating System
Windows 10
Bug Description
When I use a wrong SQL query on document data, I seem to delete the document data.
Reproduction Steps
This throws an error:
Error:
From line 1, column 15 to line 1, column 32: Object 'userid' not found within 'gavel_doc'
But it also deletes the document data that was added with the MQL code above. At least, it isn't visible via the UI "Data" element anymore.
Expected Behavior
Throw the same error, but keep the data.
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: